Skip to content

Commit 64a9598

Browse files
authored
[Az.ConfidentialLedger] Update generation tool version: autorest.powers… (#28218)
1 parent dc78d06 commit 64a9598

32 files changed

+1202
-6597
lines changed

src/ConfidentialLedger/ConfidentialLedger.Autorest/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - ConfidentialLedger")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.1.0")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("1.1.0")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.1.1")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("1.1.1")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]
27-

src/ConfidentialLedger/ConfidentialLedger.Autorest/README.md

Lines changed: 21 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -41,50 +41,39 @@ module-version: 1.0.0
4141
title: ConfidentialLedger
4242
subject-prefix: $(service-name)
4343

44-
# If there are post APIs for some kinds of actions in the RP, you may need to
45-
# uncomment following line to support viaIdentity for these post APIs
46-
# identity-correction-for-post: true
47-
48-
# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
49-
use-extension:
50-
"@autorest/powershell": "3.x"
51-
5244
directive:
45+
- from: swagger-document
46+
where: $.definitions.ResourceLocation.properties.location
47+
transform: >-
48+
return {
49+
"description": "The Azure location where the Confidential Ledger is running.",
50+
"type": "string",
51+
"x-ms-mutability": [
52+
"create",
53+
"read",
54+
"update"
55+
]
56+
}
5357
# Following is two common directive which are normally required in all the RPs
5458
# 1. Remove the unexpanded parameter set
5559
# 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well
5660
- where:
57-
variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$
61+
variant: ^(Create|Update|Check)(?!.*?(Expanded))
62+
remove: true
63+
- where:
64+
variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$|^CheckViaIdentityExpanded$
5865
remove: true
5966
# Remove the set-* cmdlet
6067
- where:
6168
verb: Set
6269
remove: true
63-
- where: # Only generate one version of CheckNameAvailability
64-
verb: Test
65-
variant: ^Check$|^CheckViaIdentity$|^CheckViaIdentityExpanded$
66-
remove: true
6770
- where: # Hide auto-generated Update since we implement a custom one requiring the 'Location' parameter.
6871
verb: Update
6972
Subject: Ledger
7073
hide: true
71-
- model-cmdlet: # Generate objects for common models.
72-
- AADBasedSecurityPrincipal
73-
- CertBasedSecurityPrincipal
74-
75-
- where:
76-
verb: Get|New
77-
subject: Ledger
78-
set:
79-
breaking-change:
80-
deprecated-output-properties:
81-
- AadBasedSecurityPrincipal
82-
- CertBasedSecurityPrincipal
83-
new-output-properties:
84-
- AadBasedSecurityPrincipal
85-
- CertBasedSecurityPrincipal
86-
change-description: The type of property 'AadBasedSecurityPrincipal', 'CertBasedSecurityPrincipal' will be changed from single object to 'List'.
87-
deprecated-by-version: 9.0.0
88-
deprecated-by-azversion: 15.0.0
89-
change-effective-date: 2025/11/03
74+
- model-cmdlet:
75+
- model-name: AADBasedSecurityPrincipal
76+
cmdlet-name: New-AzConfidentialLedgerAADBasedSecurityPrincipalObject
77+
- model-name: CertBasedSecurityPrincipal
78+
cmdlet-name: New-AzConfidentialLedgerCertBasedSecurityPrincipalObject
9079
```

src/ConfidentialLedger/ConfidentialLedger.Autorest/custom/Update-AzConfidentialLedger.ps1

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ INPUTOBJECT <IConfidentialLedgerIdentity>: Identity Parameter
7373
https://learn.microsoft.com/powershell/module/az.confidentialledger/update-azconfidentialledger
7474
#>
7575
function Update-AzConfidentialLedger {
76-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.IConfidentialLedger])]
77-
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Runtime.OutputBreakingChangeAttribute("Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.IConfidentialLedger", "15.0.0", "9.0.0", "2025/11/03", ReplacementCmdletOutputType = "Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.IConfidentialLedger", DeprecatedOutputProperties = ("AadBasedSecurityPrincipal Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.IAadBasedSecurityPrincipal", "CertBasedSecurityPrincipal Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.ICertBasedSecurityPrincipal"), NewOutputProperties = ("AadBasedSecurityPrincipal System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.IAadBasedSecurityPrincipal]", "CertBasedSecurityPrincipal System.Collections.Generic.List`1[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.ICertBasedSecurityPrincipal]"))]
76+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.IConfidentialLedger])]
7877
[CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
7978
param(
8079
[Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
@@ -103,29 +102,26 @@ param(
103102
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Category('Path')]
104103
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.IConfidentialLedgerIdentity]
105104
# Identity Parameter
106-
# To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
107105
${InputObject},
108106

109107
[Parameter()]
110108
[AllowEmptyCollection()]
111109
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Category('Body')]
112-
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.IAadBasedSecurityPrincipal[]]
110+
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.IAadBasedSecurityPrincipal[]]
113111
# Array of all AAD based Security Principals.
114-
# To construct, see NOTES section for AADBASEDSECURITYPRINCIPAL properties and create a hash table.
115112
${AadBasedSecurityPrincipal},
116113

