Skip to content
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/Migrate/Migrate.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ directive:
subject: ^Job$
set:
subject: LocalReplicationJob
# Hide cmldets used by custom
# Hide cmdlets used by custom
- from: Microsoft.Migrate/preview/2018-09-01-preview/migrate.json
where:
verb: Set$
Expand Down
2 changes: 1 addition & 1 deletion src/Migrate/Migrate.Autorest/custom/Get-AzMigrateJob.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
.Synopsis
Retrieves the status of an Azure Migrate job.
.Description
The Get-AzMigrateJob cmdlet retrives the status of an Azure Migrate job.
The Get-AzMigrateJob cmdlet retrieves the status of an Azure Migrate job.
.Link
https://learn.microsoft.com/powershell/module/az.migrate/get-azmigratejob
#>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
.Synopsis
Retrieves the status of an Azure Migrate job.
.Description
The Get-AzMigrateLocalJob cmdlet retrives the status of an Azure Migrate job.
The Get-AzMigrateLocalJob cmdlet retrieves the status of an Azure Migrate job.
.Link
https://learn.microsoft.com/powershell/module/az.migrate/get-azmigratelocaljob
#>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ function Get-AzMigrateServerMigrationStatus {
$resourceUtilizationTable = $resourceUtilizationTable | Format-Table -AutoSize | Out-String
$op = $output.Add($resourceUtilizationTable)

# <To-do> Add Recomendation actions logic for expedite.
# <To-do> Add Recommendation actions logic for expedite.

