From 913501ed4fa90ac4c103c0cad9a10d0729608581 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 30 Jul 2021 06:24:25 +0000 Subject: [PATCH] CodeGen from PR 14749 in Azure/azure-rest-api-specs Merge 6a5f970e9f7e2ed91bf0c11289daa8743f28e131 into 682c9680fd6ac7746d701bcf0c69948a3199671a --- .../src/Generated/Models/SignalRFeature.cs | 3 +- .../src/Generated/Models/SignalRResource.cs | 42 +------------------ .../SdkInfo_SignalRManagementClient.cs | 23 +++------- .../src/Generated/SignalRManagementClient.cs | 2 +- 4 files changed, 10 insertions(+), 60 deletions(-) diff --git a/sdk/signalr/Microsoft.Azure.Management.SignalR/src/Generated/Models/SignalRFeature.cs b/sdk/signalr/Microsoft.Azure.Management.SignalR/src/Generated/Models/SignalRFeature.cs index 021363757bbc..7cb8f344fd2d 100644 --- a/sdk/signalr/Microsoft.Azure.Management.SignalR/src/Generated/Models/SignalRFeature.cs +++ b/sdk/signalr/Microsoft.Azure.Management.SignalR/src/Generated/Models/SignalRFeature.cs @@ -17,7 +17,8 @@ namespace Microsoft.Azure.Management.SignalR.Models using System.Linq; /// - /// Feature of a resource, which controls the runtime behavior. + /// Feature of a SignalR resource, which controls the SignalR runtime + /// behavior. /// public partial class SignalRFeature { diff --git a/sdk/signalr/Microsoft.Azure.Management.SignalR/src/Generated/Models/SignalRResource.cs b/sdk/signalr/Microsoft.Azure.Management.SignalR/src/Generated/Models/SignalRResource.cs index 7caa9f303513..4100f9ce65af 100644 --- a/sdk/signalr/Microsoft.Azure.Management.SignalR/src/Generated/Models/SignalRResource.cs +++ b/sdk/signalr/Microsoft.Azure.Management.SignalR/src/Generated/Models/SignalRResource.cs @@ -78,24 +78,13 @@ public SignalRResource() /// Upstream settings when the service is in /// server-less mode. /// Network ACLs - /// Enable or disable public network - /// access. Default to "Enabled". - /// When it's Enabled, network ACLs still apply. - /// When it's Disabled, public network access is always disabled no - /// matter what you set in network ACLs. - /// DisableLocalAuth - /// Enable or disable local auth with AccessKey - /// When set as true, connection with AccessKey=xxx won't work. - /// disableAadAuth - /// Enable or disable aad auth - /// When set as true, connection with AuthType=aad won't work. /// The kind of the service - e.g. "SignalR" for /// "Microsoft.SignalRService/SignalR". Possible values include: /// 'SignalR', 'RawWebSockets' /// The managed identity response /// Metadata pertaining to creation and last /// modification of the resource. - public SignalRResource(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ResourceSku sku = default(ResourceSku), string provisioningState = default(string), string externalIP = default(string), string hostName = default(string), int? publicPort = default(int?), int? serverPort = default(int?), string version = default(string), IList privateEndpointConnections = default(IList), IList sharedPrivateLinkResources = default(IList), SignalRTlsSettings tls = default(SignalRTlsSettings), IList features = default(IList), SignalRCorsSettings cors = default(SignalRCorsSettings), ServerlessUpstreamSettings upstream = default(ServerlessUpstreamSettings), SignalRNetworkACLs networkACLs = default(SignalRNetworkACLs), string publicNetworkAccess = default(string), bool? disableLocalAuth = default(bool?), bool? disableAadAuth = default(bool?), string kind = default(string), ManagedIdentity identity = default(ManagedIdentity), SystemData systemData = default(SystemData)) + public SignalRResource(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary tags = default(IDictionary), ResourceSku sku = default(ResourceSku), string provisioningState = default(string), string externalIP = default(string), string hostName = default(string), int? publicPort = default(int?), int? serverPort = default(int?), string version = default(string), IList privateEndpointConnections = default(IList), IList sharedPrivateLinkResources = default(IList), SignalRTlsSettings tls = default(SignalRTlsSettings), IList features = default(IList), SignalRCorsSettings cors = default(SignalRCorsSettings), ServerlessUpstreamSettings upstream = default(ServerlessUpstreamSettings), SignalRNetworkACLs networkACLs = default(SignalRNetworkACLs), string kind = default(string), ManagedIdentity identity = default(ManagedIdentity), SystemData systemData = default(SystemData)) : base(id, name, type, location, tags) { Sku = sku; @@ -112,9 +101,6 @@ public SignalRResource() Cors = cors; Upstream = upstream; NetworkACLs = networkACLs; - PublicNetworkAccess = publicNetworkAccess; - DisableLocalAuth = disableLocalAuth; - DisableAadAuth = disableAadAuth; Kind = kind; Identity = identity; SystemData = systemData; @@ -226,32 +212,6 @@ public SignalRResource() [JsonProperty(PropertyName = "properties.networkACLs")] public SignalRNetworkACLs NetworkACLs { get; set; } - /// - /// Gets or sets enable or disable public network access. Default to - /// "Enabled". - /// When it's Enabled, network ACLs still apply. - /// When it's Disabled, public network access is always disabled no - /// matter what you set in network ACLs. - /// - [JsonProperty(PropertyName = "properties.publicNetworkAccess")] - public string PublicNetworkAccess { get; set; } - - /// - /// Gets or sets disableLocalAuth - /// Enable or disable local auth with AccessKey - /// When set as true, connection with AccessKey=xxx won't work. - /// - [JsonProperty(PropertyName = "properties.disableLocalAuth")] - public bool? DisableLocalAuth { get; set; } - - /// - /// Gets or sets disableAadAuth - /// Enable or disable aad auth - /// When set as true, connection with AuthType=aad won't work. - /// - [JsonProperty(PropertyName = "properties.disableAadAuth")] - public bool? DisableAadAuth { get; set; } - /// /// Gets or sets the kind of the service - e.g. "SignalR" for /// "Microsoft.SignalRService/SignalR". Possible values include: diff --git a/sdk/signalr/Microsoft.Azure.Management.SignalR/src/Generated/SdkInfo_SignalRManagementClient.cs b/sdk/signalr/Microsoft.Azure.Management.SignalR/src/Generated/SdkInfo_SignalRManagementClient.cs index 9bd24ec5d02a..26ff83e5adbc 100644 --- a/sdk/signalr/Microsoft.Azure.Management.SignalR/src/Generated/SdkInfo_SignalRManagementClient.cs +++ b/sdk/signalr/Microsoft.Azure.Management.SignalR/src/Generated/SdkInfo_SignalRManagementClient.cs @@ -19,25 +19,14 @@ public static IEnumerable> ApiInfo_SignalRManageme { return new Tuple[] { - new Tuple("SignalRService", "Operations", "2021-06-01-preview"), - new Tuple("SignalRService", "SignalR", "2021-06-01-preview"), - new Tuple("SignalRService", "SignalRPrivateEndpointConnections", "2021-06-01-preview"), - new Tuple("SignalRService", "SignalRPrivateLinkResources", "2021-06-01-preview"), - new Tuple("SignalRService", "SignalRSharedPrivateLinkResources", "2021-06-01-preview"), - new Tuple("SignalRService", "Usages", "2021-06-01-preview"), + new Tuple("SignalRService", "Operations", "2021-04-01-preview"), + new Tuple("SignalRService", "SignalR", "2021-04-01-preview"), + new Tuple("SignalRService", "SignalRPrivateEndpointConnections", "2021-04-01-preview"), + new Tuple("SignalRService", "SignalRPrivateLinkResources", "2021-04-01-preview"), + new Tuple("SignalRService", "SignalRSharedPrivateLinkResources", "2021-04-01-preview"), + new Tuple("SignalRService", "Usages", "2021-04-01-preview"), }.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/signalr/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\\Users\\biqian\\source\\repos\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "9705c3528da31ea3def2acf3af715ae1f185e318"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } - diff --git a/sdk/signalr/Microsoft.Azure.Management.SignalR/src/Generated/SignalRManagementClient.cs b/sdk/signalr/Microsoft.Azure.Management.SignalR/src/Generated/SignalRManagementClient.cs index 7241c7ee4921..414108544035 100644 --- a/sdk/signalr/Microsoft.Azure.Management.SignalR/src/Generated/SignalRManagementClient.cs +++ b/sdk/signalr/Microsoft.Azure.Management.SignalR/src/Generated/SignalRManagementClient.cs @@ -354,7 +354,7 @@ private void Initialize() SignalRPrivateLinkResources = new SignalRPrivateLinkResourcesOperations(this); SignalRSharedPrivateLinkResources = new SignalRSharedPrivateLinkResourcesOperations(this); BaseUri = new System.Uri("https://management.azure.com"); - ApiVersion = "2021-06-01-preview"; + ApiVersion = "2021-04-01-preview"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true;