From bcb87b3f94043c0fa842f8542774f98d59af3dca Mon Sep 17 00:00:00 2001 From: Arie Heinrich Date: Tue, 1 Jul 2025 22:30:15 +0200 Subject: [PATCH] fix spelling --- src/Sql/Sql.Test/ScenarioTests/AdvisorTests.ps1 | 2 +- src/Sql/Sql.Test/ScenarioTests/AuditTests.ps1 | 14 +++++++------- .../ScenarioTests/DataClassificationTests.ps1 | 16 ++++++++-------- .../Sql.Test/ScenarioTests/DataMaskingTests.ps1 | 2 +- .../ScenarioTests/DatabaseActivationTests.ps1 | 4 ++-- .../ScenarioTests/DatabaseBackupTests.ps1 | 4 ++-- .../ScenarioTests/DatabaseCrudStretchTests.ps1 | 2 +- .../ElasticJobPrivateEndpointCrudTests.ps1 | 12 ++++++------ .../ElasticJobTargetGroupCrudTests.ps1 | 2 +- .../ScenarioTests/EndpointCertificateTests.ps1 | 2 +- .../ScenarioTests/InstanceFailoverGroupTests.cs | 4 ++-- .../ScenarioTests/ManagedDatabaseBackupTests.ps1 | 2 +- .../ManagedDatabaseCrudScenarioTests.ps1 | 4 ++-- .../ManagedDatabaseLogReplayScenarioTest.ps1 | 2 +- .../ManagedInstanceCrudScenarioTests.cs | 2 +- .../ManagedInstanceOperationScenarioTests.ps1 | 6 +++--- .../ServerActiveDirectoryAdministratorTest.cs | 2 +- .../ServerConfigurationOptionTests.ps1 | 2 +- .../ScenarioTests/ServerIpv6CrudTests.ps1 | 2 +- .../ServerTrustCertificateTests.ps1 | 10 +++++----- .../ScenarioTests/ServerTrustGroupTests.ps1 | 2 +- .../TransparentDataEncryptionCrudTests.ps1 | 2 +- .../Get-AzStandbyContainerGroupPoolStatus.md | 2 +- .../docs/Get-AzStandbyVMPool.md | 2 +- .../docs/Get-AzStandbyVMPoolStatus.md | 2 +- .../docs/New-AzStandbyVMPool.md | 4 ++-- .../Get-AzStandbyContainerGroupPoolStatus.md | 2 +- .../examples/Get-AzStandbyVMPool.md | 2 +- .../examples/Get-AzStandbyVMPoolStatus.md | 2 +- .../examples/New-AzStandbyVMPool.md | 4 ++-- 30 files changed, 60 insertions(+), 60 deletions(-) diff --git a/src/Sql/Sql.Test/ScenarioTests/AdvisorTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/AdvisorTests.ps1 index 654846b0670f..4c1df5e6bf44 100644 --- a/src/Sql/Sql.Test/ScenarioTests/AdvisorTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/AdvisorTests.ps1 @@ -417,7 +417,7 @@ function ValidateElasticPool($responseAdvisor, $expectedElasticPool) <# .SYNOPSIS Validates properties in Advisor response - Some Advisor properties are volatile and var with DB worload, so we exlude them from validation in tests. + Some Advisor properties are volatile and var with DB workload, so we exclude them from validation in tests. #> function ValidateAdvisorProperties($advisor, $expanded = $false) { diff --git a/src/Sql/Sql.Test/ScenarioTests/AuditTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/AuditTests.ps1 index 50c7f13b5baf..c771f6e78151 100644 --- a/src/Sql/Sql.Test/ScenarioTests/AuditTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/AuditTests.ps1 @@ -890,7 +890,7 @@ function Test-ExtendedAuditOnServer try { - # Enable auditing policy, without speficying a predicate expression, and verify it. + # Enable auditing policy, without specifying a predicate expression, and verify it. Set-AzSqlServerAudit -BlobStorageTargetState Enabled -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountResourceId $params.storageAccountResourceId -AuditActionGroup "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", "FAILED_DATABASE_AUTHENTICATION_GROUP" -RetentionInDays 8 $policy = Get-AzSqlServerAudit -ResourceGroupName $params.rgname -ServerName $params.serverName Assert-AreEqual "Enabled" $policy.BlobStorageTargetState @@ -901,7 +901,7 @@ function Test-ExtendedAuditOnServer Assert-AreEqual "Primary" $policy.StorageKeyType Assert-AreEqual "" $policy.PredicateExpression - # Enable Extended auditing policy, speficying a predicate expression, and verify it. + # Enable Extended auditing policy, specifying a predicate expression, and verify it. Set-AzSqlServerAudit -BlobStorageTargetState Enabled -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountResourceId $params.storageAccountResourceId -AuditActionGroup "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", "FAILED_DATABASE_AUTHENTICATION_GROUP" -RetentionInDays 8 -PredicateExpression "statement <> 'select 1'" $policy = Get-AzSqlServerAudit -ResourceGroupName $params.rgname -ServerName $params.serverName Assert-AreEqual "Enabled" $policy.BlobStorageTargetState @@ -917,7 +917,7 @@ function Test-ExtendedAuditOnServer $policy = Get-AzSqlServerAudit -ResourceGroupName $params.rgname -ServerName $params.serverName Assert-AreEqual "Disabled" $policy.BlobStorageTargetState - # Enable Extended auditing policy, without speficying a predicate expression, and verify it. + # Enable Extended auditing policy, without specifying a predicate expression, and verify it. Set-AzSqlServerAudit -BlobStorageTargetState Enabled -ResourceGroupName $params.rgname -ServerName $params.serverName -StorageAccountResourceId $params.storageAccountResourceId -AuditActionGroup "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", "FAILED_DATABASE_AUTHENTICATION_GROUP" -RetentionInDays 8 $policy = Get-AzSqlServerAudit -ResourceGroupName $params.rgname -ServerName $params.serverName Assert-AreEqual "Enabled" $policy.BlobStorageTargetState @@ -962,7 +962,7 @@ function Test-ExtendedAuditOnDatabase try { - # Enable auditing policy, without speficying a predicate expression, and verify it. + # Enable auditing policy, without specifying a predicate expression, and verify it. Set-AzSqlDatabaseAudit -BlobStorageTargetState Enabled -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountResourceId $params.storageAccountResourceId -AuditActionGroup "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", "FAILED_DATABASE_AUTHENTICATION_GROUP" -RetentionInDays 8 $policy = Get-AzSqlDatabaseAudit -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName Assert-AreEqual "Enabled" $policy.BlobStorageTargetState @@ -973,7 +973,7 @@ function Test-ExtendedAuditOnDatabase Assert-AreEqual "Primary" $policy.StorageKeyType Assert-AreEqual "" $policy.PredicateExpression - # Enable Extended auditing policy, speficying a predicate expression, and verify it. + # Enable Extended auditing policy, specifying a predicate expression, and verify it. Set-AzSqlDatabaseAudit -BlobStorageTargetState Enabled -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountResourceId $params.storageAccountResourceId -AuditActionGroup "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", "FAILED_DATABASE_AUTHENTICATION_GROUP" -RetentionInDays 8 -PredicateExpression "statement <> 'select 1'" $policy = Get-AzSqlDatabaseAudit -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName Assert-AreEqual "Enabled" $policy.BlobStorageTargetState @@ -989,7 +989,7 @@ function Test-ExtendedAuditOnDatabase $policy = Get-AzSqlDatabaseAudit -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName Assert-AreEqual "Disabled" $policy.BlobStorageTargetState - # Enable Extended auditing policy, without speficying a predicate expression, and verify it. + # Enable Extended auditing policy, without specifying a predicate expression, and verify it. Set-AzSqlDatabaseAudit -BlobStorageTargetState Enabled -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -StorageAccountResourceId $params.storageAccountResourceId -AuditActionGroup "SUCCESSFUL_DATABASE_AUTHENTICATION_GROUP", "FAILED_DATABASE_AUTHENTICATION_GROUP" -RetentionInDays 8 $policy = Get-AzSqlDatabaseAudit -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName Assert-AreEqual "Enabled" $policy.BlobStorageTargetState @@ -1457,7 +1457,7 @@ function Test-MSSupportServerAuditingToStorageInVNet <# .SYNOPSIS -Test Database Auditing to storage acount in VNet +Test Database Auditing to storage account in VNet #> function Test-DatabaseAuditingToStorageInVNet { diff --git a/src/Sql/Sql.Test/ScenarioTests/DataClassificationTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/DataClassificationTests.ps1 index 7bf6292e77eb..5fae9867c8bc 100644 --- a/src/Sql/Sql.Test/ScenarioTests/DataClassificationTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/DataClassificationTests.ps1 @@ -539,7 +539,7 @@ function Create-SqlDataClassificationTestEnvironment ($testSuffix, $location = " <# .SYNOPSIS -Tests enable and disable recommdations on columns in a SQL database. +Tests enable and disable recommendations on columns in a SQL database. #> function Test-EnableDisableRecommendationsOnSqlDatabase { @@ -585,7 +585,7 @@ function Test-EnableDisableRecommendationsOnSqlDatabase Assert-NotNullOrEmpty $secondInformationType Assert-NotNullOrEmpty $secondSensitivityLabel - # Disable first two recommdations, second recommdation is disabled using pipeline. + # Disable first two recommendations, second recommendation is disabled using pipeline. Disable-AzSqlDatabaseSensitivityRecommendation -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -SchemaName $firstSchemaName -TableName $firstTableName -ColumnName $firstColumnName Get-AzSqlDatabase -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName | Disable-AzSqlDatabaseSensitivityRecommendation -SchemaName $secondSchemaName -TableName $secondTableName -ColumnName $secondColumnName @@ -596,13 +596,13 @@ function Test-EnableDisableRecommendationsOnSqlDatabase Assert-AreEqual $params.databaseName $recommendations.DatabaseName Assert-AreEqual 2 ($recommendations.SensitivityLabels).count - # Verify disabled recommdations are not part of the new recommdations. + # Verify disabled recommendations are not part of the new recommendations. Assert-AreNotEqual $firstColumnName ($recommendations.SensitivityLabels)[0].ColumnName Assert-AreNotEqual $firstColumnName ($recommendations.SensitivityLabels)[1].ColumnName Assert-AreNotEqual $secondColumnName ($recommendations.SensitivityLabels)[0].ColumnName Assert-AreNotEqual $secondColumnName ($recommendations.SensitivityLabels)[1].ColumnName - # Enable second disabled recommdation. + # Enable second disabled recommendation. Enable-AzSqlDatabaseSensitivityRecommendation -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName -SchemaName $secondSchemaName -TableName $secondTableName -ColumnName $secondColumnName # Get, using pipeline, recommended sensitivity labels, and verify. @@ -612,7 +612,7 @@ function Test-EnableDisableRecommendationsOnSqlDatabase Assert-AreEqual $params.serverName $recommendations.ServerName Assert-AreEqual $params.databaseName $recommendations.DatabaseName - # Verify disabled recommdation is not part of the new recommdations. + # Verify disabled recommendation is not part of the new recommendations. Assert-AreNotEqual $firstColumnName ($recommendations.SensitivityLabels)[0].ColumnName Assert-AreNotEqual $firstColumnName ($recommendations.SensitivityLabels)[1].ColumnName Assert-AreNotEqual $firstColumnName ($recommendations.SensitivityLabels)[2].ColumnName @@ -620,17 +620,17 @@ function Test-EnableDisableRecommendationsOnSqlDatabase # Disable, using pipeline, all recommended columns. Get-AzSqlDatabase -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName | Get-AzSqlDatabaseSensitivityRecommendation | Disable-AzSqlDatabaseSensitivityRecommendation - # Verify no recommdations are retrieved since all are disabled. + # Verify no recommendations are retrieved since all are disabled. $recommendations = Get-AzSqlDatabase -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName | Get-AzSqlDatabaseSensitivityRecommendation Assert-AreEqual $params.rgname $recommendations.ResourceGroupName Assert-AreEqual $params.serverName $recommendations.ServerName Assert-AreEqual $params.databaseName $recommendations.DatabaseName Assert-AreEqual 0 ($recommendations.SensitivityLabels).count - # Enable, using pipeline, second disabled recommdation and verify + # Enable, using pipeline, second disabled recommendation and verify Get-AzSqlDatabase -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName | Enable-AzSqlDatabaseSensitivityRecommendation -SchemaName $secondSchemaName -TableName $secondTableName -ColumnName $secondColumnName - # Verify enabled recommdation is now part of the recommendations. + # Verify enabled recommendation is now part of the recommendations. $recommendations = Get-AzSqlDatabase -ResourceGroupName $params.rgname -ServerName $params.serverName -DatabaseName $params.databaseName | Get-AzSqlDatabaseSensitivityRecommendation Assert-AreEqual $params.rgname $recommendations.ResourceGroupName Assert-AreEqual $params.serverName $recommendations.ServerName diff --git a/src/Sql/Sql.Test/ScenarioTests/DataMaskingTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/DataMaskingTests.ps1 index 9330babc999e..7f9a34a0f15e 100644 --- a/src/Sql/Sql.Test/ScenarioTests/DataMaskingTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/DataMaskingTests.ps1 @@ -295,7 +295,7 @@ function Test-DatabaseDataMaskingTextRuleLifecycle <# .SYNOPSIS -Tests that ilegal values prevent creation of rules +Tests that illegal values prevent creation of rules #> function Test-DatabaseDataMaskingRuleCreationFailures { diff --git a/src/Sql/Sql.Test/ScenarioTests/DatabaseActivationTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/DatabaseActivationTests.ps1 index b475ed2a586e..705c8a394a1d 100644 --- a/src/Sql/Sql.Test/ScenarioTests/DatabaseActivationTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/DatabaseActivationTests.ps1 @@ -14,7 +14,7 @@ <# .SYNOPSIS - Test pasuing and resuming database. + Test pausing and resuming database. #> function Test-DatabasePauseResume { @@ -62,7 +62,7 @@ function Test-DatabasePauseResume <# .SYNOPSIS - Test pasuing and resuming database via piped cmdlets. + Test pausing and resuming database via piped cmdlets. #> function Test-DatabasePauseResumePiped { diff --git a/src/Sql/Sql.Test/ScenarioTests/DatabaseBackupTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/DatabaseBackupTests.ps1 index aaaec8096ac4..23f8ed2a11e0 100644 --- a/src/Sql/Sql.Test/ScenarioTests/DatabaseBackupTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/DatabaseBackupTests.ps1 @@ -243,7 +243,7 @@ function Test-LongTermRetentionV2 # Set the weekly retention on the database so that the first backup gets picked up, for example: # Set-AzSqlDatabaseLongTermRetentionPolicy -ResourceGroup $resourceGroup -ServerName $serverName -DatabaseName $databaseName -WeeklyRetention P1W # Wait about 18 hours until it gets properly copied and you see the backup when run get backups, for example: - # Get-AzSqlDatabaseLongTermRetentionBackup -Location $locationName -ServerName $serverName -DatabaeName $databaseName + # Get-AzSqlDatabaseLongTermRetentionBackup -Location $locationName -ServerName $serverName -DatabaseName $databaseName $resourceGroup = "brandong-test" $locationName = "eastus" $serverName = "brandong-ltr-test" @@ -299,7 +299,7 @@ function Test-LongTermRetentionV2ResourceGroupBased # Set the weekly retention on the database so that the first backup gets picked up, for example: # Set-AzSqlDatabaseLongTermRetentionPolicy -ResourceGroup $resourceGroup -ServerName $serverName -DatabaseName $databaseName -WeeklyRetention P1W # Wait about 18 hours until it gets properly copied and you see the backup when run get backups, for example: - # Get-AzSqlDatabaseLongTermRetentionBackup -Location $locationName -ServerName $serverName -DatabaeName $databaseName -ResourceGroupName $resourceGroup + # Get-AzSqlDatabaseLongTermRetentionBackup -Location $locationName -ServerName $serverName -DatabaseName $databaseName -ResourceGroupName $resourceGroup $resourceGroup = "brandong-test" $locationName = "eastus" $serverName = "brandong-ltr-test" diff --git a/src/Sql/Sql.Test/ScenarioTests/DatabaseCrudStretchTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/DatabaseCrudStretchTests.ps1 index 62cc83117710..b3093a656cf7 100644 --- a/src/Sql/Sql.Test/ScenarioTests/DatabaseCrudStretchTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/DatabaseCrudStretchTests.ps1 @@ -173,7 +173,7 @@ function Test-RemoveDatabaseInternal ($serverVersion, $location = "westcentralu -CollationName "SQL_Latin1_General_CP1_CI_AS" -MaxSizeBytes 250GB -Edition Stretch -RequestedServiceObjectiveName DS100 Assert-AreEqual $databaseName $stretchdb.DatabaseName - # Remove stretch databse + # Remove stretch database Remove-AzSqlDatabase -ResourceGroupName $server.ResourceGroupname -ServerName $server.ServerName -DatabaseName $stretchdb.DatabaseName -Force # Check total number of databases after removal diff --git a/src/Sql/Sql.Test/ScenarioTests/ElasticJobPrivateEndpointCrudTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/ElasticJobPrivateEndpointCrudTests.ps1 index 2d1a50a92107..f1041bcef731 100644 --- a/src/Sql/Sql.Test/ScenarioTests/ElasticJobPrivateEndpointCrudTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/ElasticJobPrivateEndpointCrudTests.ps1 @@ -33,7 +33,7 @@ function Test-CreateJobPrivateEndpoint $pe1 = Get-AzSqlElasticJobPrivateEndpoint -ElasticJobAgentObject $a1 -Name $peName - # valide agent level properties + # valid agent level properties Assert-AreEqual $pe1.ResourceGroupName $a1.ResourceGroupName Assert-AreEqual $pe1.ServerName $a1.ServerName Assert-AreEqual $pe1.AgentName $a1.AgentName @@ -74,7 +74,7 @@ function Test-GetJobPrivateEndpoint # Validate with Default set $pe1 = Get-AzSqlElasticJobPrivateEndpoint -ResourceGroupName $a1.ResourceGroupName -ServerName $a1.ServerName -AgentName $a1.AgentName -Name $peName - ## valide agent level properties + ## valid agent level properties Assert-AreEqual $pe1.ResourceGroupName $a1.ResourceGroupName Assert-AreEqual $pe1.ServerName $a1.ServerName Assert-AreEqual $pe1.AgentName $a1.AgentName @@ -90,7 +90,7 @@ function Test-GetJobPrivateEndpoint # Validate with Parent object $pe1 = Get-AzSqlElasticJobPrivateEndpoint -ElasticJobAgentObject $a1 -Name $peName - ## valide agent level properties + ## valid agent level properties Assert-AreEqual $pe1.ResourceGroupName $a1.ResourceGroupName Assert-AreEqual $pe1.ServerName $a1.ServerName Assert-AreEqual $pe1.AgentName $a1.AgentName @@ -106,7 +106,7 @@ function Test-GetJobPrivateEndpoint # Validate with Piping $pe1 = $a1 | Get-AzSqlElasticJobPrivateEndpoint -Name $peName - ## valide agent level properties + ## valid agent level properties Assert-AreEqual $pe1.ResourceGroupName $a1.ResourceGroupName Assert-AreEqual $pe1.ServerName $a1.ServerName Assert-AreEqual $pe1.AgentName $a1.AgentName @@ -147,7 +147,7 @@ function Test-RemoveJobPrivateEndpoint $pe1 = Get-AzSqlElasticJobPrivateEndpoint -ElasticJobAgentObject $a1 -Name $peName - # valide agent level properties + # valid agent level properties Assert-AreEqual $pe1.ResourceGroupName $a1.ResourceGroupName Assert-AreEqual $pe1.ServerName $a1.ServerName Assert-AreEqual $pe1.AgentName $a1.AgentName @@ -162,7 +162,7 @@ function Test-RemoveJobPrivateEndpoint $pe1 = Remove-AzSqlElasticJobPrivateEndpoint -ElasticJobAgentObject $a1 -Name $peName -Force - # valide agent level properties + # valid agent level properties Assert-AreEqual $pe1.ResourceGroupName $a1.ResourceGroupName Assert-AreEqual $pe1.ServerName $a1.ServerName Assert-AreEqual $pe1.AgentName $a1.AgentName diff --git a/src/Sql/Sql.Test/ScenarioTests/ElasticJobTargetGroupCrudTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/ElasticJobTargetGroupCrudTests.ps1 index dfbed4496cc5..859ef588cc3f 100644 --- a/src/Sql/Sql.Test/ScenarioTests/ElasticJobTargetGroupCrudTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/ElasticJobTargetGroupCrudTests.ps1 @@ -266,7 +266,7 @@ function Test-RemoveTargetGroupWithDefaultParam ($a1) <# .SYNOPSIS - Tests removing a target group with inpuut object + Tests removing a target group with input object .DESCRIPTION SmokeTest #> diff --git a/src/Sql/Sql.Test/ScenarioTests/EndpointCertificateTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/EndpointCertificateTests.ps1 index 007465d986ee..658f7ea955b0 100644 --- a/src/Sql/Sql.Test/ScenarioTests/EndpointCertificateTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/EndpointCertificateTests.ps1 @@ -101,7 +101,7 @@ function Test-EndpointCertificate Assert-NotNull $listCerts Assert-AreEqual $listCerts.Count 2 - # Get non existant cert #1 THROWS (via DeleteByInputObjectParameterSet) + # Get non existent cert #1 THROWS (via DeleteByInputObjectParameterSet) $msgExcGet = "The requested resource of type '" + $endpointCertType + "' with name '" + "INVALID_TYPE" + "' was not found." Assert-Throws { Get-AzSqlInstanceEndpointCertificate -InstanceObject $instance -EndpointType "INVALID_TYPE" } $msgExc diff --git a/src/Sql/Sql.Test/ScenarioTests/InstanceFailoverGroupTests.cs b/src/Sql/Sql.Test/ScenarioTests/InstanceFailoverGroupTests.cs index feeecb132ae4..be037e02bf2c 100644 --- a/src/Sql/Sql.Test/ScenarioTests/InstanceFailoverGroupTests.cs +++ b/src/Sql/Sql.Test/ScenarioTests/InstanceFailoverGroupTests.cs @@ -95,14 +95,14 @@ public void TestSetInstanceFailoverGroup_ManualToAutomaticNoGracePeriod() TestRunner.RunTestScript("Test-SetInstanceFailoverGroup-ManualToAutomaticNoGracePeriod"); } - [Fact(Skip = "Command Swith should be executed on secondary.")] + [Fact(Skip = "Command Switch should be executed on secondary.")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void Test_SwitchInstanceFailoverGroup() { TestRunner.RunTestScript("Test-SwitchInstanceFailoverGroup"); } - [Fact(Skip = "Command Swith should be executed on secondary.")] + [Fact(Skip = "Command Switch should be executed on secondary.")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void Test_SwitchInstanceFailoverGroupAllowDataLoss() { diff --git a/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseBackupTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseBackupTests.ps1 index e5f5dfaa1305..5831cf50f409 100644 --- a/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseBackupTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseBackupTests.ps1 @@ -262,7 +262,7 @@ function Test-ManagedInstanceLongTermRetentionResourceGroupBasedBackup # Set the weekly retention on the database so that the first backup gets picked up, for example: # Set-AzSqlInstanceDatabaseBackupLongTermRetentionPolicy -ResourceGroup $resourceGroup -InstanceName $managedInstanceName -DatabaseName $databaseName -WeeklyRetention P1W # Wait about 18 hours until it gets properly copied and you see the backup when run get backups, for example: - # Get-AzSqlInstanceDatabaseLongTermRetentionBackup -Location $locationName -ServerName $serverName -DatabaeName $databaseName -ResourceGroupName $resourceGroup + # Get-AzSqlInstanceDatabaseLongTermRetentionBackup -Location $locationName -ServerName $serverName -DatabaseName $databaseName -ResourceGroupName $resourceGroup $resourceGroup = "v-sntani-test-mi-rg" $locationName = "westcentralus" $managedInstanceName = "managedinstancearm" diff --git a/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseCrudScenarioTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseCrudScenarioTests.ps1 index b3f242b189c4..83f4b4868175 100644 --- a/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseCrudScenarioTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseCrudScenarioTests.ps1 @@ -193,7 +193,7 @@ function Test-RestoreManagedDatabase $targetManagedDatabaseName = Get-ManagedDatabaseName $pointInTime = (Get-date).AddMinutes(5) - # Once database is created, backup service will automaticly take log backups every 5 minutes. We are waiting 450s to ensure backups are taken to which we can restore. + # Once database is created, backup service will automatically take log backups every 5 minutes. We are waiting 450s to ensure backups are taken to which we can restore. if([Microsoft.Azure.Test.HttpRecorder.HttpMockServer]::Mode -eq "Record"){ Wait-Seconds 450 } @@ -257,7 +257,7 @@ function Test-RestoreDeletedManagedDatabase # Test remove using all parameters Remove-AzSqlInstanceDatabase -ResourceGroupName $rg.ResourceGroupName -InstanceName $managedInstance.ManagedInstanceName -Name $managedDatabaseName -Force - # Wait to stabilaze + # Wait to stabilize Wait-Seconds 60 # Get deleted database diff --git a/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseLogReplayScenarioTest.ps1 b/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseLogReplayScenarioTest.ps1 index ee1ea673ad10..3f41dec2af3e 100644 --- a/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseLogReplayScenarioTest.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/ManagedDatabaseLogReplayScenarioTest.ps1 @@ -135,7 +135,7 @@ function Test-CompleteManagedDatabaseLogReplay -InstanceName $managedInstance ` -Name $managedDatabaseName - # Wait until restore state is Complted - this means restore has completed + # Wait until restore state is Completed - this means restore has completed # $status = $statusResponse.Status if($status -eq $statusCompleted){ diff --git a/src/Sql/Sql.Test/ScenarioTests/ManagedInstanceCrudScenarioTests.cs b/src/Sql/Sql.Test/ScenarioTests/ManagedInstanceCrudScenarioTests.cs index 24acdac90b59..9076eb00672c 100644 --- a/src/Sql/Sql.Test/ScenarioTests/ManagedInstanceCrudScenarioTests.cs +++ b/src/Sql/Sql.Test/ScenarioTests/ManagedInstanceCrudScenarioTests.cs @@ -84,7 +84,7 @@ public void TestCreateUpdateManagedInstanceWithMinimalTlsVersion() TestRunner.RunTestScript("Test-CreateUpdateManagedInstanceWithMinimalTlsVersion"); } - [Fact(Skip = "It is unknow for now how to fix this.")] + [Fact(Skip = "It is unknown for now how to fix this.")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestCreateManagedInstanceWithMaintenanceConfigurationId() { diff --git a/src/Sql/Sql.Test/ScenarioTests/ManagedInstanceOperationScenarioTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/ManagedInstanceOperationScenarioTests.ps1 index 6bb378bae18e..87f4016deb17 100644 --- a/src/Sql/Sql.Test/ScenarioTests/ManagedInstanceOperationScenarioTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/ManagedInstanceOperationScenarioTests.ps1 @@ -41,7 +41,7 @@ function Test-GetManagedInstanceOperation Assert-StartsWith $firstOperation.State "Succeeded" Assert-AreEqual $firstOperation.IsCancellable $false - # Initiate sync update of storage (this operation can not be canceled nor during its execution or after it has finsihed). + # Initiate sync update of storage (this operation can not be canceled nor during its execution or after it has finished). $updatedManagedInstance = Update-ManagedInstanceStorageForTest $rg $managedInstance # Get all operations on managed instance. @@ -96,13 +96,13 @@ function Test-StopManagedInstanceOperation # Get all operations on managed instance. $all = Get-AzSqlInstanceOperation -ResourceGroupName $rg.ResourceGroupName -ManagedInstanceName $managedInstance.ManagedInstanceName - # Wait for second operation to be cancelable, then initate cancel. + # Wait for second operation to be cancelable, then initiate cancel. while($all.Count -ne 2) { $all = Get-AzSqlInstanceOperation -ResourceGroupName $rg.ResourceGroupName -ManagedInstanceName $managedInstance.ManagedInstanceName } $secondOperation = $all | Select-Object -index 1 while($secondOperation.IsCancellable -eq $false) { $secondOperation = Get-AzSqlInstanceOperation -ResourceGroupName $rg.ResourceGroupName -ManagedInstanceName $managedInstance.ManagedInstanceName -Name $secondOperation.Name } Stop-AzSqlInstanceOperation -ResourceGroupName $rg.ResourceGroupName -ManagedInstanceName $managedInstance.ManagedInstanceName -Name $secondOperation.Name -Force - # Wait for second operaiton to be cancelled and verify fields. + # Wait for second operation to be cancelled and verify fields. while($secondOperation.State -ne "Cancelled") { $secondOperation = Get-AzSqlInstanceOperation -ResourceGroupName $rg.ResourceGroupName -ManagedInstanceName $managedInstance.ManagedInstanceName -Name $secondOperation.Name } Assert-AreEqual $secondOperation.OperationFriendlyName "UPDATE MANAGED SERVER" Assert-AreEqual $secondOperation.PercentComplete 100 diff --git a/src/Sql/Sql.Test/ScenarioTests/ServerActiveDirectoryAdministratorTest.cs b/src/Sql/Sql.Test/ScenarioTests/ServerActiveDirectoryAdministratorTest.cs index 580fa630c426..9ca1cde466a9 100644 --- a/src/Sql/Sql.Test/ScenarioTests/ServerActiveDirectoryAdministratorTest.cs +++ b/src/Sql/Sql.Test/ScenarioTests/ServerActiveDirectoryAdministratorTest.cs @@ -26,7 +26,7 @@ public ServerActiveDirectoryAdministratorTest(ITestOutputHelper output) : base(o } - [Fact(Skip = "SQL team hould re-record this test.")] + [Fact(Skip = "SQL team should re-record this test.")] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestServerActiveDirectoryAdministratorCRUD() { diff --git a/src/Sql/Sql.Test/ScenarioTests/ServerConfigurationOptionTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/ServerConfigurationOptionTests.ps1 index 72d944c59098..938415dcb572 100644 --- a/src/Sql/Sql.Test/ScenarioTests/ServerConfigurationOptionTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/ServerConfigurationOptionTests.ps1 @@ -117,7 +117,7 @@ function Test-ServerConfigurationOption Assert-NotNull $configOpts Assert-AreEqual $configOpts.Count 1 - # Get non existant config opt #1 THROWS + # Get non existent config opt #1 THROWS $msgExcGet = "Cannot validate argument on parameter 'Name'." Assert-ThrowsContains { Get-AzSqlServerConfigurationOption -ResourceGroupName $rgName -InstanceName $miName -Name "randomConfigFlag" } $msgExc diff --git a/src/Sql/Sql.Test/ScenarioTests/ServerIpv6CrudTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/ServerIpv6CrudTests.ps1 index 1c5dd9ebbbbe..fbba07da45af 100644 --- a/src/Sql/Sql.Test/ScenarioTests/ServerIpv6CrudTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/ServerIpv6CrudTests.ps1 @@ -175,7 +175,7 @@ function Test-UpdateIpv6FirewallRule Assert-AreEqual $updateIPv6FR.StartIpv6Address $startIpv6Address1 Assert-AreEqual $updateIPv6FR.EndIpv6Address $endIpv6Address1 - # Update an unknow IPv6 Firewall rule + # Update an unknown IPv6 Firewall rule try { $updateUnknowIPv6FR = Set-AzSqlServerIpv6FirewallRule -ResourceGroupName $rg.ResourceGroupName -ServerName $server.ServerName -Ipv6FirewallRuleName "testSetUnknowIpv6FR" -StartIpv6Address $startIpv6Address -EndIpv6Address $endIpv6Address diff --git a/src/Sql/Sql.Test/ScenarioTests/ServerTrustCertificateTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/ServerTrustCertificateTests.ps1 index 26558d4919b2..12481614965e 100644 --- a/src/Sql/Sql.Test/ScenarioTests/ServerTrustCertificateTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/ServerTrustCertificateTests.ps1 @@ -170,15 +170,15 @@ function Test-ServerTrustCertificate Assert-AreEqual $delCert1.Thumbprint $thumbprint1 Assert-AreEqual $delCert1.PublicKey $certVal1 - # Delete non existant cert #1 THROWS (via DeleteByParentObjectParameterSet) + # Delete non existent cert #1 THROWS (via DeleteByParentObjectParameterSet) $msgExcDel = "The requested resource of type '" + $certType + "' with name '" + $certName1 + "' was not found." Assert-Throws { Remove-AzSqlInstanceServerTrustCertificate -InstanceObject $instance -CertificateName $certName1 } $msgExc - # Delete non existant cert #1 THROWS (via DeleteByInputObjectParameterSet) + # Delete non existent cert #1 THROWS (via DeleteByInputObjectParameterSet) $msgExcDel = "The requested resource of type '" + $certType + "' with name '" + $certName1 + "' was not found." Assert-Throws { Remove-AzSqlInstanceServerTrustCertificate -InputObject $getCert1ByInstanceResourceIdParameterSet} $msgExc - # Get non existant cert #1 THROWS (via DeleteByInputObjectParameterSet) + # Get non existent cert #1 THROWS (via DeleteByInputObjectParameterSet) $msgExcGet = "The requested resource of type '" + $certType + "' with name '" + $certName1 + "' was not found." Assert-Throws { Get-AzSqlInstanceServerTrustCertificate -InputObject $getCert1ByInstanceResourceIdParameterSet } $msgExc @@ -253,11 +253,11 @@ function Test-ServerTrustCertificateErrHandling # Delete certificate #1 $delCert1 = Remove-AzSqlInstanceServerTrustCertificate -ResourceGroupName $rgName -InstanceName $miName -CertificateName $certName1 -PassThru Assert-NotNull $delCert1 - # Delete non existant cert #1 THROWS + # Delete non existent cert #1 THROWS $msgExcDel = "The requested resource of type '" + $certType + "' with name '" + $certName1 + "' was not found." Assert-Throws { Remove-AzSqlInstanceServerTrustCertificate -ResourceGroupName $rgName -InstanceName $miName -CertificateName $certName1 } $msgExc - # Get non existant cert #1 THROWS + # Get non existent cert #1 THROWS $msgExcGet = "The requested resource of type '" + $certType + "' with name '" + $certName1 + "' was not found." Assert-Throws { Get-AzSqlInstanceServerTrustCertificate -ResourceGroupName $rgName -InstanceName $miName -CertificateName $certName1 } $msgExc diff --git a/src/Sql/Sql.Test/ScenarioTests/ServerTrustGroupTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/ServerTrustGroupTests.ps1 index 39d314c00bb0..cafcfda8ff0b 100644 --- a/src/Sql/Sql.Test/ScenarioTests/ServerTrustGroupTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/ServerTrustGroupTests.ps1 @@ -48,7 +48,7 @@ function Test-ServerTrustGroup() Assert-AreEqual $serverTrustGroup.TrustScope.Count 1 "Got unexpected trust scope." Assert-AreEqual $serverTrustGroup.GroupMember.Count 3 "Got unexpected number of group members." - # Get Server Trust Group in specified locaiton + # Get Server Trust Group in specified location $serverTrustGroups = Get-AzSqlServerTrustGroup -ResourceGroupName $rg.ResourceGroupName -Location $location Assert-NotNull $serverTrustGroups Assert-AreEqual $serverTrustGroups.Count 1 "Unexpected number of Server Trust Groups in location $location. ($($serverTrustGroups.Count))." diff --git a/src/Sql/Sql.Test/ScenarioTests/TransparentDataEncryptionCrudTests.ps1 b/src/Sql/Sql.Test/ScenarioTests/TransparentDataEncryptionCrudTests.ps1 index 7703de9f694b..2b34068da5b2 100644 --- a/src/Sql/Sql.Test/ScenarioTests/TransparentDataEncryptionCrudTests.ps1 +++ b/src/Sql/Sql.Test/ScenarioTests/TransparentDataEncryptionCrudTests.ps1 @@ -93,7 +93,7 @@ function Test-GetTransparentDataEncryption <# .SYNOPSIS - Tests Getting a server transpagrent data encryption protector + Tests Getting a server transparent data encryption protector #> function Test-GetTransparentDataEncryptionProtector { diff --git a/src/StandbyPool/StandbyPool.Autorest/docs/Get-AzStandbyContainerGroupPoolStatus.md b/src/StandbyPool/StandbyPool.Autorest/docs/Get-AzStandbyContainerGroupPoolStatus.md index be0582e15921..ef41c04c61d0 100644 --- a/src/StandbyPool/StandbyPool.Autorest/docs/Get-AzStandbyContainerGroupPoolStatus.md +++ b/src/StandbyPool/StandbyPool.Autorest/docs/Get-AzStandbyContainerGroupPoolStatus.md @@ -86,7 +86,7 @@ SystemDataLastModifiedByType : Type : Microsoft.StandbyPool/standbyContainerGroupPools/runtimeViews ``` -Above command is getting a runtime veiw of standby container group pool. +Above command is getting a runtime view of standby container group pool. ## PARAMETERS diff --git a/src/StandbyPool/StandbyPool.Autorest/docs/Get-AzStandbyVMPool.md b/src/StandbyPool/StandbyPool.Autorest/docs/Get-AzStandbyVMPool.md index 130d0c320191..6e304b004123 100644 --- a/src/StandbyPool/StandbyPool.Autorest/docs/Get-AzStandbyVMPool.md +++ b/src/StandbyPool/StandbyPool.Autorest/docs/Get-AzStandbyVMPool.md @@ -39,7 +39,7 @@ Get a StandbyVirtualMachinePoolResource ## EXAMPLES -### Example 1: get a standby virutal machine pool +### Example 1: get a standby virtual machine pool ```powershell Get-AzStandbyVMPool ` -SubscriptionId f8da6e30-a9d8-48ab-b05c-3f7fe482e13b ` diff --git a/src/StandbyPool/StandbyPool.Autorest/docs/Get-AzStandbyVMPoolStatus.md b/src/StandbyPool/StandbyPool.Autorest/docs/Get-AzStandbyVMPoolStatus.md index 1a9c89904700..1406808d8f0f 100644 --- a/src/StandbyPool/StandbyPool.Autorest/docs/Get-AzStandbyVMPoolStatus.md +++ b/src/StandbyPool/StandbyPool.Autorest/docs/Get-AzStandbyVMPoolStatus.md @@ -105,7 +105,7 @@ SystemDataLastModifiedByType : Type : Microsoft.StandbyPool/standbyVirtualMachinePools/runtimeViews ``` -Above command is getting a runtime veiw of standby virtual machine pool. +Above command is getting a runtime view of standby virtual machine pool. ## PARAMETERS diff --git a/src/StandbyPool/StandbyPool.Autorest/docs/New-AzStandbyVMPool.md b/src/StandbyPool/StandbyPool.Autorest/docs/New-AzStandbyVMPool.md index cf00e6f9ab94..b27ccaab8a25 100644 --- a/src/StandbyPool/StandbyPool.Autorest/docs/New-AzStandbyVMPool.md +++ b/src/StandbyPool/StandbyPool.Autorest/docs/New-AzStandbyVMPool.md @@ -37,7 +37,7 @@ create a StandbyVirtualMachinePoolResource ## EXAMPLES -### Example 1: Creat a new standby virtual machine pool +### Example 1: Create a new standby virtual machine pool ```powershell New-AzStandbyVMPool ` -Name testPool ` @@ -71,7 +71,7 @@ Type : microsoft.standbypool/standbyvirtualmachinep VirtualMachineState : Running ``` -Above commnand is creating a new standby virtual machine pool +Above command is creating a new standby virtual machine pool ## PARAMETERS diff --git a/src/StandbyPool/StandbyPool.Autorest/examples/Get-AzStandbyContainerGroupPoolStatus.md b/src/StandbyPool/StandbyPool.Autorest/examples/Get-AzStandbyContainerGroupPoolStatus.md index 285667682bcb..e2e6c6a23a94 100644 --- a/src/StandbyPool/StandbyPool.Autorest/examples/Get-AzStandbyContainerGroupPoolStatus.md +++ b/src/StandbyPool/StandbyPool.Autorest/examples/Get-AzStandbyContainerGroupPoolStatus.md @@ -43,4 +43,4 @@ SystemDataLastModifiedByType : Type : Microsoft.StandbyPool/standbyContainerGroupPools/runtimeViews ``` -Above command is getting a runtime veiw of standby container group pool. \ No newline at end of file +Above command is getting a runtime view of standby container group pool. \ No newline at end of file diff --git a/src/StandbyPool/StandbyPool.Autorest/examples/Get-AzStandbyVMPool.md b/src/StandbyPool/StandbyPool.Autorest/examples/Get-AzStandbyVMPool.md index 850e2d7dad27..f1e72d6a7680 100644 --- a/src/StandbyPool/StandbyPool.Autorest/examples/Get-AzStandbyVMPool.md +++ b/src/StandbyPool/StandbyPool.Autorest/examples/Get-AzStandbyVMPool.md @@ -1,4 +1,4 @@ -### Example 1: get a standby virutal machine pool +### Example 1: get a standby virtual machine pool ```powershell Get-AzStandbyVMPool ` -SubscriptionId f8da6e30-a9d8-48ab-b05c-3f7fe482e13b ` diff --git a/src/StandbyPool/StandbyPool.Autorest/examples/Get-AzStandbyVMPoolStatus.md b/src/StandbyPool/StandbyPool.Autorest/examples/Get-AzStandbyVMPoolStatus.md index b285c12b2f77..548da2918e09 100644 --- a/src/StandbyPool/StandbyPool.Autorest/examples/Get-AzStandbyVMPoolStatus.md +++ b/src/StandbyPool/StandbyPool.Autorest/examples/Get-AzStandbyVMPoolStatus.md @@ -62,4 +62,4 @@ SystemDataLastModifiedByType : Type : Microsoft.StandbyPool/standbyVirtualMachinePools/runtimeViews ``` -Above command is getting a runtime veiw of standby virtual machine pool. +Above command is getting a runtime view of standby virtual machine pool. diff --git a/src/StandbyPool/StandbyPool.Autorest/examples/New-AzStandbyVMPool.md b/src/StandbyPool/StandbyPool.Autorest/examples/New-AzStandbyVMPool.md index 4e06f5d07e75..b92185aaf211 100644 --- a/src/StandbyPool/StandbyPool.Autorest/examples/New-AzStandbyVMPool.md +++ b/src/StandbyPool/StandbyPool.Autorest/examples/New-AzStandbyVMPool.md @@ -1,4 +1,4 @@ -### Example 1: Creat a new standby virtual machine pool +### Example 1: Create a new standby virtual machine pool ```powershell New-AzStandbyVMPool ` -Name testPool ` @@ -32,4 +32,4 @@ Type : microsoft.standbypool/standbyvirtualmachinep VirtualMachineState : Running ``` -Above commnand is creating a new standby virtual machine pool +Above command is creating a new standby virtual machine pool