Write-Host "Based on the resource utilization seen above following are suggestion you can take to expedite server $($ReplicationMigrationItem.MachineName) migration :" -ForegroundColor White
Write-Host "1. Pause replication for servers S2, S3, in delta sync who are migrating under appliance A1."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function IsReservedOrTrademarked {

$uppercased = $Value.ToUpper();

# cannot be exactly one of these, but could be slighlty differnet (e.g. hololens2)
# cannot be exactly one of these, but could be slightly different (e.g. hololens2)
$reservedWords = @(
"ACCESS",
"APP_CODE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ function Initialize-AzMigrateLocalReplicationInfrastructure {
$cacheStorageAccountName = "migratersa" + $suffix
$cacheStorageAccountId = "/subscriptions/$($SubscriptionId)/resourceGroups/$($ResourceGroupName)/providers/Microsoft.Storage/storageAccounts/$($cacheStorageAccountName)"

# Check if default Cache Storage Account already exists, which it shoudln't
# Check if default Cache Storage Account already exists, which it shouldn't
$cacheStorageAccount = Get-AzStorageAccount `
-ResourceGroupName $ResourceGroupName `
-Name $cacheStorageAccountName `
Expand Down Expand Up @@ -694,7 +694,7 @@ function Initialize-AzMigrateLocalReplicationInfrastructure {
}

if ($null -eq $cacheStorageAccount -or $null -eq $cacheStorageAccount.ProvisioningState) {
throw "Unexpected error occurs during Cache Storgae Account creation process. Please re-run this command or provide -CacheStorageAccountId of the one created own your own."
throw "Unexpected error occurs during Cache Storage Account creation process. Please re-run this command or provide -CacheStorageAccountId of the one created own your own."
}
elseif ($cacheStorageAccount.ProvisioningState -ne [StorageAccountProvisioningState]::Succeeded) {
throw "Cache Storage Account with Id '$($cacheStorageAccount.Id)' times out with Provisioning State: '$($cacheStorageAccount.ProvisioningState)' during creation process. Please remove it manually and re-run this command or contact support if help needed."
Expand All @@ -705,7 +705,7 @@ function Initialize-AzMigrateLocalReplicationInfrastructure {
if ($null -eq $cacheStorageAccount -or
$null -eq $cacheStorageAccount.ProvisioningState -or
$cacheStorageAccount.ProvisioningState -ne [StorageAccountProvisioningState]::Succeeded) {
throw "Unexpected error occurs during Cache Storgae Account selection process. Please re-run this command or contact support if help needed."
throw "Unexpected error occurs during Cache Storage Account selection process. Please re-run this command or contact support if help needed."
}

$params = @{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function New-AzMigrateDiskMapping {
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
[System.String]
# Specifies the disk encyption set to be used.
# Specifies the disk encryption set to be used.
${DiskEncryptionSetID}
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ function New-AzMigrateLocalServerReplication {
}

if ($null -eq $sourceFabric) {
throw "No connected source appliances are found. Kindly deploy an appliance by completing the Discover step of the migration jounery on the source cluster."
throw "No connected source appliances are found. Kindly deploy an appliance by completing the Discover step of the migration journey on the source cluster."
}

if ($null -eq $targetFabric) {
Expand All @@ -291,7 +291,7 @@ function New-AzMigrateLocalServerReplication {
$sourceDras = InvokeAzMigrateGetCommandWithRetries `
-CommandName 'Az.Migrate.Internal\Get-AzMigrateFabricAgent' `
-Parameters @{ FabricName = $sourceFabric.Name; ResourceGroupName = $ResourceGroupName } `
-ErrorMessage "No connected source appliances are found. Kindly deploy an appliance by completing the Discover step of the migration jounery on the source cluster."
-ErrorMessage "No connected source appliances are found. Kindly deploy an appliance by completing the Discover step of the migration journey on the source cluster."

$sourceDra = $sourceDras[0]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ function New-AzMigrateServerReplication {
[Parameter(ParameterSetName = 'ByInputObjectDefaultUser')]
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
[System.String]
# Specifies the disk encyption set to be used.
# Specifies the disk encryption set to be used.
${DiskEncryptionSetID},

[Parameter()]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function Set-AzMigrateLocalServerReplication {
[Parameter()]
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.Migrate.Models.Api20240901.ProtectedItemDynamicMemoryConfig]
# Specifies the dynamic memory configration of RAM.
# Specifies the dynamic memory configuration of RAM.
${DynamicMemoryConfig},

[Parameter()]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ idclab-a360-fareast-corp-micros-86617dcf-effe-59ad-8c3a-cdd3ea7300d3_5029e62c-31
```

Get a server in a migrate project by name.
Name is a unique paramenter for a server.
Name is a unique parameter for a server.

### Example 3: List VMware machines in an appliance
```powershell
Expand Down Expand Up @@ -117,7 +117,7 @@ idclab-a360-fareast-corp-micros-86617dcf-effe-59ad-8c3a-cdd3ea7300d3_5029e62c-31
```

Get a server for an appliance in a project.
Name is a unique paramenter for a server.
Name is a unique parameter for a server.

### Example 5: List and filter VMware machines by display name
```powershell
Expand Down
2 changes: 1 addition & 1 deletion src/Migrate/Migrate.Autorest/docs/Get-AzMigrateJob.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Get-AzMigrateJob -ProjectID <String> -ResourceGroupID <String> [-SubscriptionId
```

## DESCRIPTION
The Get-AzMigrateJob cmdlet retrives the status of an Azure Migrate job.
The Get-AzMigrateJob cmdlet retrieves the status of an Azure Migrate job.

## EXAMPLES

Expand Down
2 changes: 1 addition & 1 deletion src/Migrate/Migrate.Autorest/docs/Get-AzMigrateLocalJob.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Get-AzMigrateLocalJob -ProjectID <String> -ResourceGroupID <String> [-Subscripti
```

## DESCRIPTION
The Get-AzMigrateLocalJob cmdlet retrives the status of an Azure Migrate job.
The Get-AzMigrateLocalJob cmdlet retrieves the status of an Azure Migrate job.

## EXAMPLES

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Type : Microsoft.DataReplication/replicationFabrics

Retrieves all fabrics from a resource group by name.

### Example 4: List all fabircs
### Example 4: List all fabrics
```powershell
Get-AzMigrateLocalReplicationFabric
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Get disks object to provide input for New-AzMigrateServerReplication
## PARAMETERS

### -DiskEncryptionSetID
Specifies the disk encyption set to be used.
Specifies the disk encryption set to be used.

```yaml
Type: System.String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Accept wildcard characters: False
```

### -DiskEncryptionSetID
Specifies the disk encyption set to be used.
Specifies the disk encryption set to be used.

```yaml
Type: System.String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Accept wildcard characters: False
```

### -DynamicMemoryConfig
Specifies the dynamic memory configration of RAM.
Specifies the dynamic memory configuration of RAM.
To construct, see NOTES section for DYNAMICMEMORYCONFIG properties and create a hash table.

```yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Name
idclab-a360-fareast-corp-micros-86617dcf-effe-59ad-8c3a-cdd3ea7300d3_5029e62c-31d2-a6c3-5316-aa39f47c49fc Microsoft.OffAzure/VMwareSites/machines

```
Get a server in a migrate project by name. Name is a unique paramenter for a server.
Get a server in a migrate project by name. Name is a unique parameter for a server.

### Example 3: List VMware machines in an appliance
```powershell
Expand Down Expand Up @@ -66,7 +66,7 @@ Name
idclab-a360-fareast-corp-micros-86617dcf-effe-59ad-8c3a-cdd3ea7300d3_5029e62c-31d2-a6c3-5316-aa39f47c49fc Microsoft.OffAzure/VMwareSites/machines

```
Get a server for an appliance in a project. Name is a unique paramenter for a server.
Get a server for an appliance in a project. Name is a unique parameter for a server.

### Example 5: List and filter VMware machines by display name
```powershell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Type : Microsoft.DataReplication/replicationFabrics

Retrieves all fabrics from a resource group by name.

### Example 4: List all fabircs
### Example 4: List all fabrics
```powershell
Get-AzMigrateLocalReplicationFabric
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ East US 2 test-mongodb-1 5/16/2025 6:03:20 AM [email protected] User
East US 2 test-mongodb-3 5/24/2025 12:14:55 PM [email protected] User 5/24/2025 12:16:00 PM b059abce-70fd-4c8f-a117-96d2192e90e1 Application yashika-rg
```

This command will get all organization details for all resources in a resoure group in a given subscription.
This command will get all organization details for all resources in a resource group in a given subscription.

### Example 2: Get a specific Organization in a Resource Group
```powershell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ East US 2 test-mongodb-1 5/16/2025 6:03:20 AM [email protected] User
East US 2 test-mongodb-3 5/24/2025 12:14:55 PM [email protected] User 5/24/2025 12:16:00 PM b059abce-70fd-4c8f-a117-96d2192e90e1 Application yashika-rg
```

This command will get all organization details for all resources in a resoure group in a given subscription.
This command will get all organization details for all resources in a resource group in a given subscription.

### Example 2: Get a specific Organization in a Resource Group
```powershell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function setupEnv() {
Write-Host -ForegroundColor Green 'Deploying operational insights workspace'
$workspacesName01 = 'monitoringworkspace-' + (RandomString -allChars $false -len 6)
$workspacesName02 = 'monitoringworkspace-' + (RandomString -allChars $false -len 6)
<# Deploy failed, azure portal responsed error message: "statusMessage": "{\"error\":{\"code\":\"InvalidRequestContent\",\"message\":\"The request content was invalid and could not be deserialized: 'Error converting value \\\"insights-jxvq9o\\\" to type 'Microsoft.WindowsAzure.ResourceStack.Frontdoor.Data.Definitions.DeploymentParameterDefinition'. Path 'properties.parameters.workspaces_name', line 5, position 42.'.\"}}",
<# Deploy failed, azure portal responded error message: "statusMessage": "{\"error\":{\"code\":\"InvalidRequestContent\",\"message\":\"The request content was invalid and could not be deserialized: 'Error converting value \\\"insights-jxvq9o\\\" to type 'Microsoft.WindowsAzure.ResourceStack.Frontdoor.Data.Definitions.DeploymentParameterDefinition'. Path 'properties.parameters.workspaces_name', line 5, position 42.'.\"}}",
$workspacesParam = Get-Content .\test\deployment-templates\operational-insightsworkspace\parameters.json | ConvertFrom-Json
$workspacesParam.parameters.workspaces_yemingmonitor_name = 'lucasmonitor'
set-content -Path .\test\deployment-templates\operational-insightsworkspace\parameters.json -Value (ConvertTo-Json $workspacesParam)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ southcentralus pwshdp01 10/13/2023 11:22:54 AM [email protected] User

Get data product resource by data product name.

### Example 2: List all data product resource for a resoure group.
### Example 2: List all data product resource for a resource group.
```powershell
$GetDataProductsForRG = Get-AzNetworkAnalyticsDataProduct -ResourceGroupName "ResourceGroupName"

Expand All @@ -70,7 +70,7 @@ dpinstance3 powershell-test westus Succeeded MCC 2.0.0
dpinstance4 powershell-test uksouth Succeeded MCC 2.0.0 Microsoft [email protected]
```

List all data product resource for a resoure group.
List all data product resource for a resource group.

### Example 3: List all data product resource for a subscription.
```powershell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ southcentralus pwshdp01 10/13/2023 11:22:54 AM [email protected] User
Get data product resource by data product name.


### Example 2: List all data product resource for a resoure group.
### Example 2: List all data product resource for a resource group.

```powershell
$GetDataProductsForRG = Get-AzNetworkAnalyticsDataProduct -ResourceGroupName "ResourceGroupName"
Expand All @@ -30,7 +30,7 @@ dpinstance3 powershell-test westus Succeeded MCC 2.0.0
dpinstance4 powershell-test uksouth Succeeded MCC 2.0.0 Microsoft [email protected]
```

List all data product resource for a resoure group.
List all data product resource for a resource group.


### Example 3: List all data product resource for a subscription.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ $command = @{
arguments = "commandArguments"
}

Invoke-AzNetworkCloudBareMetalMachineDataExtract -BareMetalMachineName bmmName -ResourceGroupName resourcceGroupName -SubscriptionId subscriptionId -Command $command -LimitTimeSecond limitTimeInSeconds -Debug
Invoke-AzNetworkCloudBareMetalMachineDataExtract -BareMetalMachineName bmmName -ResourceGroupName resourceGroupName -SubscriptionId subscriptionId -Command $command -LimitTimeSecond limitTimeInSeconds -Debug
```

This command runs a provided data extraction command on a bare metal machine.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ $tagHash = @{
}
$securePassword = ConvertTo-SecureString "password" -asplaintext -force

New-AzNetworkCloudCluster -ResourceGroupName resourceGroup -Name clusterName -AggregatorOrSingleRackDefinitionNetworkRackId rackId -AggregatorOrSingleRackDefinitionRackSerialNumber sr1234 -AggregatorOrSingleRackDefinitionRackSkuId rackSku -ClusterType clustertype -ClusterVersion clusterversion -ExtendedLocationName CmExtendedLocation -ExtendedLocationType CustomLocation -Location location -NetworkFabricId networkFabricId -SubscriptionId subscriptionId -AggregatorOrSingleRackDefinitionAvailabilityZone avilabilityzone -AggregatorOrSingleRackDefinitionBareMetalMachineConfiguration $baremetalmachineconfigurationdata -AggregatorOrSingleRackDefinitionRackLocation rackLocation -AggregatorOrSingleRackDefinitionStorageApplianceConfiguration $storageapplianceconfigurationdata -AnalyticsWorkspaceId anlyticsWorkSpaceId -ClusterServicePrincipalApplicationId clusterServicePrincipalAppId -ClusterServicePrincipalId ClusterServicePrincipalId -ClusterServicePrincipalPassword $securePassword -ClusterServicePrincipalTenantId tenantId -ComputeRackDefinition $computerackdefinition -Tag $tagHash
New-AzNetworkCloudCluster -ResourceGroupName resourceGroup -Name clusterName -AggregatorOrSingleRackDefinitionNetworkRackId rackId -AggregatorOrSingleRackDefinitionRackSerialNumber sr1234 -AggregatorOrSingleRackDefinitionRackSkuId rackSku -ClusterType clustertype -ClusterVersion clusterversion -ExtendedLocationName CmExtendedLocation -ExtendedLocationType CustomLocation -Location location -NetworkFabricId networkFabricId -SubscriptionId subscriptionId -AggregatorOrSingleRackDefinitionAvailabilityZone availabilityzone -AggregatorOrSingleRackDefinitionBareMetalMachineConfiguration $baremetalmachineconfigurationdata -AggregatorOrSingleRackDefinitionRackLocation rackLocation -AggregatorOrSingleRackDefinitionStorageApplianceConfiguration $storageapplianceconfigurationdata -AnalyticsWorkspaceId analyticsWorkSpaceId -ClusterServicePrincipalApplicationId clusterServicePrincipalAppId -ClusterServicePrincipalId ClusterServicePrincipalId -ClusterServicePrincipalPassword $securePassword -ClusterServicePrincipalTenantId tenantId -ComputeRackDefinition $computerackdefinition -Tag $tagHash
```

```output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Accept wildcard characters: False

### -Ipv4ConnectedPrefix
The IPV4 prefix (CIDR) assigned to this L3 network.
Required when the IP allocation typeis IPV4 or DualStack.
Required when the IP allocation type is IPV4 or DualStack.

```yaml
Type: System.String
Expand All @@ -185,7 +185,7 @@ Accept wildcard characters: False

### -Ipv6ConnectedPrefix
The IPV6 prefix (CIDR) assigned to this L3 network.
Required when the IP allocation typeis IPV6 or DualStack.
Required when the IP allocation type is IPV6 or DualStack.

```yaml
Type: System.String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $tagHash = @{
}
$securePassword = ConvertTo-SecureString "password" -asplaintext -force

New-AzNetworkCloudCluster -ResourceGroupName resourceGroup -Name clusterName -AggregatorOrSingleRackDefinitionNetworkRackId rackId -AggregatorOrSingleRackDefinitionRackSerialNumber sr1234 -AggregatorOrSingleRackDefinitionRackSkuId rackSku -ClusterType clustertype -ClusterVersion clusterversion -ExtendedLocationName CmExtendedLocation -ExtendedLocationType CustomLocation -Location location -NetworkFabricId networkFabricId -SubscriptionId subscriptionId -AggregatorOrSingleRackDefinitionAvailabilityZone avilabilityzone -AggregatorOrSingleRackDefinitionBareMetalMachineConfiguration $baremetalmachineconfigurationdata -AggregatorOrSingleRackDefinitionRackLocation rackLocation -AggregatorOrSingleRackDefinitionStorageApplianceConfiguration $storageapplianceconfigurationdata -AnalyticsWorkspaceId anlyticsWorkSpaceId -ClusterServicePrincipalApplicationId clusterServicePrincipalAppId -ClusterServicePrincipalId ClusterServicePrincipalId -ClusterServicePrincipalPassword $securePassword -ClusterServicePrincipalTenantId tenantId -ComputeRackDefinition $computerackdefinition -Tag $tagHash
New-AzNetworkCloudCluster -ResourceGroupName resourceGroup -Name clusterName -AggregatorOrSingleRackDefinitionNetworkRackId rackId -AggregatorOrSingleRackDefinitionRackSerialNumber sr1234 -AggregatorOrSingleRackDefinitionRackSkuId rackSku -ClusterType clustertype -ClusterVersion clusterversion -ExtendedLocationName CmExtendedLocation -ExtendedLocationType CustomLocation -Location location -NetworkFabricId networkFabricId -SubscriptionId subscriptionId -AggregatorOrSingleRackDefinitionAvailabilityZone availabilityzone -AggregatorOrSingleRackDefinitionBareMetalMachineConfiguration $baremetalmachineconfigurationdata -AggregatorOrSingleRackDefinitionRackLocation rackLocation -AggregatorOrSingleRackDefinitionStorageApplianceConfiguration $storageapplianceconfigurationdata -AnalyticsWorkspaceId analyticsWorkSpaceId -ClusterServicePrincipalApplicationId clusterServicePrincipalAppId -ClusterServicePrincipalId ClusterServicePrincipalId -ClusterServicePrincipalPassword $securePassword -ClusterServicePrincipalTenantId tenantId -ComputeRackDefinition $computerackdefinition -Tag $tagHash
```

```output
Expand Down