117114
[Parameter()]
118115
[AllowEmptyCollection()]
119116
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Category('Body')]
120-
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.ICertBasedSecurityPrincipal[]]
117+
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.ICertBasedSecurityPrincipal[]]
121118
# Array of all cert based Security Principals.
122-
# To construct, see NOTES section for CERTBASEDSECURITYPRINCIPAL properties and create a hash table.
123119
${CertBasedSecurityPrincipal},
124120

125121
[Parameter()]
126-
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Support.LedgerType])]
122+
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.PSArgumentCompleterAttribute("Unknown", "Public", "Private")]
127123
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Category('Body')]
128-
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Support.LedgerType]
124+
[System.String]
129125
# Type of Confidential Ledger
130126
${LedgerType},
131127

@@ -137,7 +133,7 @@ param(
137133

138134
[Parameter()]
139135
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Category('Body')]
140-
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.ITags]))]
136+
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.ITags]))]
141137
[System.Collections.Hashtable]
142138
# Additional tags for Confidential Ledger
143139
${Tag},
@@ -147,7 +143,8 @@ param(
147143
[ValidateNotNull()]
148144
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Category('Azure')]
149145
[System.Management.Automation.PSObject]
150-
# The credentials, account, tenant, and subscription used for communication with Azure.
146+
# The DefaultProfile parameter is not functional.
147+
# Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
151148
${DefaultProfile},
152149

153150
[Parameter()]

src/ConfidentialLedger/ConfidentialLedger.Autorest/custom/autogen-model-cmdlets/New-AzConfidentialLedgerAADBasedSecurityPrincipalObject.ps1

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,19 @@ Create an in-memory object for AADBasedSecurityPrincipal.
2121
Create an in-memory object for AADBasedSecurityPrincipal.
2222
2323
.Outputs
24-
Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.AADBasedSecurityPrincipal
24+
Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.AADBasedSecurityPrincipal
2525
.Link
26-
https://learn.microsoft.com/powershell/module/Az.ConfidentialLedger/new-AzConfidentialLedgerAADBasedSecurityPrincipalObject
26+
https://learn.microsoft.com/powershell/module/Az.ConfidentialLedger/new-azconfidentialledgeraadbasedsecurityprincipalobject
2727
#>
2828
function New-AzConfidentialLedgerAADBasedSecurityPrincipalObject {
29-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.AADBasedSecurityPrincipal')]
29+
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.ModelCmdletAttribute()]
30+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.AADBasedSecurityPrincipal')]
3031
[CmdletBinding(PositionalBinding=$false)]
3132
Param(
3233

3334
[Parameter(HelpMessage="LedgerRole associated with the Security Principal of Ledger.")]
34-
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Support.LedgerRoleName])]
35-
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Support.LedgerRoleName]
35+
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.PSArgumentCompleterAttribute("Reader", "Contributor", "Administrator")]
36+
[string]
3637
$LedgerRoleName,
3738
[Parameter(HelpMessage="UUID/GUID based Principal Id of the Security Principal.")]
3839
[string]
@@ -43,7 +44,7 @@ function New-AzConfidentialLedgerAADBasedSecurityPrincipalObject {
4344
)
4445

