From 730ba6081c873e0326db46998ba09c1394bd016d Mon Sep 17 00:00:00 2001 From: SDK Automation Date: Fri, 24 Jul 2020 02:10:11 +0000 Subject: [PATCH] Generated from 87687d3b68c76a39bea04e1b236339f5cd64b315 Merge remote-tracking branch 'origin/master' into attestation --- .../src/Generated/Models/AttestationProvider.cs | 10 +++------- .../Generated/SdkInfo_AttestationManagementClient.cs | 11 ----------- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/sdk/attestation/Microsoft.Azure.Management.Attestation/src/Generated/Models/AttestationProvider.cs b/sdk/attestation/Microsoft.Azure.Management.Attestation/src/Generated/Models/AttestationProvider.cs index f62c9c9d8376..b1691b4374f4 100644 --- a/sdk/attestation/Microsoft.Azure.Management.Attestation/src/Generated/Models/AttestationProvider.cs +++ b/sdk/attestation/Microsoft.Azure.Management.Attestation/src/Generated/Models/AttestationProvider.cs @@ -36,8 +36,6 @@ public AttestationProvider() /// /// The geo-location where the resource /// lives - /// Status of attestation service. Possible values - /// include: 'Ready', 'NotReady', 'Error' /// Fully qualified resource Id for the resource. Ex - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} /// The name of the resource @@ -47,8 +45,10 @@ public AttestationProvider() /// Resource tags. /// Trust model for the attestation service /// instance. + /// Status of attestation service. Possible values + /// include: 'Ready', 'NotReady', 'Error' /// Gets the uri of attestation service - public AttestationProvider(string location, string status, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string trustModel = default(string), string attestUri = default(string)) + public AttestationProvider(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string trustModel = default(string), string status = default(string), string attestUri = default(string)) : base(location, id, name, type, tags) { TrustModel = trustModel; @@ -90,10 +90,6 @@ public AttestationProvider() public override void Validate() { base.Validate(); - if (Status == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "Status"); - } } } } diff --git a/sdk/attestation/Microsoft.Azure.Management.Attestation/src/Generated/SdkInfo_AttestationManagementClient.cs b/sdk/attestation/Microsoft.Azure.Management.Attestation/src/Generated/SdkInfo_AttestationManagementClient.cs index 7dafe39ff70e..d73cbdde8c92 100644 --- a/sdk/attestation/Microsoft.Azure.Management.Attestation/src/Generated/SdkInfo_AttestationManagementClient.cs +++ b/sdk/attestation/Microsoft.Azure.Management.Attestation/src/Generated/SdkInfo_AttestationManagementClient.cs @@ -24,16 +24,5 @@ public static IEnumerable> ApiInfo_AttestationMana }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "v2"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/attestation/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=E:\\git\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "9dbff8c6f75666257e65d40ef2cf9d58063514e0"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } -