From 4273fb70d5f21df1d533456668ba8e04342e2d6c Mon Sep 17 00:00:00 2001 From: Jinpei Li Date: Mon, 14 Jul 2025 14:31:41 +0800 Subject: [PATCH] Az.Attestation update generation tool version: autorest.powershell v3->v4 --- .../Properties/AssemblyInfo.cs | 27 +++++ .../Attestation.Autorest/README.md | 12 +- .../custom/JsonWebKeyHelper.cs | 6 +- .../custom/New-AzAttestationProvider.ps1 | 27 +++-- .../docs/Az.Attestation.md | 4 +- .../docs/Get-AzAttestationDefaultProvider.md | 5 +- .../docs/Get-AzAttestationProvider.md | 5 +- .../docs/New-AzAttestationProvider.md | 54 ++++++++- .../docs/Remove-AzAttestationProvider.md | 1 - .../docs/Update-AzAttestationProvider.md | 57 ++++++++-- .../Attestation.Autorest/generate-info.json | 2 +- .../Attestation.Autorest/resources/README.md | 11 ++ src/Attestation/Attestation.sln | 107 +++++++++++++++++- .../Attestation/Az.Attestation.psd1 | 14 +-- .../Attestation/help/Az.Attestation.md | 2 +- .../help/Get-AzAttestationDefaultProvider.md | 5 +- .../help/Get-AzAttestationProvider.md | 5 +- .../help/New-AzAttestationProvider.md | 58 +++++++++- .../help/Remove-AzAttestationProvider.md | 1 - .../help/Update-AzAttestationProvider.md | 59 ++++++++-- 20 files changed, 386 insertions(+), 76 deletions(-) create mode 100644 src/Attestation/Attestation.Autorest/Properties/AssemblyInfo.cs create mode 100644 src/Attestation/Attestation.Autorest/resources/README.md diff --git a/src/Attestation/Attestation.Autorest/Properties/AssemblyInfo.cs b/src/Attestation/Attestation.Autorest/Properties/AssemblyInfo.cs new file mode 100644 index 000000000000..7995675026b9 --- /dev/null +++ b/src/Attestation/Attestation.Autorest/Properties/AssemblyInfo.cs @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the Apache License, Version 2.0 (the ""License""); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// http://www.apache.org/licenses/LICENSE-2.0 +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an ""AS IS"" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +// is regenerated. + +using System; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")] +[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")] +[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")] +[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Attestation")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("2.1.0")] +[assembly: System.Reflection.AssemblyVersionAttribute("2.1.0")] +[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)] +[assembly: System.CLSCompliantAttribute(false)] + diff --git a/src/Attestation/Attestation.Autorest/README.md b/src/Attestation/Attestation.Autorest/README.md index 017aea0564c8..a0412d0d9fae 100644 --- a/src/Attestation/Attestation.Autorest/README.md +++ b/src/Attestation/Attestation.Autorest/README.md @@ -42,24 +42,20 @@ module-version: 0.1.0 # Normally, title is the service name title: Attestation subject-prefix: $(service-name) -identity-correction-for-post: true -nested-object-to-string: true -resourcegroup-append: true # If there are post APIs for some kinds of actions in the RP, you may need to # uncomment following line to support viaIdentity for these post APIs # identity-correctiEXon-for-post: true -# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option -use-extension: - "@autorest/powershell": "3.x" - directive: # Following is two common directive which are normally required in all the RPs # 1. Remove the unexpanded parameter set # 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well - where: - variant: ^Create$|^CreateViaIdentity$|^CreateViaIdentityExpanded$|^Update$|^UpdateViaIdentity$|^Install$|^InstallViaIdentity$ + variant: ^(Create|Update|Install)(?!.*?(Expanded|JsonFilePath|JsonString)) + remove: true + - where: + variant: ^CreateViaIdentity$|^CreateViaIdentityExpanded$ remove: true # Remove the set-* cmdlet - where: diff --git a/src/Attestation/Attestation.Autorest/custom/JsonWebKeyHelper.cs b/src/Attestation/Attestation.Autorest/custom/JsonWebKeyHelper.cs index 486c88677cbc..a1752edebb17 100644 --- a/src/Attestation/Attestation.Autorest/custom/JsonWebKeyHelper.cs +++ b/src/Attestation/Attestation.Autorest/custom/JsonWebKeyHelper.cs @@ -16,9 +16,9 @@ using System.Collections.Generic; using System.IO; using System.Security.Cryptography.X509Certificates; -using Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api10; +using Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models; -namespace Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api10 +namespace Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models { public class JsonWebKeyHelper { @@ -82,7 +82,7 @@ private static JsonWebKey[] GetJsonWebKeysFromX509Certificate(X509Certificate2Co foreach (var certificate in certificateCollection) { var jwk = new JsonWebKey() { Kty = "RSA" }; - jwk.X5C = new List() { System.Convert.ToBase64String(certificate.Export(X509ContentType.Cert)) }.ToArray(); + jwk.X5C = new List { System.Convert.ToBase64String(certificate.Export(X509ContentType.Cert)) }; jsonWebKeys.Add(jwk); } return jsonWebKeys.ToArray(); diff --git a/src/Attestation/Attestation.Autorest/custom/New-AzAttestationProvider.ps1 b/src/Attestation/Attestation.Autorest/custom/New-AzAttestationProvider.ps1 index 217839105aa9..29687a8504dc 100644 --- a/src/Attestation/Attestation.Autorest/custom/New-AzAttestationProvider.ps1 +++ b/src/Attestation/Attestation.Autorest/custom/New-AzAttestationProvider.ps1 @@ -53,7 +53,7 @@ POLICYSIGNINGCERTIFICATEKEY : The value of the "keys" parameter i https://learn.microsoft.com/powershell/module/az.attestation/new-azattestationprovider #> function New-AzAttestationProvider { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api20201001.IAttestationProvider])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationProvider])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -77,13 +77,13 @@ param( # The ID of the target subscription. ${SubscriptionId}, - [Parameter(Mandatory)] + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Attestation.Category('Body')] [System.String] # The supported Azure location where the attestation provider should be created. ${Location}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Attestation.Category('Body')] [System.String] @@ -93,19 +93,32 @@ param( # To construct, see NOTES section for POLICYSIGNINGCERTIFICATEKEY properties and create a hash table. ${PolicySigningCertificateKeyPath}, - [Parameter()] + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Attestation.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.Attestation.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api20201001.IAttestationServiceCreationParamsTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.Attestation.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationServiceCreationParamsTags]))] [System.Collections.Hashtable] # The tags that will be assigned to the attestation provider. ${Tag}, + [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Attestation.Category('Body')] + [System.String] + # Path of Json file supplied to the Create operation + ${JsonFilePath}, + + [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.Attestation.Category('Body')] + [System.String] + # Json string supplied to the Create operation + ${JsonString}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Attestation.Category('Azure')] [System.Management.Automation.PSObject] - # The credentials, account, tenant, and subscription used for communication with Azure. + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, [Parameter(DontShow)] @@ -151,7 +164,7 @@ param( process { if($PSBoundParameters.ContainsKey("PolicySigningCertificateKeyPath")){ $PolicySigningCertificateKeyPath = (Resolve-Path -Path $PolicySigningCertificateKeyPath).Path - $PolicySigningCertificateKey = [Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api10.JsonWebKeyHelper]::GetJsonWebKeys($PolicySigningCertificateKeyPath) + $PolicySigningCertificateKey = [Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.JsonWebKeyHelper]::GetJsonWebKeys($PolicySigningCertificateKeyPath) $null = $PSBoundParameters.Add("PolicySigningCertificateKey", $PolicySigningCertificateKey) $null = $PSBoundParameters.Remove("PolicySigningCertificateKeyPath") } diff --git a/src/Attestation/Attestation.Autorest/docs/Az.Attestation.md b/src/Attestation/Attestation.Autorest/docs/Az.Attestation.md index 97c9593b6885..c1dabcbf7743 100644 --- a/src/Attestation/Attestation.Autorest/docs/Az.Attestation.md +++ b/src/Attestation/Attestation.Autorest/docs/Az.Attestation.md @@ -1,6 +1,6 @@ --- Module Name: Az.Attestation -Module Guid: 2c3f4dc7-21e2-45f3-87dd-9f3ba30ae484 +Module Guid: 1c9a1ce2-e443-4ee1-aeac-5e962f9237d9 Download Help Link: https://learn.microsoft.com/powershell/module/az.attestation Help Version: 1.0.0.0 Locale: en-US @@ -24,5 +24,5 @@ Creates a new Attestation Provider. Delete Attestation Service. ### [Update-AzAttestationProvider](Update-AzAttestationProvider.md) -Updates the Attestation Provider. +Update the Attestation Provider. diff --git a/src/Attestation/Attestation.Autorest/docs/Get-AzAttestationDefaultProvider.md b/src/Attestation/Attestation.Autorest/docs/Get-AzAttestationDefaultProvider.md index 18e1e1218db9..47b4255d64cc 100644 --- a/src/Attestation/Attestation.Autorest/docs/Get-AzAttestationDefaultProvider.md +++ b/src/Attestation/Attestation.Autorest/docs/Get-AzAttestationDefaultProvider.md @@ -127,7 +127,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationIdentity @@ -180,9 +179,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api20201001.IAttestationProvider +### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationProvider -### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api20201001.IAttestationProviderListResult +### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationProviderListResult ## NOTES diff --git a/src/Attestation/Attestation.Autorest/docs/Get-AzAttestationProvider.md b/src/Attestation/Attestation.Autorest/docs/Get-AzAttestationProvider.md index 57dee6c75900..ede32fa15ebf 100644 --- a/src/Attestation/Attestation.Autorest/docs/Get-AzAttestationProvider.md +++ b/src/Attestation/Attestation.Autorest/docs/Get-AzAttestationProvider.md @@ -198,7 +198,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationIdentity @@ -267,9 +266,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api20201001.IAttestationProvider +### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationProvider -### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api20201001.IAttestationProviderListResult +### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationProviderListResult ## NOTES diff --git a/src/Attestation/Attestation.Autorest/docs/New-AzAttestationProvider.md b/src/Attestation/Attestation.Autorest/docs/New-AzAttestationProvider.md index 24049a045ae7..b7de4c34b155 100644 --- a/src/Attestation/Attestation.Autorest/docs/New-AzAttestationProvider.md +++ b/src/Attestation/Attestation.Autorest/docs/New-AzAttestationProvider.md @@ -12,12 +12,25 @@ Creates a new Attestation Provider. ## SYNTAX +### CreateExpanded (Default) ``` New-AzAttestationProvider -Name -ResourceGroupName -Location [-SubscriptionId ] [-PolicySigningCertificateKeyPath ] [-Tag ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] ``` +### CreateViaJsonFilePath +``` +New-AzAttestationProvider -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### CreateViaJsonString +``` +New-AzAttestationProvider -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION Creates a new Attestation Provider. @@ -52,7 +65,8 @@ This command creates a new Attestation Provider named `testprovider2` with trust ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject @@ -66,12 +80,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Location The supported Azure location where the attestation provider should be created. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -104,7 +148,7 @@ To construct, see NOTES section for POLICYSIGNINGCERTIFICATEKEY properties and c ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -150,7 +194,7 @@ The tags that will be assigned to the attestation provider. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -198,7 +242,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api20201001.IAttestationProvider +### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationProvider ## NOTES diff --git a/src/Attestation/Attestation.Autorest/docs/Remove-AzAttestationProvider.md b/src/Attestation/Attestation.Autorest/docs/Remove-AzAttestationProvider.md index 8f59f750ae3a..2628c4ceb25d 100644 --- a/src/Attestation/Attestation.Autorest/docs/Remove-AzAttestationProvider.md +++ b/src/Attestation/Attestation.Autorest/docs/Remove-AzAttestationProvider.md @@ -72,7 +72,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationIdentity diff --git a/src/Attestation/Attestation.Autorest/docs/Update-AzAttestationProvider.md b/src/Attestation/Attestation.Autorest/docs/Update-AzAttestationProvider.md index f738c1721093..2dca7389274d 100644 --- a/src/Attestation/Attestation.Autorest/docs/Update-AzAttestationProvider.md +++ b/src/Attestation/Attestation.Autorest/docs/Update-AzAttestationProvider.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzAttestationProvider ## SYNOPSIS -Updates the Attestation Provider. +Update the Attestation Provider. ## SYNTAX @@ -24,8 +24,20 @@ Update-AzAttestationProvider -InputObject [-Tag ] [-Confirm] [-WhatIf] [] ``` +### UpdateViaJsonFilePath +``` +Update-AzAttestationProvider -Name -ResourceGroupName -JsonFilePath + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaJsonString +``` +Update-AzAttestationProvider -Name -ResourceGroupName -JsonString + [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf] [] +``` + ## DESCRIPTION -Updates the Attestation Provider. +Update the Attestation Provider. ## EXAMPLES @@ -107,7 +119,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationIdentity @@ -121,12 +132,42 @@ Accept pipeline input: True (ByValue) Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Update operation + +```yaml +Type: System.String +Parameter Sets: UpdateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Name Name of the attestation provider. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: ProviderName Required: True @@ -142,7 +183,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: True @@ -157,7 +198,7 @@ The ID of the target subscription. ```yaml Type: System.String -Parameter Sets: UpdateExpanded +Parameter Sets: UpdateExpanded, UpdateViaJsonFilePath, UpdateViaJsonString Aliases: Required: False @@ -172,7 +213,7 @@ The tags that will be assigned to the attestation provider. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded Aliases: Required: False @@ -222,7 +263,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api20201001.IAttestationProvider +### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationProvider ## NOTES diff --git a/src/Attestation/Attestation.Autorest/generate-info.json b/src/Attestation/Attestation.Autorest/generate-info.json index 1f4f2730e32d..be05551db88a 100644 --- a/src/Attestation/Attestation.Autorest/generate-info.json +++ b/src/Attestation/Attestation.Autorest/generate-info.json @@ -1,3 +1,3 @@ { - "generate_Id": "5e8ddaa3-8fba-4e97-8810-64ed6c716d18" + "generate_Id": "0d4ce302-7a2b-42dd-a7a6-83a661a90df6" } diff --git a/src/Attestation/Attestation.Autorest/resources/README.md b/src/Attestation/Attestation.Autorest/resources/README.md new file mode 100644 index 000000000000..937f07f8fec2 --- /dev/null +++ b/src/Attestation/Attestation.Autorest/resources/README.md @@ -0,0 +1,11 @@ +# Resources +This directory can contain any additional resources for module that are not required at runtime. This directory **does not** get packaged with the module. If you have assets for custom implementation, place them into the `..\custom` folder. + +## Info +- Modifiable: yes +- Generated: no +- Committed: yes +- Packaged: no + +## Purpose +Use this folder to put anything you want to keep around as part of the repository for the module, but is not something that is required for the module. For example, development files, packaged builds, or additional information. This is only intended to be used in repositories where the module's output directory is cleaned, but tangential resources for the module want to remain intact. \ No newline at end of file diff --git a/src/Attestation/Attestation.sln b/src/Attestation/Attestation.sln index cbb440d60d6a..466877d88a35 100644 --- a/src/Attestation/Attestation.sln +++ b/src/Attestation/Attestation.sln @@ -1,4 +1,4 @@ - + Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.0.31903.59 @@ -27,58 +27,152 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFx", "..\..\tools\TestF EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Attestation.Management.Sdk", "Attestation.Management.Sdk\Attestation.Management.Sdk.csproj", "{D0EAA185-822C-45C8-A287-FD05AF138209}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Attestation", "..\..\generated\Attestation\Attestation.Autorest\Az.Attestation.csproj", "{C126ED4A-CE30-4E0D-9D1C-DDB7EEE4200E}" +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Attestation.Autorest", "Attestation.Autorest", "{4AA549FB-C4F0-51C5-5F14-5CA538ED4FC4}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Az.Attestation", "..\..\generated\Attestation\Attestation.Autorest\Az.Attestation.csproj", "{08673D59-4943-43B8-AECF-C5FD4A6C1232}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {27FA5C23-BAD7-4909-88A0-8A33D5C2E78C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {27FA5C23-BAD7-4909-88A0-8A33D5C2E78C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {27FA5C23-BAD7-4909-88A0-8A33D5C2E78C}.Debug|x64.ActiveCfg = Debug|Any CPU + {27FA5C23-BAD7-4909-88A0-8A33D5C2E78C}.Debug|x64.Build.0 = Debug|Any CPU + {27FA5C23-BAD7-4909-88A0-8A33D5C2E78C}.Debug|x86.ActiveCfg = Debug|Any CPU + {27FA5C23-BAD7-4909-88A0-8A33D5C2E78C}.Debug|x86.Build.0 = Debug|Any CPU {27FA5C23-BAD7-4909-88A0-8A33D5C2E78C}.Release|Any CPU.ActiveCfg = Release|Any CPU {27FA5C23-BAD7-4909-88A0-8A33D5C2E78C}.Release|Any CPU.Build.0 = Release|Any CPU + {27FA5C23-BAD7-4909-88A0-8A33D5C2E78C}.Release|x64.ActiveCfg = Release|Any CPU + {27FA5C23-BAD7-4909-88A0-8A33D5C2E78C}.Release|x64.Build.0 = Release|Any CPU + {27FA5C23-BAD7-4909-88A0-8A33D5C2E78C}.Release|x86.ActiveCfg = Release|Any CPU + {27FA5C23-BAD7-4909-88A0-8A33D5C2E78C}.Release|x86.Build.0 = Release|Any CPU {1ADA30A9-073A-4728-8676-71A202598C6F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {1ADA30A9-073A-4728-8676-71A202598C6F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1ADA30A9-073A-4728-8676-71A202598C6F}.Debug|x64.ActiveCfg = Debug|Any CPU + {1ADA30A9-073A-4728-8676-71A202598C6F}.Debug|x64.Build.0 = Debug|Any CPU + {1ADA30A9-073A-4728-8676-71A202598C6F}.Debug|x86.ActiveCfg = Debug|Any CPU + {1ADA30A9-073A-4728-8676-71A202598C6F}.Debug|x86.Build.0 = Debug|Any CPU {1ADA30A9-073A-4728-8676-71A202598C6F}.Release|Any CPU.ActiveCfg = Release|Any CPU {1ADA30A9-073A-4728-8676-71A202598C6F}.Release|Any CPU.Build.0 = Release|Any CPU + {1ADA30A9-073A-4728-8676-71A202598C6F}.Release|x64.ActiveCfg = Release|Any CPU + {1ADA30A9-073A-4728-8676-71A202598C6F}.Release|x64.Build.0 = Release|Any CPU + {1ADA30A9-073A-4728-8676-71A202598C6F}.Release|x86.ActiveCfg = Release|Any CPU + {1ADA30A9-073A-4728-8676-71A202598C6F}.Release|x86.Build.0 = Release|Any CPU {7AD695F4-8DAB-48F0-B623-7CC71221221B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {7AD695F4-8DAB-48F0-B623-7CC71221221B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7AD695F4-8DAB-48F0-B623-7CC71221221B}.Debug|x64.ActiveCfg = Debug|Any CPU + {7AD695F4-8DAB-48F0-B623-7CC71221221B}.Debug|x64.Build.0 = Debug|Any CPU + {7AD695F4-8DAB-48F0-B623-7CC71221221B}.Debug|x86.ActiveCfg = Debug|Any CPU + {7AD695F4-8DAB-48F0-B623-7CC71221221B}.Debug|x86.Build.0 = Debug|Any CPU {7AD695F4-8DAB-48F0-B623-7CC71221221B}.Release|Any CPU.ActiveCfg = Release|Any CPU {7AD695F4-8DAB-48F0-B623-7CC71221221B}.Release|Any CPU.Build.0 = Release|Any CPU + {7AD695F4-8DAB-48F0-B623-7CC71221221B}.Release|x64.ActiveCfg = Release|Any CPU + {7AD695F4-8DAB-48F0-B623-7CC71221221B}.Release|x64.Build.0 = Release|Any CPU + {7AD695F4-8DAB-48F0-B623-7CC71221221B}.Release|x86.ActiveCfg = Release|Any CPU + {7AD695F4-8DAB-48F0-B623-7CC71221221B}.Release|x86.Build.0 = Release|Any CPU {3B31A547-8D98-4DE2-B314-885C82474A42}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {3B31A547-8D98-4DE2-B314-885C82474A42}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3B31A547-8D98-4DE2-B314-885C82474A42}.Debug|x64.ActiveCfg = Debug|Any CPU + {3B31A547-8D98-4DE2-B314-885C82474A42}.Debug|x64.Build.0 = Debug|Any CPU + {3B31A547-8D98-4DE2-B314-885C82474A42}.Debug|x86.ActiveCfg = Debug|Any CPU + {3B31A547-8D98-4DE2-B314-885C82474A42}.Debug|x86.Build.0 = Debug|Any CPU {3B31A547-8D98-4DE2-B314-885C82474A42}.Release|Any CPU.ActiveCfg = Release|Any CPU {3B31A547-8D98-4DE2-B314-885C82474A42}.Release|Any CPU.Build.0 = Release|Any CPU + {3B31A547-8D98-4DE2-B314-885C82474A42}.Release|x64.ActiveCfg = Release|Any CPU + {3B31A547-8D98-4DE2-B314-885C82474A42}.Release|x64.Build.0 = Release|Any CPU + {3B31A547-8D98-4DE2-B314-885C82474A42}.Release|x86.ActiveCfg = Release|Any CPU + {3B31A547-8D98-4DE2-B314-885C82474A42}.Release|x86.Build.0 = Release|Any CPU {D3F5BCD1-1B75-421E-8C3A-B16F211680F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D3F5BCD1-1B75-421E-8C3A-B16F211680F6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D3F5BCD1-1B75-421E-8C3A-B16F211680F6}.Debug|x64.ActiveCfg = Debug|Any CPU + {D3F5BCD1-1B75-421E-8C3A-B16F211680F6}.Debug|x64.Build.0 = Debug|Any CPU + {D3F5BCD1-1B75-421E-8C3A-B16F211680F6}.Debug|x86.ActiveCfg = Debug|Any CPU + {D3F5BCD1-1B75-421E-8C3A-B16F211680F6}.Debug|x86.Build.0 = Debug|Any CPU {D3F5BCD1-1B75-421E-8C3A-B16F211680F6}.Release|Any CPU.ActiveCfg = Release|Any CPU {D3F5BCD1-1B75-421E-8C3A-B16F211680F6}.Release|Any CPU.Build.0 = Release|Any CPU + {D3F5BCD1-1B75-421E-8C3A-B16F211680F6}.Release|x64.ActiveCfg = Release|Any CPU + {D3F5BCD1-1B75-421E-8C3A-B16F211680F6}.Release|x64.Build.0 = Release|Any CPU + {D3F5BCD1-1B75-421E-8C3A-B16F211680F6}.Release|x86.ActiveCfg = Release|Any CPU + {D3F5BCD1-1B75-421E-8C3A-B16F211680F6}.Release|x86.Build.0 = Release|Any CPU {A52A877E-B6BA-410D-ADEE-0EE969734C50}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {A52A877E-B6BA-410D-ADEE-0EE969734C50}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A52A877E-B6BA-410D-ADEE-0EE969734C50}.Debug|x64.ActiveCfg = Debug|Any CPU + {A52A877E-B6BA-410D-ADEE-0EE969734C50}.Debug|x64.Build.0 = Debug|Any CPU + {A52A877E-B6BA-410D-ADEE-0EE969734C50}.Debug|x86.ActiveCfg = Debug|Any CPU + {A52A877E-B6BA-410D-ADEE-0EE969734C50}.Debug|x86.Build.0 = Debug|Any CPU {A52A877E-B6BA-410D-ADEE-0EE969734C50}.Release|Any CPU.ActiveCfg = Release|Any CPU {A52A877E-B6BA-410D-ADEE-0EE969734C50}.Release|Any CPU.Build.0 = Release|Any CPU + {A52A877E-B6BA-410D-ADEE-0EE969734C50}.Release|x64.ActiveCfg = Release|Any CPU + {A52A877E-B6BA-410D-ADEE-0EE969734C50}.Release|x64.Build.0 = Release|Any CPU + {A52A877E-B6BA-410D-ADEE-0EE969734C50}.Release|x86.ActiveCfg = Release|Any CPU + {A52A877E-B6BA-410D-ADEE-0EE969734C50}.Release|x86.Build.0 = Release|Any CPU {31B49528-4241-4DDB-8BB9-28F95148C602}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {31B49528-4241-4DDB-8BB9-28F95148C602}.Debug|Any CPU.Build.0 = Debug|Any CPU + {31B49528-4241-4DDB-8BB9-28F95148C602}.Debug|x64.ActiveCfg = Debug|Any CPU + {31B49528-4241-4DDB-8BB9-28F95148C602}.Debug|x64.Build.0 = Debug|Any CPU + {31B49528-4241-4DDB-8BB9-28F95148C602}.Debug|x86.ActiveCfg = Debug|Any CPU + {31B49528-4241-4DDB-8BB9-28F95148C602}.Debug|x86.Build.0 = Debug|Any CPU {31B49528-4241-4DDB-8BB9-28F95148C602}.Release|Any CPU.ActiveCfg = Release|Any CPU {31B49528-4241-4DDB-8BB9-28F95148C602}.Release|Any CPU.Build.0 = Release|Any CPU + {31B49528-4241-4DDB-8BB9-28F95148C602}.Release|x64.ActiveCfg = Release|Any CPU + {31B49528-4241-4DDB-8BB9-28F95148C602}.Release|x64.Build.0 = Release|Any CPU + {31B49528-4241-4DDB-8BB9-28F95148C602}.Release|x86.ActiveCfg = Release|Any CPU + {31B49528-4241-4DDB-8BB9-28F95148C602}.Release|x86.Build.0 = Release|Any CPU {B73D384F-62CA-4FD2-89C6-04DB2DC5AB9D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {B73D384F-62CA-4FD2-89C6-04DB2DC5AB9D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B73D384F-62CA-4FD2-89C6-04DB2DC5AB9D}.Debug|x64.ActiveCfg = Debug|Any CPU + {B73D384F-62CA-4FD2-89C6-04DB2DC5AB9D}.Debug|x64.Build.0 = Debug|Any CPU + {B73D384F-62CA-4FD2-89C6-04DB2DC5AB9D}.Debug|x86.ActiveCfg = Debug|Any CPU + {B73D384F-62CA-4FD2-89C6-04DB2DC5AB9D}.Debug|x86.Build.0 = Debug|Any CPU {B73D384F-62CA-4FD2-89C6-04DB2DC5AB9D}.Release|Any CPU.ActiveCfg = Release|Any CPU {B73D384F-62CA-4FD2-89C6-04DB2DC5AB9D}.Release|Any CPU.Build.0 = Release|Any CPU + {B73D384F-62CA-4FD2-89C6-04DB2DC5AB9D}.Release|x64.ActiveCfg = Release|Any CPU + {B73D384F-62CA-4FD2-89C6-04DB2DC5AB9D}.Release|x64.Build.0 = Release|Any CPU + {B73D384F-62CA-4FD2-89C6-04DB2DC5AB9D}.Release|x86.ActiveCfg = Release|Any CPU + {B73D384F-62CA-4FD2-89C6-04DB2DC5AB9D}.Release|x86.Build.0 = Release|Any CPU {D8EAB1F1-D2A9-49F9-BC09-7397F9CCFF10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D8EAB1F1-D2A9-49F9-BC09-7397F9CCFF10}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D8EAB1F1-D2A9-49F9-BC09-7397F9CCFF10}.Debug|x64.ActiveCfg = Debug|Any CPU + {D8EAB1F1-D2A9-49F9-BC09-7397F9CCFF10}.Debug|x64.Build.0 = Debug|Any CPU + {D8EAB1F1-D2A9-49F9-BC09-7397F9CCFF10}.Debug|x86.ActiveCfg = Debug|Any CPU + {D8EAB1F1-D2A9-49F9-BC09-7397F9CCFF10}.Debug|x86.Build.0 = Debug|Any CPU {D8EAB1F1-D2A9-49F9-BC09-7397F9CCFF10}.Release|Any CPU.ActiveCfg = Release|Any CPU {D8EAB1F1-D2A9-49F9-BC09-7397F9CCFF10}.Release|Any CPU.Build.0 = Release|Any CPU + {D8EAB1F1-D2A9-49F9-BC09-7397F9CCFF10}.Release|x64.ActiveCfg = Release|Any CPU + {D8EAB1F1-D2A9-49F9-BC09-7397F9CCFF10}.Release|x64.Build.0 = Release|Any CPU + {D8EAB1F1-D2A9-49F9-BC09-7397F9CCFF10}.Release|x86.ActiveCfg = Release|Any CPU + {D8EAB1F1-D2A9-49F9-BC09-7397F9CCFF10}.Release|x86.Build.0 = Release|Any CPU {D0EAA185-822C-45C8-A287-FD05AF138209}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D0EAA185-822C-45C8-A287-FD05AF138209}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D0EAA185-822C-45C8-A287-FD05AF138209}.Debug|x64.ActiveCfg = Debug|Any CPU + {D0EAA185-822C-45C8-A287-FD05AF138209}.Debug|x64.Build.0 = Debug|Any CPU + {D0EAA185-822C-45C8-A287-FD05AF138209}.Debug|x86.ActiveCfg = Debug|Any CPU + {D0EAA185-822C-45C8-A287-FD05AF138209}.Debug|x86.Build.0 = Debug|Any CPU {D0EAA185-822C-45C8-A287-FD05AF138209}.Release|Any CPU.ActiveCfg = Release|Any CPU {D0EAA185-822C-45C8-A287-FD05AF138209}.Release|Any CPU.Build.0 = Release|Any CPU - {C126ED4A-CE30-4E0D-9D1C-DDB7EEE4200E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C126ED4A-CE30-4E0D-9D1C-DDB7EEE4200E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C126ED4A-CE30-4E0D-9D1C-DDB7EEE4200E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C126ED4A-CE30-4E0D-9D1C-DDB7EEE4200E}.Release|Any CPU.Build.0 = Release|Any CPU + {D0EAA185-822C-45C8-A287-FD05AF138209}.Release|x64.ActiveCfg = Release|Any CPU + {D0EAA185-822C-45C8-A287-FD05AF138209}.Release|x64.Build.0 = Release|Any CPU + {D0EAA185-822C-45C8-A287-FD05AF138209}.Release|x86.ActiveCfg = Release|Any CPU + {D0EAA185-822C-45C8-A287-FD05AF138209}.Release|x86.Build.0 = Release|Any CPU + {08673D59-4943-43B8-AECF-C5FD4A6C1232}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {08673D59-4943-43B8-AECF-C5FD4A6C1232}.Debug|Any CPU.Build.0 = Debug|Any CPU + {08673D59-4943-43B8-AECF-C5FD4A6C1232}.Debug|x64.ActiveCfg = Debug|Any CPU + {08673D59-4943-43B8-AECF-C5FD4A6C1232}.Debug|x64.Build.0 = Debug|Any CPU + {08673D59-4943-43B8-AECF-C5FD4A6C1232}.Debug|x86.ActiveCfg = Debug|Any CPU + {08673D59-4943-43B8-AECF-C5FD4A6C1232}.Debug|x86.Build.0 = Debug|Any CPU + {08673D59-4943-43B8-AECF-C5FD4A6C1232}.Release|Any CPU.ActiveCfg = Release|Any CPU + {08673D59-4943-43B8-AECF-C5FD4A6C1232}.Release|Any CPU.Build.0 = Release|Any CPU + {08673D59-4943-43B8-AECF-C5FD4A6C1232}.Release|x64.ActiveCfg = Release|Any CPU + {08673D59-4943-43B8-AECF-C5FD4A6C1232}.Release|x64.Build.0 = Release|Any CPU + {08673D59-4943-43B8-AECF-C5FD4A6C1232}.Release|x86.ActiveCfg = Release|Any CPU + {08673D59-4943-43B8-AECF-C5FD4A6C1232}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -92,6 +186,7 @@ Global {A52A877E-B6BA-410D-ADEE-0EE969734C50} = {C9F34834-F918-4085-A8DE-F9E38FB03AF5} {31B49528-4241-4DDB-8BB9-28F95148C602} = {E3DA12B6-0025-4624-805C-F3406CA90122} {D8EAB1F1-D2A9-49F9-BC09-7397F9CCFF10} = {E3DA12B6-0025-4624-805C-F3406CA90122} + {08673D59-4943-43B8-AECF-C5FD4A6C1232} = {4AA549FB-C4F0-51C5-5F14-5CA538ED4FC4} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {B4A622B5-12C6-4159-B209-BB61E1200A7C} diff --git a/src/Attestation/Attestation/Az.Attestation.psd1 b/src/Attestation/Attestation/Az.Attestation.psd1 index c30c27c5851a..23822b070114 100644 --- a/src/Attestation/Attestation/Az.Attestation.psd1 +++ b/src/Attestation/Attestation/Az.Attestation.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 1/9/2025 +# Generated on: 2025-07-14 # @{ @@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '4.0.1'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.1.1'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'Attestation.Autorest/bin/Az.Attestation.private.dll', @@ -64,13 +64,13 @@ RequiredAssemblies = 'Attestation.Autorest/bin/Az.Attestation.private.dll', 'Microsoft.IdentityModel.Tokens.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module -FormatsToProcess = 'Attestation.Autorest\Az.Attestation.format.ps1xml' +FormatsToProcess = 'Attestation.Autorest/Az.Attestation.format.ps1xml' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @('Attestation.Autorest/Az.Attestation.psm1', @@ -108,7 +108,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','Attestation' + Tags = 'Azure', 'ResourceManager', 'ARM', 'Attestation' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -133,7 +133,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/Attestation/Attestation/help/Az.Attestation.md b/src/Attestation/Attestation/help/Az.Attestation.md index feed7d4507f7..a2d01c560ccc 100644 --- a/src/Attestation/Attestation/help/Az.Attestation.md +++ b/src/Attestation/Attestation/help/Az.Attestation.md @@ -42,5 +42,5 @@ Resets the policy from a tenant in Azure Attestationn.} Sets the policy from a tenant in Azure Attestationn. ### [Update-AzAttestationProvider](Update-AzAttestationProvider.md) -Updates the Attestation Provider. +Update the Attestation Provider. diff --git a/src/Attestation/Attestation/help/Get-AzAttestationDefaultProvider.md b/src/Attestation/Attestation/help/Get-AzAttestationDefaultProvider.md index e1773da80e85..605add9d744f 100644 --- a/src/Attestation/Attestation/help/Get-AzAttestationDefaultProvider.md +++ b/src/Attestation/Attestation/help/Get-AzAttestationDefaultProvider.md @@ -127,7 +127,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationIdentity @@ -180,9 +179,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api20201001.IAttestationProvider +### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationProvider -### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api20201001.IAttestationProviderListResult +### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationProviderListResult ## NOTES diff --git a/src/Attestation/Attestation/help/Get-AzAttestationProvider.md b/src/Attestation/Attestation/help/Get-AzAttestationProvider.md index fa17e71c9910..790acca6b56e 100644 --- a/src/Attestation/Attestation/help/Get-AzAttestationProvider.md +++ b/src/Attestation/Attestation/help/Get-AzAttestationProvider.md @@ -199,7 +199,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationIdentity @@ -268,9 +267,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api20201001.IAttestationProvider +### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationProvider -### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api20201001.IAttestationProviderListResult +### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationProviderListResult ## NOTES diff --git a/src/Attestation/Attestation/help/New-AzAttestationProvider.md b/src/Attestation/Attestation/help/New-AzAttestationProvider.md index 034573690b95..1baa962f09c6 100644 --- a/src/Attestation/Attestation/help/New-AzAttestationProvider.md +++ b/src/Attestation/Attestation/help/New-AzAttestationProvider.md @@ -12,12 +12,27 @@ Creates a new Attestation Provider. ## SYNTAX +### CreateExpanded (Default) ``` New-AzAttestationProvider -Name -ResourceGroupName [-SubscriptionId ] -Location [-PolicySigningCertificateKeyPath ] [-Tag ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` +### CreateViaJsonFilePath +``` +New-AzAttestationProvider -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### CreateViaJsonString +``` +New-AzAttestationProvider -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + ## DESCRIPTION Creates a new Attestation Provider. @@ -52,7 +67,8 @@ This command creates a new Attestation Provider named `testprovider2` with trust ## PARAMETERS ### -DefaultProfile -The credentials, account, tenant, and subscription used for communication with Azure. +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ```yaml Type: System.Management.Automation.PSObject @@ -66,12 +82,42 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -JsonFilePath +Path of Json file supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonFilePath +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -JsonString +Json string supplied to the Create operation + +```yaml +Type: System.String +Parameter Sets: CreateViaJsonString +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Location The supported Azure location where the attestation provider should be created. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: True @@ -99,12 +145,12 @@ Accept wildcard characters: False ### -PolicySigningCertificateKeyPath Specifies the set of trusted signing keys for issuance policy in a single certificate file. The value of the "keys" parameter is an array of JWK values. -Bydefault, the order of the JWK values within the array does not implyan order of preference among them, although applications of JWK Setscan choose to assign a meaning to the order for their purposes, ifdesired. +By default, the order of the JWK values within the array does not imply an order of preference among them, although applications of JWK Setscan choose to assign a meaning to the order for their purposes, if desired. To construct, see NOTES section for POLICYSIGNINGCERTIFICATEKEY properties and create a hash table. ```yaml Type: System.String -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -150,7 +196,7 @@ The tags that will be assigned to the attestation provider. ```yaml Type: System.Collections.Hashtable -Parameter Sets: (All) +Parameter Sets: CreateExpanded Aliases: Required: False @@ -198,7 +244,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.Api20201001.IAttestationProvider +### Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationProvider ## NOTES diff --git a/src/Attestation/Attestation/help/Remove-AzAttestationProvider.md b/src/Attestation/Attestation/help/Remove-AzAttestationProvider.md index a6860b9ee7ae..46da690ea891 100644 --- a/src/Attestation/Attestation/help/Remove-AzAttestationProvider.md +++ b/src/Attestation/Attestation/help/Remove-AzAttestationProvider.md @@ -72,7 +72,6 @@ Accept wildcard characters: False ### -InputObject Identity Parameter -To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.Attestation.Models.IAttestationIdentity diff --git a/src/Attestation/Attestation/help/Update-AzAttestationProvider.md b/src/Attestation/Attestation/help/Update-AzAttestationProvider.md index e014cf75f757..0ffb5395725d 100644 --- a/src/Attestation/Attestation/help/Update-AzAttestationProvider.md +++ b/src/Attestation/Attestation/help/Update-AzAttestationProvider.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Update-AzAttestationProvider ## SYNOPSIS -Updates the Attestation Provider. +Update the Attestation Provider. ## SYNTAX @@ -19,6 +19,20 @@ Update-AzAttestationProvider -Name -ResourceGroupName [-Subscr [] ``` +### UpdateViaJsonString +``` +Update-AzAttestationProvider -Name -ResourceGroupName [-SubscriptionId ] + -JsonString [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### UpdateViaJsonFilePath +``` +Update-AzAttestationProvider -Name -ResourceGroupName [-SubscriptionId ] + -JsonFilePath [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + ### UpdateViaIdentityExpanded ``` Update-AzAttestationProvider -InputObject [-Tag ] @@ -26,7 +40,7 @@ Update-AzAttestationProvider -InputObject [-Tag