Skip to content

[main - StorageMover|StorageSync|StreamAnalytics|Subscription|Support] domain name of online doc is changed from docs.microsoft.com to learn.microsoft.com. #20290

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
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/StorageMover/Az.StorageMover.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}

if(-not $accountsModule) {
Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://docs.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://learn.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the StorageMover code is auto-generated, is the autorest tool already updated @dolauli ?
So we need to do any update for https://github.com/Azure/azure-powershell/tree/generation/src/StorageMover?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will update generation branch and AutoRest.PowerShell functions both.

} elseif (($accountsModule.Version -lt [System.Version]'2.7.5') -and (-not $localAccounts)) {
Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to add the switch '-RegenerateSupportModule' when executing 'test-module.ps1'. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
}
Expand Down
2 changes: 1 addition & 1 deletion src/StorageMover/create-model-cmdlets.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Create an in-memory object for ${ObjectType}.
.Outputs
${ObjectTypeWithNamespace}
.Link
https://docs.microsoft.com/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
https://learn.microsoft.com/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
#>
function New-Az${ModulePrefix}${ObjectType}Object {
[OutputType('${ObjectTypeWithNamespace}')]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@


# ----------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -34,7 +34,7 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

.Link
https://docs.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverendpoint
https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverendpoint
#>
function New-AzStorageMoverAzStorageContainerEndpoint {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20220701Preview.IEndpoint])]
Expand Down
4 changes: 2 additions & 2 deletions src/StorageMover/custom/NewAzStorageMoverNfsEndpoint.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@


# ----------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -34,7 +34,7 @@ COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