4546
process {
46-
$Object = [Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.AADBasedSecurityPrincipal]::New()
47+
$Object = [Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.AADBasedSecurityPrincipal]::New()
4748

4849
if ($PSBoundParameters.ContainsKey('LedgerRoleName')) {
4950
$Object.LedgerRoleName = $LedgerRoleName

src/ConfidentialLedger/ConfidentialLedger.Autorest/custom/autogen-model-cmdlets/New-AzConfidentialLedgerCertBasedSecurityPrincipalObject.ps1

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,27 @@ Create an in-memory object for CertBasedSecurityPrincipal.
2121
Create an in-memory object for CertBasedSecurityPrincipal.
2222
2323
.Outputs
24-
Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.CertBasedSecurityPrincipal
24+
Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.CertBasedSecurityPrincipal
2525
.Link
26-
https://learn.microsoft.com/powershell/module/Az.ConfidentialLedger/new-AzConfidentialLedgerCertBasedSecurityPrincipalObject
26+
https://learn.microsoft.com/powershell/module/Az.ConfidentialLedger/new-azconfidentialledgercertbasedsecurityprincipalobject
2727
#>
2828
function New-AzConfidentialLedgerCertBasedSecurityPrincipalObject {
29-
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.CertBasedSecurityPrincipal')]
29+
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.ModelCmdletAttribute()]
30+
[OutputType('Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.CertBasedSecurityPrincipal')]
3031
[CmdletBinding(PositionalBinding=$false)]
3132
Param(
3233

3334
[Parameter(HelpMessage="Public key of the user cert (.pem or .cer).")]
3435
[string]
3536
$Cert,
3637
[Parameter(HelpMessage="LedgerRole associated with the Security Principal of Ledger.")]
37-
[ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Support.LedgerRoleName])]
38-
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Support.LedgerRoleName]
38+
[Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.PSArgumentCompleterAttribute("Reader", "Contributor", "Administrator")]
39+
[string]
3940
$LedgerRoleName
4041
)
4142

