Skip to content

Commit 0fee0a5

Browse files
authored
Update URL of docs from docs.microsoft.com to learn.microsoft.com. (#20263)
1 parent 67a97bc commit 0fee0a5

File tree

162 files changed

+188
-188
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+188
-188
lines changed

src/ADDomainServices/Az.ADDomainServices.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434

3535
if(-not $accountsModule) {
36-
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
36+
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
3737
} elseif (($accountsModule.Version -lt [System.Version]'2.7.5') -and (-not $localAccounts)) {
3838
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
3939
}

src/ADDomainServices/create-model-cmdlets.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Create an in-memory object for ${ObjectType}.
158158
.Outputs
159159
${ObjectTypeWithNamespace}
160160
.Link
161-
https://docs.microsoft.com/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
161+
https://learn.microsoft.com/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
162162
#>
163163
function New-Az${ModulePrefix}${ObjectType}Object {
164164
[OutputType('${ObjectTypeWithNamespace}')]

src/ADDomainServices/custom/New-AzADDomainService.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ REPLICASET <IReplicaSet[]>: List of ReplicaSets
4343
[Location <String>]: Virtual network location
4444
[SubnetId <String>]: The name of the virtual network that Domain Services will be deployed on. The id of the subnet that Domain Services will be deployed on. /virtualNetwork/vnetName/subnets/subnetName.
4545
.Link
46-
https://docs.microsoft.com/powershell/module/az.addomainservices/new-azaddomainservice
46+
https://learn.microsoft.com/powershell/module/az.addomainservices/new-azaddomainservice
4747
#>
4848
function New-AzADDomainService {
4949
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.Api202001.IDomainService])]

src/ADDomainServices/custom/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ These provide functionality to our HTTP pipeline and other useful features. In s
3232
### Attributes
3333
For processing the cmdlets, we've created some additional attributes:
3434
- `Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.DescriptionAttribute`
35-
- 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.
35+
- 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.
3636
- `Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.DoNotExportAttribute`
3737
- Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.ADDomainServices`.
3838
- `Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.InternalExportAttribute`

src/ADDomainServices/custom/autogen-model-cmdlets/New-AzADDomainServiceForestTrustObject.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Create an in-memory object for ForestTrust.
2323
.Outputs
2424
Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.Api202001.ForestTrust
2525
.Link
26-
https://docs.microsoft.com/powershell/module/az.ADDomainService/new-AzADDomainServiceForestTrustObject
26+
https://learn.microsoft.com/powershell/module/az.ADDomainService/new-AzADDomainServiceForestTrustObject
2727
#>
2828
function New-AzADDomainServiceForestTrustObject {
2929
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.Api202001.ForestTrust')]

src/ADDomainServices/custom/autogen-model-cmdlets/New-AzADDomainServiceReplicaSetObject.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Create an in-memory object for ReplicaSet.
2323
.Outputs
2424
Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.Api202001.ReplicaSet
2525
.Link
26-
https://docs.microsoft.com/powershell/module/az.ADDomainService/new-AzADDomainServiceReplicaSetObject
26+
https://learn.microsoft.com/powershell/module/az.ADDomainService/new-AzADDomainServiceReplicaSetObject
2727
#>
2828
function New-AzADDomainServiceReplicaSetObject {
2929
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.Api202001.ReplicaSet')]

src/ADDomainServices/exports/Get-AzADDomainService.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ INPUTOBJECT <IAdDomainServicesIdentity>: Identity Parameter
4444
[ResourceGroupName <String>]: The name of the resource group within the user's subscription. The name is case insensitive.
4545
[SubscriptionId <String>]: Gets subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
4646
.Link
47-
https://docs.microsoft.com/powershell/module/az.addomainservices/get-azaddomainservice
47+
https://learn.microsoft.com/powershell/module/az.addomainservices/get-azaddomainservice
4848
#>
4949
function Get-AzADDomainService {
5050
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.Api202001.IDomainService])]

src/ADDomainServices/exports/New-AzADDomainService.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ REPLICASET <IReplicaSet[]>: List of ReplicaSets
5151
[Location <String>]: Virtual network location
5252
[SubnetId <String>]: The name of the virtual network that Domain Services will be deployed on. The id of the subnet that Domain Services will be deployed on. /virtualNetwork/vnetName/subnets/subnetName.
5353
.Link
54-
https://docs.microsoft.com/powershell/module/az.addomainservices/new-azaddomainservice
54+
https://learn.microsoft.com/powershell/module/az.addomainservices/new-azaddomainservice
5555
#>
5656
function New-AzADDomainService {
5757
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.Api202001.IDomainService])]

src/ADDomainServices/exports/New-AzADDomainServiceForestTrustObject.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ New-AzADDomainServiceForestTrustObject -FriendlyName FriendlyNameTest
2525
.Outputs
2626
Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.Api202001.ForestTrust
2727
.Link
28-
https://docs.microsoft.com/powershell/module/az.ADDomainService/new-AzADDomainServiceForestTrustObject
28+
https://learn.microsoft.com/powershell/module/az.ADDomainService/new-AzADDomainServiceForestTrustObject
2929
#>
3030
function New-AzADDomainServiceForestTrustObject {
3131
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.Api202001.ForestTrust])]

src/ADDomainServices/exports/New-AzADDomainServiceReplicaSetObject.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ New-AzADDomainServiceReplicaSetObject -Location westus -SubnetId /subscriptions/
2525
.Outputs
2626
Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.Api202001.ReplicaSet
2727
.Link
28-
https://docs.microsoft.com/powershell/module/az.ADDomainService/new-AzADDomainServiceReplicaSetObject
28+
https://learn.microsoft.com/powershell/module/az.ADDomainService/new-AzADDomainServiceReplicaSetObject
2929
#>
3030
function New-AzADDomainServiceReplicaSetObject {
3131
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ADDomainServices.Models.Api202001.ReplicaSet])]

0 commit comments

Comments
 (0)