Skip to content

Spelling Fixes #28088

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public abstract class AzureSqlServerIpv6FirewallRuleCmdletBase : AzureSqlCmdletB
public string ServerName { get; set; }

/// <summary>
/// Intializes the model adapter
/// Initializes the model adapter
/// </summary>
/// <returns>The server adapter</returns>
protected override AzureSqlServerIpv6FirewallRuleAdapter InitModelAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ protected override AzureSqlDatabaseLedgerDigestUploadModel GetEntity()
}

/// <summary>
/// Intializes the model adapter
/// Initializes the model adapter
/// </summary>
/// <returns>The server adapter</returns>
protected override AzureSqlDatabaseLedgerDigestUploadAdapter InitModelAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private Management.Sql.SqlManagementClient GetCurrentSqlClient()
}

/// <summary>
/// Lazy creation of a single instance of a resoures client
/// Lazy creation of a single instance of a resources client
/// </summary>
private ResourceManagementClient GetCurrentResourcesClient()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class ServerVersionCapabilityModel
public string Status { get; set; }

/// <summary>
/// Gets or sets the list of supported datababase Editions and their capabilities
/// Gets or sets the list of supported database Editions and their capabilities
/// </summary>
public IList<EditionCapabilityModel> SupportedEditions { get; set; }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class ServiceObjectiveCapabilityModel
public string Status { get; set; }