4243
process {
43-
$Object = [Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.CertBasedSecurityPrincipal]::New()
44+
$Object = [Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.CertBasedSecurityPrincipal]::New()
4445

4546
if ($PSBoundParameters.ContainsKey('Cert')) {
4647
$Object.Cert = $Cert

src/ConfidentialLedger/ConfidentialLedger.Autorest/docs/Az.ConfidentialLedger.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Module Name: Az.ConfidentialLedger
3-
Module Guid: 2c3b46ee-4d07-486a-8677-2a7833ee933a
3+
Module Guid: d8c2bac9-30d1-4c51-9b69-554251914080
44
Download Help Link: https://learn.microsoft.com/powershell/module/az.confidentialledger
55
Help Version: 1.0.0.0
66
Locale: en-US
@@ -15,7 +15,7 @@ Microsoft Azure PowerShell: ConfidentialLedger cmdlets
1515
Retrieves the properties of a Confidential Ledger.
1616

1717
### [New-AzConfidentialLedger](New-AzConfidentialLedger.md)
18-
Creates a Confidential Ledger with the specified ledger parameters.
18+
Create a Confidential Ledger with the specified ledger parameters.
1919

2020
### [New-AzConfidentialLedgerAADBasedSecurityPrincipalObject](New-AzConfidentialLedgerAADBasedSecurityPrincipalObject.md)
2121
Create an in-memory object for AADBasedSecurityPrincipal.

src/ConfidentialLedger/ConfidentialLedger.Autorest/docs/Get-AzConfidentialLedger.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ Accept wildcard characters: False
107107
108108
### -InputObject
109109
Identity Parameter
110-
To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
111110
112111
```yaml
113112
Type: Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.IConfidentialLedgerIdentity
@@ -177,7 +176,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
177176
178177
## OUTPUTS
179178
180-
### Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.IConfidentialLedger
179+
### Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.IConfidentialLedger
181180
182181
## NOTES
183182

src/ConfidentialLedger/ConfidentialLedger.Autorest/docs/New-AzConfidentialLedger.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ schema: 2.0.0
88
# New-AzConfidentialLedger
99

1010
## SYNOPSIS
11-
Creates a Confidential Ledger with the specified ledger parameters.
11+
Create a Confidential Ledger with the specified ledger parameters.
1212

1313
## SYNTAX
1414

1515
```
1616
New-AzConfidentialLedger -Name <String> -ResourceGroupName <String> [-SubscriptionId <String>]
1717
[-AadBasedSecurityPrincipal <IAadBasedSecurityPrincipal[]>]
18-
[-CertBasedSecurityPrincipal <ICertBasedSecurityPrincipal[]>] [-LedgerType <LedgerType>] [-Location <String>]
18+
[-CertBasedSecurityPrincipal <ICertBasedSecurityPrincipal[]>] [-LedgerType <String>] [-Location <String>]
1919
[-Tag <Hashtable>] [-DefaultProfile <PSObject>] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [<CommonParameters>]
2020
```
2121

2222
## DESCRIPTION
23-
Creates a Confidential Ledger with the specified ledger parameters.
23+
Create a Confidential Ledger with the specified ledger parameters.
2424

2525
## EXAMPLES
2626

@@ -86,10 +86,9 @@ Creates a new Confidential Ledger using objects for `AadBasedSecurityPrincipal`
8686

8787
### -AadBasedSecurityPrincipal
8888
Array of all AAD based Security Principals.
89-
To construct, see NOTES section for AADBASEDSECURITYPRINCIPAL properties and create a hash table.
9089

9190
```yaml
92-
Type: Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.IAadBasedSecurityPrincipal[]
91+
Type: Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.IAadBasedSecurityPrincipal[]
9392
Parameter Sets: (All)
9493
Aliases:
9594

@@ -117,10 +116,9 @@ Accept wildcard characters: False
117116
118117
### -CertBasedSecurityPrincipal
119118
Array of all cert based Security Principals.
120-
To construct, see NOTES section for CERTBASEDSECURITYPRINCIPAL properties and create a hash table.
121119
122120
```yaml
123-
Type: Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.ICertBasedSecurityPrincipal[]
121+
Type: Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.ICertBasedSecurityPrincipal[]
124122
Parameter Sets: (All)
125123
Aliases:
126124

@@ -151,7 +149,7 @@ Accept wildcard characters: False
151149
Type of Confidential Ledger
152150
153151
```yaml
154-
Type: Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Support.LedgerType
152+
Type: System.String
155153
Parameter Sets: (All)
156154
Aliases:
157155

@@ -292,7 +290,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
292290
293291
## OUTPUTS
294292
295-
### Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.IConfidentialLedger
293+
### Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.IConfidentialLedger
296294
297295
## NOTES
298296

src/ConfidentialLedger/ConfidentialLedger.Autorest/docs/New-AzConfidentialLedgerAADBasedSecurityPrincipalObject.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file:
33
Module Name: Az.ConfidentialLedger
4-
online version: https://learn.microsoft.com/powershell/module/Az.ConfidentialLedger/new-AzConfidentialLedgerAADBasedSecurityPrincipalObject
4+
online version: https://learn.microsoft.com/powershell/module/Az.ConfidentialLedger/new-azconfidentialledgeraadbasedsecurityprincipalobject
55
schema: 2.0.0
66
---
77

@@ -13,8 +13,8 @@ Create an in-memory object for AADBasedSecurityPrincipal.
1313
## SYNTAX
1414

1515
```
16-
New-AzConfidentialLedgerAADBasedSecurityPrincipalObject [-LedgerRoleName <LedgerRoleName>]
17-
[-PrincipalId <String>] [-TenantId <String>] [<CommonParameters>]
16+
New-AzConfidentialLedgerAADBasedSecurityPrincipalObject [-LedgerRoleName <String>] [-PrincipalId <String>]
17+
[-TenantId <String>] [<CommonParameters>]
1818
```
1919

2020
## DESCRIPTION
@@ -44,7 +44,7 @@ Creates an AadBasedSecurityPrincipalObject that may be used for `Az.Confidential
4444
LedgerRole associated with the Security Principal of Ledger.
4545

4646
```yaml
47-
Type: Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Support.LedgerRoleName
47+
Type: System.String
4848
Parameter Sets: (All)
4949
Aliases:
5050

@@ -92,7 +92,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
9292
9393
## OUTPUTS
9494
95-
### Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.AadBasedSecurityPrincipal
95+
### Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.AadBasedSecurityPrincipal
9696
9797
## NOTES
9898

src/ConfidentialLedger/ConfidentialLedger.Autorest/docs/New-AzConfidentialLedgerCertBasedSecurityPrincipalObject.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file:
33
Module Name: Az.ConfidentialLedger
4-
online version: https://learn.microsoft.com/powershell/module/Az.ConfidentialLedger/new-AzConfidentialLedgerCertBasedSecurityPrincipalObject
4+
online version: https://learn.microsoft.com/powershell/module/Az.ConfidentialLedger/new-azconfidentialledgercertbasedsecurityprincipalobject
55
schema: 2.0.0
66
---
77

@@ -13,7 +13,7 @@ Create an in-memory object for CertBasedSecurityPrincipal.
1313
## SYNTAX
1414

1515
```
16-
New-AzConfidentialLedgerCertBasedSecurityPrincipalObject [-Cert <String>] [-LedgerRoleName <LedgerRoleName>]
16+
New-AzConfidentialLedgerCertBasedSecurityPrincipalObject [-Cert <String>] [-LedgerRoleName <String>]
1717
[<CommonParameters>]
1818
```
1919

@@ -58,7 +58,7 @@ Accept wildcard characters: False
5858
LedgerRole associated with the Security Principal of Ledger.
5959
6060
```yaml
61-
Type: Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Support.LedgerRoleName
61+
Type: System.String
6262
Parameter Sets: (All)
6363
Aliases:
6464

@@ -76,7 +76,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
7676
7777
## OUTPUTS
7878
79-
### Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.Api20220513.CertBasedSecurityPrincipal
79+
### Microsoft.Azure.PowerShell.Cmdlets.ConfidentialLedger.Models.CertBasedSecurityPrincipal
8080
8181
## NOTES
8282

0 commit comments

Comments
 (0)