Skip to content

Commit 706b0d9

Browse files
Migrate Resources from generation to main (#21653)
* Move Resources to main * Update ChangeLog.md --------- Co-authored-by: Yabo Hu <[email protected]>
1 parent 73623af commit 706b0d9

File tree

233 files changed

+719
-487
lines changed

Some content is hidden

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

233 files changed

+719
-487
lines changed

src/Resources/Authorization.Autorest/Az.Authorization.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@{
2-
GUID = 'af1acdc0-484d-477e-a2d2-8c6e6136323f'
2+
GUID = '678ecf28-7b50-40d5-b71e-239872705035'
33
RootModule = './Az.Authorization.psm1'
44
ModuleVersion = '0.1.0'
55
CompatiblePSEditions = 'Core', 'Desktop'

src/Resources/Authorization.Autorest/build-module.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ $null = New-Item -ItemType Directory -Force -Path $examplesFolder
123123

124124
Write-Host -ForegroundColor Green 'Creating cmdlets for specified models...'
125125
$modelCmdlets = @()
126+
$modelCmdletFolder = Join-Path (Join-Path $PSScriptRoot './custom') 'autogen-model-cmdlets'
127+
if (Test-Path $modelCmdletFolder) {
128+
$null = Remove-Item -Force -Recurse -Path $modelCmdletFolder
129+
}
126130
if ($modelCmdlets.Count -gt 0) {
127131
. (Join-Path $PSScriptRoot 'create-model-cmdlets.ps1')
128132
CreateModelCmdlet($modelCmdlets)

src/Resources/Authorization.Autorest/docs/Az.Authorization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.Authorization
3-
Module Guid: 5d67217e-5bcb-4c75-80ab-67f60154a5b2
3+
Module Guid: 678ecf28-7b50-40d5-b71e-239872705035
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.authorization
55
Help Version: 1.0.0.0
66
Locale: en-US

src/Resources/Authorization.Autorest/docs/Get-AzRoleAssignmentSchedule.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ Use the `Id` property to get `scope` and `name`
119119
## PARAMETERS
120120

121121
### -DefaultProfile
122-
The credentials, account, tenant, and subscription used for communication with Azure.
122+
The DefaultProfile parameter is not functional.
123+
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
123124

124125
```yaml
125126
Type: System.Management.Automation.PSObject

src/Resources/Authorization.Autorest/docs/Get-AzRoleAssignmentScheduleInstance.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ Use the `Id` property to get `scope` and `name`
120120
## PARAMETERS
121121

122122
### -DefaultProfile
123-
The credentials, account, tenant, and subscription used for communication with Azure.
123+
The DefaultProfile parameter is not functional.
124+
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
124125

125126
```yaml
126127
Type: System.Management.Automation.PSObject

src/Resources/Authorization.Autorest/docs/Get-AzRoleAssignmentScheduleRequest.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ Use the `Id` property to get `scope` and `name`
103103
## PARAMETERS
104104

105105
### -DefaultProfile
106-
The credentials, account, tenant, and subscription used for communication with Azure.
106+
The DefaultProfile parameter is not functional.
107+
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
107108

108109
```yaml
109110
Type: System.Management.Automation.PSObject

src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibilitySchedule.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ Name Type
119119
## PARAMETERS
120120

121121
### -DefaultProfile
122-
The credentials, account, tenant, and subscription used for communication with Azure.
122+
The DefaultProfile parameter is not functional.
123+
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
123124

124125
```yaml
125126
Type: System.Management.Automation.PSObject

src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibilityScheduleInstance.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ Use the `Id` property to get `scope` and `name`
120120
## PARAMETERS
121121

122122
### -DefaultProfile
123-
The credentials, account, tenant, and subscription used for communication with Azure.
123+
The DefaultProfile parameter is not functional.
124+
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
124125

125126
```yaml
126127
Type: System.Management.Automation.PSObject

src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibilityScheduleRequest.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ Use the `Id` property to get `scope` and `name`
103103
## PARAMETERS
104104

105105
### -DefaultProfile
106-
The credentials, account, tenant, and subscription used for communication with Azure.
106+
The DefaultProfile parameter is not functional.
107+
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
107108

108109
```yaml
109110
Type: System.Management.Automation.PSObject

src/Resources/Authorization.Autorest/docs/Get-AzRoleEligibleChildResource.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ You can filter by subscriptions, resourceGroups or any resource type.
6767
## PARAMETERS
6868

6969
### -DefaultProfile
70-
The credentials, account, tenant, and subscription used for communication with Azure.
70+
The DefaultProfile parameter is not functional.
71+
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
7172

7273
```yaml
7374
Type: System.Management.Automation.PSObject

0 commit comments

Comments
 (0)