Skip to content

Spelling Fixes #28094

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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/Support/Support.Autorest/test/utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function setupEnv() {
$fileWorkspaceNameSubscription = "test-ps-$testGuid"
$fileWorkspaceNameNoSubscription = "test-ps-$testGuid"

# File workpace names for create file tests
# File workspace names for create file tests
$fileWorkspaceNameSubscriptionForCreate = "test-for-create-ps-$testGuid"
$fileWorkspaceNameNoSubscriptionForCreate = "test-for-create-ps-$testGuid"

Expand Down
2 changes: 1 addition & 1 deletion src/Synapse/Synapse.Autorest/test/common.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function Validate_PrincipalAssignment {

<#
.SYNOPSIS
Gets a kusto database soft delet perios in days parameter
Gets a kusto database soft delete period in days parameter
#>
function Get-Soft-Delete-Period-In-Days
{
Expand Down
2 changes: 1 addition & 1 deletion src/Synapse/Synapse.Test/ScenarioTests/Common.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<#
.SYNOPSIS
Gets a passwrod
Gets a password
#>
function Get-TestPassword
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<#
.SYNOPSIS
Tests end to end scenario of Data Classification on a SQL pool.
TODO: currently ther is no Rank property in SDK model so we
TODO: currently there is no Rank property in SDK model so we
comment some assertions out for now.
#>
function Test-DataClassificationOnSqlPool
Expand Down Expand Up @@ -249,7 +249,7 @@ function Create-SqlDataClassificationTestEnvironment ($testSuffix, $location = "

<#
.SYNOPSIS
Tests enable and disable recommdations on columns in a SQL pool.
Tests enable and disable recommendations on columns in a SQL pool.
#>
function Test-EnableDisableRecommendationsOnSqlPool
{
Expand Down Expand Up @@ -295,7 +295,7 @@ function Test-EnableDisableRecommendationsOnSqlPool
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-AzSynapseSqlPoolSensitivityRecommendation -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName -SqlPoolName $params.sqlPoolName -SchemaName $firstSchemaName -TableName $firstTableName -ColumnName $firstColumnName
Get-AzSynapseSqlPool -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName -SqlPoolName $params.sqlPoolName | Disable-AzSynapseSqlPoolSensitivityRecommendation -SchemaName $secondSchemaName -TableName $secondTableName -ColumnName $secondColumnName

Expand All @@ -306,13 +306,13 @@ function Test-EnableDisableRecommendationsOnSqlPool
Assert-AreEqual $params.sqlPoolName $recommendations.SqlPoolName
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-AzSynapseSqlPoolSensitivityRecommendation -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName -SqlPoolName $params.sqlPoolName -SchemaName $secondSchemaName -TableName $secondTableName -ColumnName $secondColumnName

# Get, using pipeline, recommended sensitivity labels, and verify.
Expand All @@ -322,25 +322,25 @@ function Test-EnableDisableRecommendationsOnSqlPool
Assert-AreEqual $params.workspaceName $recommendations.WorkspaceName
Assert-AreEqual $params.sqlPoolName $recommendations.SqlPoolName

# 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

# Disable, using pipeline, all recommended columns.
Get-AzSynapseSqlPool -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName -SqlPoolName $params.sqlPoolName | Get-AzSynapseSqlPoolSensitivityRecommendation | Disable-AzSynapseSqlPoolSensitivityRecommendation

# Verify no recommdations are retrieved since all are disabled.
# Verify no recommendations are retrieved since all are disabled.
$recommendations = Get-AzSynapseSqlPool -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName -SqlPoolName $params.sqlPoolName | Get-AzSynapseSqlPoolSensitivityRecommendation
Assert-AreEqual $params.rgname $recommendations.ResourceGroupName
Assert-AreEqual $params.workspaceName $recommendations.WorkspaceName
Assert-AreEqual $params.sqlPoolName $recommendations.SqlPoolName
Assert-AreEqual 0 ($recommendations.SensitivityLabels).count

# Enable, using pipeline, second disabled recommdation and verify
# Enable, using pipeline, second disabled recommendation and verify
Get-AzSynapseSqlPool -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName -SqlPoolName $params.sqlPoolName | Enable-AzSynapseSqlPoolSensitivityRecommendation -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-AzSynapseSqlPool -ResourceGroupName $params.rgname -WorkspaceName $params.workspaceName -SqlPoolName $params.sqlPoolName | Get-AzSynapseSqlPoolSensitivityRecommendation
Assert-AreEqual $params.rgname $recommendations.ResourceGroupName
Assert-AreEqual $params.workspaceName $recommendations.WorkspaceName
Expand Down
8 changes: 4 additions & 4 deletions src/Synapse/Synapse/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@

## Version 2.2.0
* Added breaking change message for `-SparkConfigFilePath`. It will be deprecated around the middle of December.
* Updated `New-AzSynapseSparkPool` and `Update-AzSynapseSparkPool` to support for setting spark pool configuration artifact by `-SparkCongifuration`. `-SparkCongifuration` is an alternative of parameter `-SparkConfigFilePath`.
* Updated `New-AzSynapseSparkPool` and `Update-AzSynapseSparkPool` to support for setting spark pool configuration artifact by `-SparkConfiguration`. `-SparkConfiguration` is an alternative of parameter `-SparkConfigFilePath`.

## Version 2.1.0
* Updated `Update-AzSynaspeWorkSpace` and `New-AzSynpaseWorkspace` to support for Workspace Encrytion Managed Identity setting
* Updated `Update-AzSynaspeWorkSpace` and `New-AzSynpaseWorkspace` to support for Workspace Encryption Managed Identity setting

## Version 2.0.0
* [Breaking Change] Updated models of Synapse Link for Azure Sql Database
Expand Down Expand Up @@ -151,7 +151,7 @@
- Added `New-AzSynapseKqlScript` cmdlet
* Updated `New-AzSynapseSqlPool` to support new parameter [-StorageAccountType]
* Updated `Restore-AzSynapseSqlPool` to support new parameter [-Tag] and [-StorageAccountType]
* Renamed parameter FolderName in `Set-AzSynapseSqlScript` to FolderPath and keeped FolderName as alias
* Renamed parameter FolderName in `Set-AzSynapseSqlScript` to FolderPath and keep FolderName as alias
* Updated `Set-AzSynapseNoteBook` and `Set-AzSynapseSparkJobDefinition` to support new parameter [-FolderPath]
* Added cmdlets for Synapse Spark Configuration
- Added `Get-AzSynapseSparkConfiguration` cmdlet
Expand Down Expand Up @@ -219,7 +219,7 @@
* Updated `Set-AzSynapseSqlActiveDirectoryAdministrator` to support for setting SQL Admin by `DisplayName` or by `ObjectId`
* Renamed `Update-AzSynapseWorkspaceKey` to `Enable-AzSynapseWorkspace` to activate a new synapse workspace without `-Activate` parameter
* Added `New-AzSynapseGitRepositoryConfig` cmdlet to create Git repository configuration
* Updated `New-AzSynapseWorkspace` and `Update-AzSynapseWorkspace` to support for connecting a workspace to a Git reposirory
* Updated `New-AzSynapseWorkspace` and `Update-AzSynapseWorkspace` to support for connecting a workspace to a Git repository
- Added parameters `-GitRepositoryType`
* Added support for workspace package
- Added `New-AzSynapseWorkspacePackage` cmdlet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ private void HandleManagedIntegrationRuntime(ManagedIntegrationRuntime integrati
}
else if (string.IsNullOrWhiteSpace(VNetId) ^ string.IsNullOrWhiteSpace(Subnet))
{
// Only one of the two pramaters is set
// Only one of the two parameters is set
throw new PSArgumentException(string.Format(
CultureInfo.InvariantCulture,
Resources.IntegrationRuntimeInvalidVnet),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public override void ExecuteCmdlet()
}
else
{
// List all workspaces in given resource group if avaliable otherwise all workspaces in the subscription
// List all workspaces in given resource group if available otherwise all workspaces in the subscription
WriteObject(SynapseAnalyticsClient.ListWorkspaces(ResourceGroupName).Select(element => new PSSynapseWorkspace(element)), true);
}
}
Expand Down
14 changes: 7 additions & 7 deletions src/Synapse/Synapse/Common/HelpMessages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public static class HelpMessages
Add
Remove
Set
Add means to add user assigned managed identities for workspace, Remove means to remove user assigned managed identities from workspace, Set can be used when you want to add and remove user assigned managed identities at the same time, current identities will be coverd by specified ones.";
Add means to add user assigned managed identities for workspace, Remove means to remove user assigned managed identities from workspace, Set can be used when you want to add and remove user assigned managed identities at the same time, current identities will be covered by specified ones.";

public const string UserAssignedIdentityId = "User assigned managed identity Id for workspace.";

Expand Down Expand Up @@ -218,13 +218,13 @@ public static class HelpMessages

public const string StorageRedundancy = "Storage redundancy of the database.";

public const string BackupResourceGroupName = "The resource group name of bakcup SQL pool object to create from.";
public const string BackupResourceGroupName = "The resource group name of backup SQL pool object to create from.";

public const string BackupWorkspaceName = "The Synapse workspace name of bakcup SQL pool object to create from.";
public const string BackupWorkspaceName = "The Synapse workspace name of backup SQL pool object to create from.";

public const string BackupSqlPoolName = "The name of bakcup SQL pool object to create from.";
public const string BackupSqlPoolName = "The name of backup SQL pool object to create from.";

public const string BackupSqlPoolId = "The resource identifier of bakcup SQL pool object to create from.";
public const string BackupSqlPoolId = "The resource identifier of backup SQL pool object to create from.";

public const string BackupSqlPoolResourceId = "The resource identifier of backup SQL pool object to restore from.";

Expand Down Expand Up @@ -337,7 +337,7 @@ SELECT on dbo.myTable by public

public const string TransparentDataEncryptionState = "The Azure Synapse Analytics Sql Pool Transparent Data Encryption state.";

public const string FirewallRuleName = "The firerwall rule name for the workspace.";
public const string FirewallRuleName = "The firewall rule name for the workspace.";

public const string StartIpAddress = "The start IP address of the firewall rule. Must be IPv4 format.";

Expand Down Expand Up @@ -503,7 +503,7 @@ SELECT on dbo.myTable by public

public const string PreventDataExfiltration = "Indicates whether to prevent data exfiltration.";

public const string LinkedAccessCheckOnTargetResource = "Indicates whther to check linked access on target resource.";
public const string LinkedAccessCheckOnTargetResource = "Indicates whether to check linked access on target resource.";

public const string AllowedAadTenantIdsForLinking = "The allowed AAD tenant IDs for linking.";

Expand Down
6 changes: 3 additions & 3 deletions src/Synapse/Synapse/Common/TaskOutputStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ namespace Microsoft.Azure.Commands.Synapse.Common
{
/// <summary>
/// Task output stream in multithread environment
/// It's the multithread version of WriteOuput/WriterVerbose/WriteError and etc.
/// It's the multithread version of WriteOutput/WriterVerbose/WriteError and etc.
/// </summary>
internal class TaskOutputStream
{
/// <summary>
/// Ouput Stream which store all the output from sub-thread.
/// Output Stream which store all the output from sub-thread.
/// Both the object and exception are the valid output.
/// Key: Output id
/// Value: OutputUnit object which store the output data
/// It's thread safe to access the value even it's a Queue.
/// Don't use ConcurrentQueue for value since it'll cause a huge perfomance downgrade.
/// Don't use ConcurrentQueue for value since it'll cause a huge performance downgrade.
/// </summary>
private ConcurrentDictionary<long, Queue<OutputUnit>> OutputStream;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ private static T Poll<T>(
System.Threading.Thread.Sleep(pollingInMilliseconds);
timeWaitedInMilliSeconds += pollingInMilliseconds;

// TODO: handle retryable excetpion
// TODO: handle retryable exception
job = refresh(job);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,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");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2011,7 +2011,7 @@ selfHosted.LinkedInfo is LinkedIntegrationRuntimeKeyAuthorization
}
}

// Don't support get status for legacy integraiton runtime.
// Don't support get status for legacy integration runtime.
throw new PSInvalidOperationException("This type of integration runtime is not supported by this version powershell cmdlets.");
}

Expand Down
18 changes: 9 additions & 9 deletions src/Synapse/Synapse/Properties/Resources.Designer.cs

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

Loading
Loading