.Link
https://docs.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverendpoint
https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverendpoint
#>
function New-AzStorageMoverNfsEndpoint {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20220701Preview.IEndpoint])]
Expand Down
2 changes: 1 addition & 1 deletion src/StorageMover/custom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ These provide functionality to our HTTP pipeline and other useful features. In s
### Attributes
For processing the cmdlets, we've created some additional attributes:
- `Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DescriptionAttribute`
- Used in C# cmdlets to provide a high-level description of the cmdlet. This is propagated to reference documentation via [help comments](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) in the exported scripts.
- Used in C# cmdlets to provide a high-level description of the cmdlet. This is propagated to reference documentation via [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) in the exported scripts.
- `Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotExportAttribute`
- Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.StorageMover`.
- `Microsoft.Azure.PowerShell.Cmdlets.StorageMover.InternalExportAttribute`
Expand Down
4 changes: 2 additions & 2 deletions src/StorageMover/custom/RemoveAzStorageMover.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@


# ----------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -42,7 +42,7 @@ INPUTOBJECT<IStorageMoverIdentity>: Identity Parameter
[StorageMoverName<String>]: The name of the Storage Mover resource.
[SubscriptionId<String>]: The ID of the target subscription.
.Link
https://docs.microsoft.com/powershell/module/az.storagemover/remove-azstoragemover
https://learn.microsoft.com/powershell/module/az.storagemover/remove-azstoragemover
#>
function Remove-AzStorageMover {
[OutputType([System.Boolean])]
Expand Down
4 changes: 2 additions & 2 deletions src/StorageMover/custom/UnregisterAzStorageMoverAgent.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@


# ----------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -42,7 +42,7 @@ INPUTOBJECT<IStorageMoverIdentity>: Identity Parameter
[StorageMoverName<String>]: The name of the Storage Mover resource.
[SubscriptionId<String>]: The ID of the target subscription.
.Link
https://docs.microsoft.com/powershell/module/az.storagemover/remove-azstoragemoveragent
https://learn.microsoft.com/powershell/module/az.storagemover/remove-azstoragemoveragent
#>
function Unregister-AzStorageMoverAgent {
[OutputType([System.Boolean])]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@


# ----------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -51,7 +51,7 @@ INPUTOBJECT<IStorageMoverIdentity>: Identity Parameter
[SubscriptionId<String>]: The ID of the target subscription.

.Link
https://docs.microsoft.com/powershell/module/az.storagemover/update-azstoragemoverendpoint
https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoverendpoint
#>
function Update-AzStorageMoverAzStorageContainerEndpoint {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20220701Preview.IEndpoint])]
Expand Down
4 changes: 2 additions & 2 deletions src/StorageMover/custom/UpdateAzStorageMoverNfsEndpoint.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@


# ----------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -51,7 +51,7 @@ INPUTOBJECT<IStorageMoverIdentity>: Identity Parameter
[SubscriptionId<String>]: The ID of the target subscription.

.Link
https://docs.microsoft.com/powershell/module/az.storagemover/update-azstoragemoverendpoint
https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoverendpoint
#>
function Update-AzStorageMoverNfsEndpoint {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20220701Preview.IEndpoint])]
Expand Down
2 changes: 1 addition & 1 deletion src/StorageMover/exports/Get-AzStorageMover.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ INPUTOBJECT <IStorageMoverIdentity>: Identity Parameter
[StorageMoverName <String>]: The name of the Storage Mover resource.
[SubscriptionId <String>]: The ID of the target subscription.
.Link
https://docs.microsoft.com/powershell/module/az.storagemover/get-azstoragemover
https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemover
#>
function Get-AzStorageMover {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20220701Preview.IStorageMover])]
Expand Down
2 changes: 1 addition & 1 deletion src/StorageMover/exports/Get-AzStorageMoverAgent.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ INPUTOBJECT <IStorageMoverIdentity>: Identity Parameter
[StorageMoverName <String>]: The name of the Storage Mover resource.
[SubscriptionId <String>]: The ID of the target subscription.
.Link
https://docs.microsoft.com/powershell/module/az.storagemover/get-azstoragemoveragent
https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemoveragent
#>
function Get-AzStorageMoverAgent {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20220701Preview.IAgent])]
Expand Down
2 changes: 1 addition & 1 deletion src/StorageMover/exports/Get-AzStorageMoverEndpoint.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ INPUTOBJECT <IStorageMoverIdentity>: Identity Parameter
[StorageMoverName <String>]: The name of the Storage Mover resource.
[SubscriptionId <String>]: The ID of the target subscription.
.Link
https://docs.microsoft.com/powershell/module/az.storagemover/get-azstoragemoverendpoint
https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemoverendpoint
#>
function Get-AzStorageMoverEndpoint {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20220701Preview.IEndpoint])]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ INPUTOBJECT <IStorageMoverIdentity>: Identity Parameter
[StorageMoverName <String>]: The name of the Storage Mover resource.
[SubscriptionId <String>]: The ID of the target subscription.
.Link
https://docs.microsoft.com/powershell/module/az.storagemover/get-azstoragemoverjobdefinition
https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemoverjobdefinition
#>
function Get-AzStorageMoverJobDefinition {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20220701Preview.IJobDefinition])]
Expand Down
2 changes: 1 addition & 1 deletion src/StorageMover/exports/Get-AzStorageMoverJobRun.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ INPUTOBJECT <IStorageMoverIdentity>: Identity Parameter
[StorageMoverName <String>]: The name of the Storage Mover resource.
[SubscriptionId <String>]: The ID of the target subscription.
.Link
https://docs.microsoft.com/powershell/module/az.storagemover/get-azstoragemoverjobrun
https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemoverjobrun
#>
function Get-AzStorageMoverJobRun {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20220701Preview.IJobRun])]
Expand Down
2 changes: 1 addition & 1 deletion src/StorageMover/exports/Get-AzStorageMoverProject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ INPUTOBJECT <IStorageMoverIdentity>: Identity Parameter
[StorageMoverName <String>]: The name of the Storage Mover resource.
[SubscriptionId <String>]: The ID of the target subscription.
.Link
https://docs.microsoft.com/powershell/module/az.storagemover/get-azstoragemoverproject
https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemoverproject
#>
function Get-AzStorageMoverProject {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20220701Preview.IProject])]
Expand Down
2 changes: 1 addition & 1 deletion src/StorageMover/exports/New-AzStorageMover.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ STORAGEMOVER <IStorageMover>: The Storage Mover resource, which is a container f
[SystemDataLastModifiedBy <String>]: The identity that last modified the resource.
[SystemDataLastModifiedByType <CreatedByType?>]: The type of identity that last modified the resource.
.Link
https://docs.microsoft.com/powershell/module/az.storagemover/new-azstoragemover
https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemover
#>
function New-AzStorageMover {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20220701Preview.IStorageMover])]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20220701Preview.IEndpoint
.Link
https://docs.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverendpoint
https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverendpoint
#>
function New-AzStorageMoverAzStorageContainerEndpoint {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20220701Preview.IEndpoint])]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ JOBDEFINITION <IJobDefinition>: The Job Definition resource.
[SystemDataLastModifiedByType <CreatedByType?>]: The type of identity that last modified the resource.
[TargetSubpath <String>]: The subpath to use when writing to the target Endpoint.
.Link
https://docs.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverjobdefinition
https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverjobdefinition
#>
function New-AzStorageMoverJobDefinition {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20220701Preview.IJobDefinition])]
Expand Down
2 changes: 1 addition & 1 deletion src/StorageMover/exports/New-AzStorageMoverNfsEndpoint.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20220701Preview.IEndpoint
.Link
https://docs.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverendpoint
https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverendpoint
#>
function New-AzStorageMoverNfsEndpoint {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20220701Preview.IEndpoint])]
Expand Down
2 changes: 1 addition & 1 deletion src/StorageMover/exports/New-AzStorageMoverProject.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ PROJECT <IProject>: The Project resource.
[SystemDataLastModifiedBy <String>]: The identity that last modified the resource.
[SystemDataLastModifiedByType <CreatedByType?>]: The type of identity that last modified the resource.
.Link
https://docs.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverproject
https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverproject
#>
function New-AzStorageMoverProject {
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20220701Preview.IProject])]
Expand Down
Loading