Skip to content

Spelling Fixes #28087

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
2 changes: 1 addition & 1 deletion src/Sql/Sql/Advisor/Cmdlet/AdvisorAutoExecuteStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public enum AdvisorAutoExecuteStatus
Enabled,

/// <summary>
/// To explicity disable auto-execute on the current resource for this advisor
/// To explicitly disable auto-execute on the current resource for this advisor
/// </summary>
Disabled,

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

/// <summary>
/// Base class contructor for Advisor REST API Communicators.
/// Base class constructor for Advisor REST API Communicators.
/// </summary>
public AzureSqlAdvisorCommunicatorBase(IAzureContext context)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Sql/Sql/Auditing/DefinitionsCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ public static class DefinitionsCommon
internal static readonly Exception WorkspaceResourceIdParameterException =
new PSArgumentException("Workspace resource id is not provided", "WorkspaceResourceId");
internal static readonly Exception StorageAccountNameParameterException =
new PSArgumentException("Storage acount name is not provided", "StorageAccountName");
new PSArgumentException("Storage account name is not provided", "StorageAccountName");
}
}
2 changes: 1 addition & 1 deletion src/Sql/Sql/Data Sync/Model/AzureSqlSyncGroupModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public AzureSqlSyncGroupModel()
/// </summary>
/// <param name="resourceGroupName">Resource group name</param>
/// <param name="serverName">Server name</param>
/// <param name="databaseName">Databse name</param>
/// <param name="databaseName">Database name</param>
/// <param name="syncGroup">sync group object</param>
public AzureSqlSyncGroupModel(string resourceGroupName, string serverName, string databaseName, SyncGroup syncGroup )
{
Expand Down
2 changes: 1 addition & 1 deletion src/Sql/Sql/Data Sync/Model/AzureSqlSyncMemberModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public AzureSqlSyncMemberModel()
/// </summary>
/// <param name="resourceGroup">Resource group name</param>
/// <param name="serverName">Server name</param>
/// <param name="databaseName">Databse name</param>
/// <param name="databaseName">Database name</param>
/// <param name="syncGroupName">The name of the sync group</param>
/// <param name="syncMember">sync member object</param>
public AzureSqlSyncMemberModel(string resourceGroup, string serverName, string databaseName, string syncGroupName, SyncMember syncMember)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,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
2 changes: 1 addition & 1 deletion src/Sql/Sql/Database/Model/AzureSqlDatabaseModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public class AzureSqlDatabaseModel
public long MaxSizeBytes { get; set; }

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Sql.ManagedInstanceHybridLink.Cmdlet
public abstract class AzureSqlManagedInstanceLinkCmdletBase : AzureSqlCmdletBase<IEnumerable<AzureSqlManagedInstanceLinkModel>, AzureSqlManagedInstanceLinkAdapter>
{
/// <summary>
/// Intializes the model adapter
/// Initializes the model adapter
/// </summary>
/// <returns></returns>
protected override AzureSqlManagedInstanceLinkAdapter InitModelAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public AzureSqlManagedInstanceLinkModel GetManagedInstanceLink(string resourceGr
}

/// <summary>
/// Gets a list of all distributed availiability groups in managed instance
/// Gets a list of all distributed availability groups in managed instance
/// </summary>
/// <param name="resourceGroupName"></param>
/// <param name="instanceName"></param>
Expand Down Expand Up @@ -208,7 +208,7 @@ internal AzureSqlManagedInstanceLinkModel FailoverManagedInstanceLink(AzureSqlMa
/// </summary>
/// <param name="resourceGroupName">Resource group used by the managed instance</param>
/// <param name="instanceName">Name of the managed instance</param>
/// <param name="managedInstanceLink">The management client distributed availiability group response to convert</param>
/// <param name="managedInstanceLink">The management client distributed availability group response to convert</param>
/// <returns>The converted managed instance link model</returns>
private static AzureSqlManagedInstanceLinkModel CreateManagedInstanceLinkModelFromResponse(string resourceGroupName, string instanceName, Management.Sql.Models.DistributedAvailabilityGroup managedInstanceLink)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public abstract class AzureSqlElasticJobAgentCmdletBase<TInputObject> : AzureSql
public override string AgentName { get; set; }

/// <summary>
/// Intializes the model adapter
/// Initializes the model adapter
/// </summary>
/// <returns>The Azure Elastic Job adapter</returns>
protected override AzureSqlElasticJobAdapter InitModelAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.Sql.ElasticJobs.Cmdlet
public abstract class AzureSqlElasticJobCredentialCmdletBase<TInputObject> : AzureSqlElasticJobsCmdletBase<TInputObject, IEnumerable<AzureSqlElasticJobCredentialModel>, AzureSqlElasticJobAdapter>
{
/// <summary>
/// Intialize the job credential adapter
/// Initialize the job credential adapter
/// </summary>
/// <returns>The Azure Elastic Job adapter</returns>
protected override AzureSqlElasticJobAdapter InitModelAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.Sql.ElasticJobs.Cmdlet
public abstract class AzureSqlElasticJobCmdletBase<TInputObject> : AzureSqlElasticJobsCmdletBase<TInputObject, IEnumerable<AzureSqlElasticJobModel>, AzureSqlElasticJobAdapter>
{
/// <summary>
/// Intializes the adapter
/// Initializes the adapter
/// </summary>
/// <returns>The Azure Elastic Job Job adapter</returns>
protected override AzureSqlElasticJobAdapter InitModelAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ protected override IEnumerable<AzureSqlElasticJobExecutionModel> GetEntity()
/// <summary>
/// Generates the model from user input.
/// </summary>
/// <param name="model">This is null since the job execuution doesn't exist yet</param>
/// <param name="model">This is null since the job execution doesn't exist yet</param>
/// <returns>The generated model from user input</returns>
protected override IEnumerable<AzureSqlElasticJobExecutionModel> ApplyUserInputToModel(IEnumerable<AzureSqlElasticJobExecutionModel> model)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.Sql.ElasticJobs.Cmdlet
public abstract class AzureSqlElasticJobStepCmdletBase<TInputObject> : AzureSqlElasticJobsCmdletBase<TInputObject, IEnumerable<AzureSqlElasticJobStepModel>, AzureSqlElasticJobAdapter>
{
/// <summary>
/// Intializes the model adapter
/// Initializes the model adapter
/// </summary>
/// <returns>The Azure SQL Database Agent Job adapter</returns>
protected override AzureSqlElasticJobAdapter InitModelAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ public class SetAzureSqlElasticJobStep : AzureSqlElasticJobStepCmdletBase<AzureS
/// <summary>
/// Gets or sets the retry attempts
/// </summary>
[Parameter(HelpMessage = "The retry attemps")]
[Parameter(HelpMessage = "The retry attempts")]
public int? RetryAttempts { get; set; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Sql.ElasticJobs.Cmdlet.PrivateEndpoint
public abstract class AzureSqlElasticJobPrivateEndpointCmdletBase<TInputObject> : AzureSqlElasticJobsCmdletBase<TInputObject, IEnumerable<AzureSqlElasticJobPrivateEndpointModel>, AzureSqlElasticJobAdapter>
{
/// <summary>
/// Intializes the model adapter
/// Initializes the model adapter
/// </summary>
/// <returns>The Azure Elastic Job adapter</returns>
protected override AzureSqlElasticJobAdapter InitModelAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public abstract class AzureSqlElasticJobTargetCmdletBase<TInputObject> : AzureSq
public virtual SwitchParameter Exclude { get; set; }

/// <summary>
/// Intializes the model adapter
/// Initializes the model adapter
/// </summary>
/// <returns>The Azure Elastic Job Adapter</returns>
protected override AzureSqlElasticJobAdapter InitModelAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace Microsoft.Azure.Commands.Sql.ElasticJobs.Cmdlet
public abstract class AzureSqlElasticJobTargetGroupCmdletBase<TInputObject> : AzureSqlElasticJobsCmdletBase<TInputObject, IEnumerable<AzureSqlElasticJobTargetGroupModel>, AzureSqlElasticJobAdapter>
{
/// <summary>
/// Intializes the model adapter
/// Initializes the model adapter
/// </summary>
/// <returns>The Azure SQL Database Agent adapter</returns>
protected override AzureSqlElasticJobAdapter InitModelAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ private static AzureSqlElasticJobStepModel CreateJobStepModelFromResponse(
/// <summary>
/// Creates an AzureSqlElasticJobStepOutputModel from a JobStep model
/// </summary>
/// <param name="model">The JobStep model repsonse</param>
/// <param name="model">The JobStep model response</param>
/// <returns>An AzureSqlElasticJobStepOutputModel</returns>
private static AzureSqlElasticJobStepOutputModel CreateJobStepOutputModel(JobStep model)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class StopAzureSqlElasticPoolActivity : AzureSqlElasticPoolActivityCmdlet
/// <summary>
/// Gets elastic pool activity
/// </summary>
/// <returns>List of elastic pool activies</returns>
/// <returns>List of elastic pool activities</returns>
protected override IEnumerable<AzureSqlElasticPoolActivityModel> GetEntity()
{
return ModelAdapter.GetElasticPoolActivity(this.ResourceGroupName, this.ServerName, this.ElasticPoolName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ private AzureSqlDatabaseActivityModel CreateDatabaseActivityModelFromResponse(El
}

/// <summary>
/// Converts a ElascitPoolAcitivy model to the powershell model.
/// Converts a ElasticPoolActivity model to the powershell model.
/// </summary>
/// <param name="model">The model from the service</param>
/// <returns>The converted model</returns>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ namespace Microsoft.Azure.Commands.Sql.EndpointCertificate.Cmdlet
public abstract class AzureSqlInstanceEndpointCertificateCmdletBase : AzureSqlCmdletBase<IEnumerable<AzureSqlInstanceEndpointCertificateModel>, AzureSqlInstanceEndpointCertificateAdapter>
{
/// <summary>
/// Intializes the model adapter
/// Initializes the model adapter
/// </summary>
/// <returns></returns>
protected override AzureSqlInstanceEndpointCertificateAdapter InitModelAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ internal ICollection<AzureSqlFailoverGroupModel> ListFailoverGroups(string resou
/// Creates or updates an Azure Sql Database FailoverGroup.
/// </summary>
/// <param name="model">The input parameters for the create/update operation</param>
/// <param name="useV2">Whether to use the V2 function and current model, or the legacy functaion and model</param>
/// <param name="useV2">Whether to use the V2 function and current model, or the legacy function and model</param>
/// <returns>The upserted Azure Sql Database FailoverGroup</returns>
internal AzureSqlFailoverGroupModel UpsertFailoverGroup(AzureSqlFailoverGroupModel model, bool useV2 = false)
{
Expand Down Expand Up @@ -154,7 +154,7 @@ internal AzureSqlFailoverGroupModel UpsertFailoverGroup(AzureSqlFailoverGroupMod
/// Patch updates an Azure Sql Database FailoverGroup.
/// </summary>
/// <param name="model">The input parameters for the create/update operation</param>
/// <param name="useV2">Whether to use the V2 function and current model, or the legacy functaion and model</param>
/// <param name="useV2">Whether to use the V2 function and current model, or the legacy function and model</param>
/// <returns>The upserted Azure Sql Database FailoverGroup</returns>
internal AzureSqlFailoverGroupModel PatchUpdateFailoverGroup(AzureSqlFailoverGroupModel model, bool useV2 = false)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public abstract class AzureSqlServerFirewallRuleCmdletBase : AzureSqlCmdletBase<
public string ServerName { get; set; }

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

/// <summary>
/// Intializes the model adapter
/// Initializes the model adapter
/// </summary>
/// <returns>The server adapter</returns>
protected ImportExportDatabaseAdapter InitModelAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public string SqlServerResourceIdForPrivateLink
}

/// <summary>
/// Intializes the model adapter
/// Initializes the model adapter
/// </summary>
/// <returns>The server adapter</returns>
protected override ImportExportDatabaseAdapter InitModelAdapter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public class NewAzureSqlInstanceFailoverGroup : AzureSqlInstanceFailoverGroupCmd
/// Gets or sets the partner subscription id for Instance Failover Group
/// </summary>
[Parameter(Mandatory = false,
HelpMessage = "The subscription id of the secondary managed instance of the Instance Failover Group needed only for cross-subscrption setup")]
HelpMessage = "The subscription id of the secondary managed instance of the Instance Failover Group needed only for cross-subscription setup")]
[ValidateNotNullOrEmpty]
public string PartnerSubscriptionId { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class SetAzureSqlInstancePool : InstancePoolCmdletBase
public AzureSqlInstancePoolModel InputObject { get; set; }

/// <summary>
/// Gets or sets the azure sql instance pool resource identifer
/// Gets or sets the azure sql instance pool resource identifier
/// </summary>
[Parameter(Mandatory = true,
Position = 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ internal ICollection<AzureSqlInstanceActiveDirectoryOnlyAuthenticationModel> Lis
/// <param name="resourceGroup">The name of the resource group</param>
/// <param name="InstanceName">The name of the Azure Sql Managed Instance</param>
/// <param name="model"></param>
/// <returns>The upserted Azure SQL Managed Insance AD Only Authentication</returns>
/// <returns>The upserted Azure SQL Managed Instance AD Only Authentication</returns>
internal AzureSqlInstanceActiveDirectoryOnlyAuthenticationModel UpsertAzureADOnlyAuthenticaion(string resourceGroup, string InstanceName, AzureSqlInstanceActiveDirectoryOnlyAuthenticationModel model)
{
var resp = Communicator.CreateOrUpdate(resourceGroup, InstanceName, new ManagedInstanceAzureADOnlyAuthentication(azureAdOnlyAuthentication: model.AzureADOnlyAuthentication));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public Management.Sql.Models.ManagedInstanceAzureADOnlyAuthentication CreateOrUp
}

/// <summary>
/// Lists Azure SQL Managed Instance Active Directory only authenctications
/// Lists Azure SQL Managed Instance Active Directory only authentications
/// </summary>
public IEnumerable<Management.Sql.Models.ManagedInstanceAzureADOnlyAuthentication> List(string resourceGroupName, string InstanceName)
{
Expand Down