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 7cb8f344fd2d..021363757bbc 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,8 +17,7 @@ namespace Microsoft.Azure.Management.SignalR.Models using System.Linq; /// - /// Feature of a SignalR resource, which controls the SignalR runtime - /// behavior. + /// Feature of a resource, which controls the 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 4100f9ce65af..7caa9f303513 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,13 +78,24 @@ 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 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 publicNetworkAccess = default(string), bool? disableLocalAuth = default(bool?), bool? disableAadAuth = default(bool?), string kind = default(string), ManagedIdentity identity = default(ManagedIdentity), SystemData systemData = default(SystemData)) : base(id, name, type, location, tags) { Sku = sku; @@ -101,6 +112,9 @@ public SignalRResource() Cors = cors; Upstream = upstream; NetworkACLs = networkACLs; + PublicNetworkAccess = publicNetworkAccess; + DisableLocalAuth = disableLocalAuth; + DisableAadAuth = disableAadAuth; Kind = kind; Identity = identity; SystemData = systemData; @@ -212,6 +226,32 @@ 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 2aa9277aa8d6..ff3e39107d14 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-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"), + 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"), }.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=D:\\repo\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "0c9b217390dd7eb2d3cd6b880d0ca2c781ff86fe"; - 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 414108544035..7241c7ee4921 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-04-01-preview"; + ApiVersion = "2021-06-01-preview"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true;