/// <summary>
/// Gets or sets the unique ID of the Service Level Objecive
/// Gets or sets the unique ID of the Service Level Objective
/// </summary>
public Guid? Id { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public abstract class GetMoveCopyAzureSqlManagedDatabaseOperationsBase : AzureSq
[ValidateNotNullOrEmpty]
public MoveCopyManagedDatabaseModel ModelObject { get; set; }

[Parameter(Mandatory = false, HelpMessage = "Return only latest opereation per managed database")]
[Parameter(Mandatory = false, HelpMessage = "Return only latest operation per managed database")]
public SwitchParameter OnlyLatestPerDatabase { get; set; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class AzureSqlManagedDatabaseModel : AzureSqlManagedDatabaseBaseModel
public string Collation { get; set; }

/// <summary>
/// Gets or sets the status of the managed databse
/// Gets or sets the status of the managed database
/// </summary>
public string Status { get; set; }

Expand All @@ -54,7 +54,7 @@ public class AzureSqlManagedDatabaseModel : AzureSqlManagedDatabaseBaseModel
public string DefaultSecondaryLocation { get; set; }

/// <summary>
/// Gets or sets the default catalov collation
/// Gets or sets the default catalog collation
/// </summary>
public string CatalogCollation { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class AzureSqlRecoverableManagedDatabaseModel
public string Name { get; set; }

/// <summary>
/// Gets or sets last availabe backup of the managed database
/// Gets or sets last available backup of the managed database
/// </summary>
public string LastAvailableBackupDate { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ public string GetManagedInstanceLocation(string resourceGroupName, string manage
/// </summary>
/// <param name="resourceGroupName">The resource group the managed instance is in</param>
/// <param name="managedInstanceName">The name of the managed instance</param>
/// <param name="managedDatabaseName">The name of the managed databse</param>
/// <param name="managedDatabaseName">The name of the managed database</param>
/// <returns></returns>
public string GetManagedDatabaseResourceId(string resourceGroupName, string managedInstanceName, string managedDatabaseName)
{
Expand All @@ -171,7 +171,7 @@ public string GetManagedDatabaseResourceId(string resourceGroupName, string mana
/// </summary>
/// <param name="resourceGroupName">The resource group the managed instance is in</param>
/// <param name="managedInstanceName">The name of the managed instance</param>
/// <param name="managedDatabaseName">The name of the managed databse</param>
/// <param name="managedDatabaseName">The name of the managed database</param>
/// <returns></returns>
public string GetDeletedManagedDatabaseResourceId(string resourceGroupName, string managedInstanceName, string managedDatabaseName)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ private Management.Sql.SqlManagementClient GetCurrentSqlClient()
}

/// <summary>
/// Lazy creation of a single instance of a resoures client
/// Lazy creation of a single instance of a resources client
/// </summary>
private ResourceManagementClient GetCurrentResourcesClient()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Sql.ManagedInstance.Cmdlet
public abstract class ManagedInstanceCmdletBase : AzureSqlCmdletBase<IEnumerable<AzureSqlManagedInstanceModel>, AzureSqlManagedInstanceAdapter>
{
/// <summary>
/// Intializes the model adapter
/// Initializes the model adapter
/// </summary>
/// <returns>The server adapter</returns>
protected override AzureSqlManagedInstanceAdapter InitModelAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Sql.ManagedInstance.Cmdlet
public abstract class ManagedInstanceDtcCmdletBase : AzureSqlCmdletBase<AzureSqlManagedInstanceDtcModel, AzureSqlManagedInstanceDtcAdapter>
{
/// <summary>
/// Intializes the model adapter
/// Initializes the model adapter
/// </summary>
/// <returns>The server adapter</returns>
protected override AzureSqlManagedInstanceDtcAdapter InitModelAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ protected override AzureSqlInstanceDatabaseLedgerDigestUploadModel GetEntity()
}

/// <summary>
/// Intializes the model adapter
/// Initializes the model adapter
/// </summary>
/// <returns>The server adapter</returns>
protected override AzureSqlInstanceDatabaseLedgerDigestUploadAdapter InitModelAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ private Management.Sql.SqlManagementClient GetCurrentSqlClient()
}

/// <summary>
/// Lazy creation of a single instance of a resoures client
/// Lazy creation of a single instance of a resources client
/// </summary>
private ResourceManagementClient GetCurrentResourcesClient()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Sql.ManagedInstanceOperation.Cmdlet
public abstract class ManagedInstanceOperationCmdletBase : AzureSqlCmdletBase<IEnumerable<AzureSqlManagedInstanceOperationModel>, AzureSqlManagedInstanceOperationAdapter>
{
/// <summary>
/// Intializes the model adapter
/// Initializes the model adapter
/// </summary>
/// <returns>The server adapter</returns>
protected override AzureSqlManagedInstanceOperationAdapter InitModelAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class NewAzureSqlManagedInstanceSchedule : ManagedInstanceScheduleCmdletB
/// <summary>
/// Gets or sets schedule items
/// </summary>
[Parameter(Mandatory = true, HelpMessage = "Array of valid SheduleItem objects.")]
[Parameter(Mandatory = true, HelpMessage = "Array of valid ScheduleItem objects.")]
public ScheduleItem[] ScheduleList { get; set; }

[Parameter(Mandatory = false, HelpMessage = "The description of the schedule.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public abstract class AzureSqlServerOutboundFirewallRulesCmdletBase : AzureSqlCm
public string ServerName { get; set; }

/// <summary>
/// Intializes the model adapter
/// Initializes the model adapter
/// </summary>
/// <returns>The server adapter</returns>
protected override AzureSqlServerOutboundFirewallRulesAdapter InitModelAdapter()
Expand Down
4 changes: 2 additions & 2 deletions src/Sql/Sql/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/Sql/Sql/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
<value>Are you sure you want to submit request for stopping the operation '{0}' on Azure Sql Managed Instance '{1}'?</value>
</data>
<data name="StopAzureSqlInstanceOperationWarning" xml:space="preserve">
<value>Submiting request for stopping the operation '{0}' on Azure Sql Managed Instance '{1}'.</value>
<value>Submitting request for stopping the operation '{0}' on Azure Sql Managed Instance '{1}'.</value>
</data>
<data name="StorageAccountNotFound" xml:space="preserve">
<value>Cannot find a storage account with the name '{0}'. It either does not exist, associated with a different subscription or you do not have the appropriate credentials to access it.</value>
Expand Down Expand Up @@ -602,7 +602,7 @@
<value>You cannot change hardware family.</value>
</data>
<data name="RemoveAzureSqlInstanceDatabaseLongTermRetentionBackupDescription" xml:space="preserve">
<value>Permanantly removing the Long Term Retention backup '{0}' on database '{1}' on instance '{2}' in location '{3}'?</value>
<value>Permanently removing the Long Term Retention backup '{0}' on database '{1}' on instance '{2}' in location '{3}'?</value>
</data>
<data name="RemoveAzureSqlInstanceDatabaseLongTermRetentionBackupWarning" xml:space="preserve">
<value>Are you sure you want to remove the Long Term Retention backup '{0}' on database '{1}' on instance '{2}' in location '{3}'?</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.Sql.RecommendedAction.Cmdlet
public enum RecommendedActionState
{
/// <summary>
/// To cancel the inititiated recommended action while it's not yet applied, or to un-ignore an ignored recommended action.
/// To cancel the initiated recommended action while it's not yet applied, or to un-ignore an ignored recommended action.
/// </summary>
Active,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class AzureSqlRecommendedActionCommunicatorBase
public IAzureContext Context { get; set; }

/// <summary>
/// Base class contructor for RecommendedAction REST API Communicators.
/// Base class constructor for RecommendedAction REST API Communicators.
/// </summary>
public AzureSqlRecommendedActionCommunicatorBase(IAzureContext context)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ internal string GetServerLocation(string resourceGroupName, string serverName, s
/// <param name="resourceGroupName">The name of the resource group</param>
/// <param name="serverName">The name of the Azure SQL Server</param>
/// <param name="databaseName">The name of the Azure SQL Database</param>
/// <param name="subscriptionId">The subscription id of the Auzre SQL Database</param>
/// <param name="subscriptionId">The subscription id of the Azure SQL Database</param>
/// <returns>The Azure SQL Database object</returns>
internal AzureSqlDatabaseModel GetDatabase(string resourceGroupName, string serverName, string databaseName, string subscriptionId = null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public AzureSqlDatabaseReplicationCommunicator(IAzureContext context)
}

/// <summary>
/// Gets the specified Azure SQL Database replication link with Lagecy sdk
/// Gets the specified Azure SQL Database replication link with Legacy sdk
/// </summary>
public Management.Sql.LegacySdk.Models.ReplicationLink GetLink(string resourceGroupName, string serverName, string databaseName, Guid linkId)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Sql/Sql/Server/Cmdlet/AzureSqlServerCmdletBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ namespace Microsoft.Azure.Commands.Sql.Server.Cmdlet
public abstract class AzureSqlServerCmdletBase : AzureSqlCmdletBase<IEnumerable<AzureSqlServerModel>, AzureSqlServerAdapter>
{
/// <summary>
/// Intializes the model adapter
/// Initializes the model adapter
/// </summary>
/// <returns>The server adapter</returns>
protected override AzureSqlServerAdapter InitModelAdapter()
Expand Down
2 changes: 1 addition & 1 deletion src/Sql/Sql/Server/Services/AzureSqlServerAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ private static AzureSqlServerModel CreateServerModelFromResponse(Management.Sql.

/// <summary>
/// Convert a <see cref="System.Security.SecureString"/> to a plain-text string representation.
/// This should only be used in a proetected context, and must be done in the same logon and process context
/// This should only be used in a protected context, and must be done in the same logon and process context
/// in which the <see cref="System.Security.SecureString"/> was constructed.
/// </summary>
/// <param name="secureString">The encrypted <see cref="System.Security.SecureString"/>.</param>
Expand Down