From d09a4726e509d3ae3b6d01242c830a588ededc33 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Thu, 23 Dec 2021 12:48:01 +0000 Subject: [PATCH] CodeGen from PR 17116 in Azure/azure-rest-api-specs Merge bafcc3c0dde5cd2dcf6c733967aebf1ce2003173 into 698ebc782f3cc4650f6df1d765f6a38a6695ad50 --- ...SqlServerRecoverableSqlPoolsOperations.cs} | 0 .../Generated/IpFirewallRulesOperations.cs | 2 +- .../Models/BigDataPoolResourceInfo.cs | 4 +- .../Models/DynamicExecutorAllocation.cs | 20 +++++++- .../ExtendedServerBlobAuditingPolicy.cs | 47 ++++++++++++++++++- .../Models/ManagedIntegrationRuntime.cs | 27 ++++++++++- .../SelfHostedIntegrationRuntimeStatus.cs | 20 +++++++- .../Models/ServerBlobAuditingPolicy.cs | 47 ++++++++++++++++++- .../src/Generated/Models/SqlPool.cs | 12 ++--- .../src/Generated/Models/SqlPoolPatchInfo.cs | 12 ++--- .../Generated/Models/StorageAccountType.cs | 1 - .../src/Generated/Models/Workspace.cs | 11 ++++- .../SdkInfo_SynapseManagementClient.cs | 11 ----- .../SdkInfo_SynapseSqlVManagementClient.cs | 1 - ...SqlServerRecoverableSqlPoolsOperations.cs} | 0 ...ecoverableSqlPoolsOperationsExtensions.cs} | 0 16 files changed, 181 insertions(+), 34 deletions(-) rename sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/{IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs => IWorkspaceManagedSqlServerRecoverableSqlPoolsOperations.cs} (100%) rename sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/{WorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs => WorkspaceManagedSqlServerRecoverableSqlPoolsOperations.cs} (100%) rename sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/{WorkspaceManagedSqlServerRecoverableSqlpoolsOperationsExtensions.cs => WorkspaceManagedSqlServerRecoverableSqlPoolsOperationsExtensions.cs} (100%) diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceManagedSqlServerRecoverableSqlPoolsOperations.cs similarity index 100% rename from sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs rename to sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IWorkspaceManagedSqlServerRecoverableSqlPoolsOperations.cs diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IpFirewallRulesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IpFirewallRulesOperations.cs index 4be960cf03853..facd59a4a2cca 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IpFirewallRulesOperations.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IpFirewallRulesOperations.cs @@ -719,7 +719,7 @@ internal IpFirewallRulesOperations(SynapseManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/BigDataPoolResourceInfo.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/BigDataPoolResourceInfo.cs index 3555fb45f415b..ae07fd69bdf1b 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/BigDataPoolResourceInfo.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/BigDataPoolResourceInfo.cs @@ -121,10 +121,10 @@ public BigDataPoolResourceInfo() public AutoScaleProperties AutoScale { get; set; } /// - /// Gets or sets the time when the Big Data pool was created. + /// Gets the time when the Big Data pool was created. /// [JsonProperty(PropertyName = "properties.creationDate")] - public System.DateTime? CreationDate { get; set; } + public System.DateTime? CreationDate { get; private set; } /// /// Gets or sets auto-pausing properties diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/DynamicExecutorAllocation.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/DynamicExecutorAllocation.cs index 7fe223752c39b..248baac7c2edf 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/DynamicExecutorAllocation.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/DynamicExecutorAllocation.cs @@ -31,9 +31,15 @@ public DynamicExecutorAllocation() /// /// Indicates whether Dynamic Executor Allocation /// is enabled or not. - public DynamicExecutorAllocation(bool? enabled = default(bool?)) + /// The minimum number of executors + /// alloted + /// The maximum number of executors + /// alloted + public DynamicExecutorAllocation(bool? enabled = default(bool?), int? minExecutors = default(int?), int? maxExecutors = default(int?)) { Enabled = enabled; + MinExecutors = minExecutors; + MaxExecutors = maxExecutors; CustomInit(); } @@ -49,5 +55,17 @@ public DynamicExecutorAllocation() [JsonProperty(PropertyName = "enabled")] public bool? Enabled { get; set; } + /// + /// Gets or sets the minimum number of executors alloted + /// + [JsonProperty(PropertyName = "minExecutors")] + public int? MinExecutors { get; set; } + + /// + /// Gets or sets the maximum number of executors alloted + /// + [JsonProperty(PropertyName = "maxExecutors")] + public int? MaxExecutors { get; set; } + } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ExtendedServerBlobAuditingPolicy.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ExtendedServerBlobAuditingPolicy.cs index e9e1a29d40610..34cb5446ab7da 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ExtendedServerBlobAuditingPolicy.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ExtendedServerBlobAuditingPolicy.cs @@ -171,7 +171,27 @@ public ExtendedServerBlobAuditingPolicy() /// processed. /// The default minimum value is 1000 (1 second). The maximum is /// 2,147,483,647. - public ExtendedServerBlobAuditingPolicy(BlobAuditingPolicyState state, string id = default(string), string name = default(string), string type = default(string), string predicateExpression = default(string), string storageEndpoint = default(string), string storageAccountAccessKey = default(string), int? retentionDays = default(int?), IList auditActionsAndGroups = default(IList), System.Guid? storageAccountSubscriptionId = default(System.Guid?), bool? isStorageSecondaryKeyInUse = default(bool?), bool? isAzureMonitorTargetEnabled = default(bool?), int? queueDelayMs = default(int?)) + /// Specifies the state of devops + /// audit. If state is Enabled, devops logs will be sent to Azure + /// Monitor. + /// In order to send the events to Azure Monitor, specify 'State' as + /// 'Enabled', 'IsAzureMonitorTargetEnabled' as true and + /// 'IsDevopsAuditEnabled' as true + /// + /// When using REST API to configure auditing, Diagnostic Settings with + /// 'DevOpsOperationsAudit' diagnostic logs category on the master + /// database should also be created. + /// + /// Diagnostic Settings URI format: + /// PUT + /// https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview + /// + /// For more information, see [Diagnostic Settings REST + /// API](https://go.microsoft.com/fwlink/?linkid=2033207) + /// or [Diagnostic Settings + /// PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) + /// + public ExtendedServerBlobAuditingPolicy(BlobAuditingPolicyState state, string id = default(string), string name = default(string), string type = default(string), string predicateExpression = default(string), string storageEndpoint = default(string), string storageAccountAccessKey = default(string), int? retentionDays = default(int?), IList auditActionsAndGroups = default(IList), System.Guid? storageAccountSubscriptionId = default(System.Guid?), bool? isStorageSecondaryKeyInUse = default(bool?), bool? isAzureMonitorTargetEnabled = default(bool?), int? queueDelayMs = default(int?), bool? isDevopsAuditEnabled = default(bool?)) : base(id, name, type) { PredicateExpression = predicateExpression; @@ -184,6 +204,7 @@ public ExtendedServerBlobAuditingPolicy() IsStorageSecondaryKeyInUse = isStorageSecondaryKeyInUse; IsAzureMonitorTargetEnabled = isAzureMonitorTargetEnabled; QueueDelayMs = queueDelayMs; + IsDevopsAuditEnabled = isDevopsAuditEnabled; CustomInit(); } @@ -367,6 +388,30 @@ public ExtendedServerBlobAuditingPolicy() [JsonProperty(PropertyName = "properties.queueDelayMs")] public int? QueueDelayMs { get; set; } + /// + /// Gets or sets specifies the state of devops audit. If state is + /// Enabled, devops logs will be sent to Azure Monitor. + /// In order to send the events to Azure Monitor, specify 'State' as + /// 'Enabled', 'IsAzureMonitorTargetEnabled' as true and + /// 'IsDevopsAuditEnabled' as true + /// + /// When using REST API to configure auditing, Diagnostic Settings with + /// 'DevOpsOperationsAudit' diagnostic logs category on the master + /// database should also be created. + /// + /// Diagnostic Settings URI format: + /// PUT + /// https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview + /// + /// For more information, see [Diagnostic Settings REST + /// API](https://go.microsoft.com/fwlink/?linkid=2033207) + /// or [Diagnostic Settings + /// PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) + /// + /// + [JsonProperty(PropertyName = "properties.isDevopsAuditEnabled")] + public bool? IsDevopsAuditEnabled { get; set; } + /// /// Validate the object. /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ManagedIntegrationRuntime.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ManagedIntegrationRuntime.cs index 5d888b9bc8cf8..0dd7be25cf28b 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ManagedIntegrationRuntime.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ManagedIntegrationRuntime.cs @@ -48,12 +48,19 @@ public ManagedIntegrationRuntime() /// integration runtime. /// SSIS properties for managed /// integration runtime. - public ManagedIntegrationRuntime(IDictionary additionalProperties = default(IDictionary), string description = default(string), string state = default(string), IntegrationRuntimeComputeProperties computeProperties = default(IntegrationRuntimeComputeProperties), IntegrationRuntimeSsisProperties ssisProperties = default(IntegrationRuntimeSsisProperties)) + /// The reference name of the managed + /// virtual network. + /// The type of the managed virtual network. + /// The id of the managed virtual network. + public ManagedIntegrationRuntime(IDictionary additionalProperties = default(IDictionary), string description = default(string), string state = default(string), IntegrationRuntimeComputeProperties computeProperties = default(IntegrationRuntimeComputeProperties), IntegrationRuntimeSsisProperties ssisProperties = default(IntegrationRuntimeSsisProperties), string referenceName = default(string), string type = default(string), string id = default(string)) : base(additionalProperties, description) { State = state; ComputeProperties = computeProperties; SsisProperties = ssisProperties; + ReferenceName = referenceName; + Type = type; + Id = id; CustomInit(); } @@ -83,6 +90,24 @@ public ManagedIntegrationRuntime() [JsonProperty(PropertyName = "typeProperties.ssisProperties")] public IntegrationRuntimeSsisProperties SsisProperties { get; set; } + /// + /// Gets or sets the reference name of the managed virtual network. + /// + [JsonProperty(PropertyName = "managedVirtualNetwork.referenceName")] + public string ReferenceName { get; set; } + + /// + /// Gets or sets the type of the managed virtual network. + /// + [JsonProperty(PropertyName = "managedVirtualNetwork.type")] + public string Type { get; set; } + + /// + /// Gets or sets the id of the managed virtual network. + /// + [JsonProperty(PropertyName = "managedVirtualNetwork.id")] + public string Id { get; set; } + /// /// Validate the object. /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SelfHostedIntegrationRuntimeStatus.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SelfHostedIntegrationRuntimeStatus.cs index 518457957ec80..27b25a8826987 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SelfHostedIntegrationRuntimeStatus.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SelfHostedIntegrationRuntimeStatus.cs @@ -82,7 +82,11 @@ public SelfHostedIntegrationRuntimeStatus() /// center. /// The estimated time when the self-hosted /// integration runtime will be updated. - public SelfHostedIntegrationRuntimeStatus(IDictionary additionalProperties = default(IDictionary), string dataFactoryName = default(string), string state = default(string), System.DateTime? createTime = default(System.DateTime?), string taskQueueId = default(string), string nodeCommunicationChannelEncryptionMode = default(string), string internalChannelEncryption = default(string), string version = default(string), IList nodes = default(IList), System.DateTime? scheduledUpdateDate = default(System.DateTime?), string updateDelayOffset = default(string), string localTimeZoneOffset = default(string), IDictionary capabilities = default(IDictionary), IList serviceUrls = default(IList), string autoUpdate = default(string), string versionStatus = default(string), IList links = default(IList), string pushedVersion = default(string), string latestVersion = default(string), System.DateTime? autoUpdateETA = default(System.DateTime?)) + /// The service region of the integration + /// runtime + /// The newer versions on download + /// center. + public SelfHostedIntegrationRuntimeStatus(IDictionary additionalProperties = default(IDictionary), string dataFactoryName = default(string), string state = default(string), System.DateTime? createTime = default(System.DateTime?), string taskQueueId = default(string), string nodeCommunicationChannelEncryptionMode = default(string), string internalChannelEncryption = default(string), string version = default(string), IList nodes = default(IList), System.DateTime? scheduledUpdateDate = default(System.DateTime?), string updateDelayOffset = default(string), string localTimeZoneOffset = default(string), IDictionary capabilities = default(IDictionary), IList serviceUrls = default(IList), string autoUpdate = default(string), string versionStatus = default(string), IList links = default(IList), string pushedVersion = default(string), string latestVersion = default(string), System.DateTime? autoUpdateETA = default(System.DateTime?), string serviceRegion = default(string), IList newerVersions = default(IList)) : base(additionalProperties, dataFactoryName, state) { CreateTime = createTime; @@ -102,6 +106,8 @@ public SelfHostedIntegrationRuntimeStatus() PushedVersion = pushedVersion; LatestVersion = latestVersion; AutoUpdateETA = autoUpdateETA; + ServiceRegion = serviceRegion; + NewerVersions = newerVersions; CustomInit(); } @@ -224,5 +230,17 @@ public SelfHostedIntegrationRuntimeStatus() [JsonProperty(PropertyName = "typeProperties.autoUpdateETA")] public System.DateTime? AutoUpdateETA { get; private set; } + /// + /// Gets or sets the service region of the integration runtime + /// + [JsonProperty(PropertyName = "typeProperties.serviceRegion")] + public string ServiceRegion { get; set; } + + /// + /// Gets or sets the newer versions on download center. + /// + [JsonProperty(PropertyName = "typeProperties.newerVersions")] + public IList NewerVersions { get; set; } + } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ServerBlobAuditingPolicy.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ServerBlobAuditingPolicy.cs index 7594035f94d02..f022c43779791 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ServerBlobAuditingPolicy.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ServerBlobAuditingPolicy.cs @@ -167,7 +167,27 @@ public ServerBlobAuditingPolicy() /// processed. /// The default minimum value is 1000 (1 second). The maximum is /// 2,147,483,647. - public ServerBlobAuditingPolicy(BlobAuditingPolicyState state, string id = default(string), string name = default(string), string type = default(string), string storageEndpoint = default(string), string storageAccountAccessKey = default(string), int? retentionDays = default(int?), IList auditActionsAndGroups = default(IList), System.Guid? storageAccountSubscriptionId = default(System.Guid?), bool? isStorageSecondaryKeyInUse = default(bool?), bool? isAzureMonitorTargetEnabled = default(bool?), int? queueDelayMs = default(int?)) + /// Specifies the state of devops + /// audit. If state is Enabled, devops logs will be sent to Azure + /// Monitor. + /// In order to send the events to Azure Monitor, specify 'State' as + /// 'Enabled', 'IsAzureMonitorTargetEnabled' as true and + /// 'IsDevopsAuditEnabled' as true + /// + /// When using REST API to configure auditing, Diagnostic Settings with + /// 'DevOpsOperationsAudit' diagnostic logs category on the master + /// database should also be created. + /// + /// Diagnostic Settings URI format: + /// PUT + /// https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview + /// + /// For more information, see [Diagnostic Settings REST + /// API](https://go.microsoft.com/fwlink/?linkid=2033207) + /// or [Diagnostic Settings + /// PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) + /// + public ServerBlobAuditingPolicy(BlobAuditingPolicyState state, string id = default(string), string name = default(string), string type = default(string), string storageEndpoint = default(string), string storageAccountAccessKey = default(string), int? retentionDays = default(int?), IList auditActionsAndGroups = default(IList), System.Guid? storageAccountSubscriptionId = default(System.Guid?), bool? isStorageSecondaryKeyInUse = default(bool?), bool? isAzureMonitorTargetEnabled = default(bool?), int? queueDelayMs = default(int?), bool? isDevopsAuditEnabled = default(bool?)) : base(id, name, type) { State = state; @@ -179,6 +199,7 @@ public ServerBlobAuditingPolicy() IsStorageSecondaryKeyInUse = isStorageSecondaryKeyInUse; IsAzureMonitorTargetEnabled = isAzureMonitorTargetEnabled; QueueDelayMs = queueDelayMs; + IsDevopsAuditEnabled = isDevopsAuditEnabled; CustomInit(); } @@ -355,6 +376,30 @@ public ServerBlobAuditingPolicy() [JsonProperty(PropertyName = "properties.queueDelayMs")] public int? QueueDelayMs { get; set; } + /// + /// Gets or sets specifies the state of devops audit. If state is + /// Enabled, devops logs will be sent to Azure Monitor. + /// In order to send the events to Azure Monitor, specify 'State' as + /// 'Enabled', 'IsAzureMonitorTargetEnabled' as true and + /// 'IsDevopsAuditEnabled' as true + /// + /// When using REST API to configure auditing, Diagnostic Settings with + /// 'DevOpsOperationsAudit' diagnostic logs category on the master + /// database should also be created. + /// + /// Diagnostic Settings URI format: + /// PUT + /// https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Sql/servers/{serverName}/databases/master/providers/microsoft.insights/diagnosticSettings/{settingsName}?api-version=2017-05-01-preview + /// + /// For more information, see [Diagnostic Settings REST + /// API](https://go.microsoft.com/fwlink/?linkid=2033207) + /// or [Diagnostic Settings + /// PowerShell](https://go.microsoft.com/fwlink/?linkid=2033043) + /// + /// + [JsonProperty(PropertyName = "properties.isDevopsAuditEnabled")] + public bool? IsDevopsAuditEnabled { get; set; } + /// /// Validate the object. /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPool.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPool.cs index 271494667a1ef..c1aa5cc83021b 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPool.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPool.cs @@ -77,7 +77,7 @@ public SqlPool() /// Date the SQL pool was created /// The storage account type used to /// store backups for this sql pool. Possible values include: 'GRS', - /// 'LRS', 'ZRS' + /// 'LRS' /// Specifies the time that /// the sql pool was deleted public SqlPool(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), Sku sku = default(Sku), long? maxSizeBytes = default(long?), string collation = default(string), string sourceDatabaseId = default(string), string recoverableDatabaseId = default(string), string provisioningState = default(string), string status = default(string), System.DateTime? restorePointInTime = default(System.DateTime?), string createMode = default(string), System.DateTime? creationDate = default(System.DateTime?), string storageAccountType = default(string), System.DateTime? sourceDatabaseDeletionDate = default(System.DateTime?)) @@ -140,10 +140,10 @@ public SqlPool() public string ProvisioningState { get; set; } /// - /// Gets or sets resource status + /// Gets resource status /// [JsonProperty(PropertyName = "properties.status")] - public string Status { get; set; } + public string Status { get; private set; } /// /// Gets or sets snapshot time to restore @@ -175,14 +175,14 @@ public SqlPool() public string CreateMode { get; set; } /// - /// Gets or sets date the SQL pool was created + /// Gets date the SQL pool was created /// [JsonProperty(PropertyName = "properties.creationDate")] - public System.DateTime? CreationDate { get; set; } + public System.DateTime? CreationDate { get; private set; } /// /// Gets or sets the storage account type used to store backups for - /// this sql pool. Possible values include: 'GRS', 'LRS', 'ZRS' + /// this sql pool. Possible values include: 'GRS', 'LRS' /// [JsonProperty(PropertyName = "properties.storageAccountType")] public string StorageAccountType { get; set; } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolPatchInfo.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolPatchInfo.cs index c09cf8a8d5f56..548a368c18258 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolPatchInfo.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolPatchInfo.cs @@ -71,7 +71,7 @@ public SqlPoolPatchInfo() /// Date the SQL pool was created /// The storage account type used to /// store backups for this sql pool. Possible values include: 'GRS', - /// 'LRS', 'ZRS' + /// 'LRS' /// Specifies the time that /// the sql pool was deleted public SqlPoolPatchInfo(IDictionary tags = default(IDictionary), string location = default(string), Sku sku = default(Sku), long? maxSizeBytes = default(long?), string collation = default(string), string sourceDatabaseId = default(string), string recoverableDatabaseId = default(string), string provisioningState = default(string), string status = default(string), System.DateTime? restorePointInTime = default(System.DateTime?), string createMode = default(string), System.DateTime? creationDate = default(System.DateTime?), string storageAccountType = default(string), System.DateTime? sourceDatabaseDeletionDate = default(System.DateTime?)) @@ -147,10 +147,10 @@ public SqlPoolPatchInfo() public string ProvisioningState { get; set; } /// - /// Gets or sets resource status + /// Gets resource status /// [JsonProperty(PropertyName = "properties.status")] - public string Status { get; set; } + public string Status { get; private set; } /// /// Gets or sets snapshot time to restore @@ -182,14 +182,14 @@ public SqlPoolPatchInfo() public string CreateMode { get; set; } /// - /// Gets or sets date the SQL pool was created + /// Gets date the SQL pool was created /// [JsonProperty(PropertyName = "properties.creationDate")] - public System.DateTime? CreationDate { get; set; } + public System.DateTime? CreationDate { get; private set; } /// /// Gets or sets the storage account type used to store backups for - /// this sql pool. Possible values include: 'GRS', 'LRS', 'ZRS' + /// this sql pool. Possible values include: 'GRS', 'LRS' /// [JsonProperty(PropertyName = "properties.storageAccountType")] public string StorageAccountType { get; set; } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/StorageAccountType.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/StorageAccountType.cs index 8f3102a51a6a4..28e47aae36fae 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/StorageAccountType.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/StorageAccountType.cs @@ -18,6 +18,5 @@ public static class StorageAccountType { public const string GRS = "GRS"; public const string LRS = "LRS"; - public const string ZRS = "ZRS"; } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/Workspace.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/Workspace.cs index 8b9b203317d95..8ace1e4f6db93 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/Workspace.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/Workspace.cs @@ -82,8 +82,10 @@ public Workspace() /// Workspace settings /// Enable or Disable /// AzureADOnlyAuthentication on All Workspace subresource + /// Is + /// trustedServiceBypassEnabled for the workspace /// Identity of the workspace - public Workspace(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), DataLakeStorageAccountDetails defaultDataLakeStorage = default(DataLakeStorageAccountDetails), string sqlAdministratorLoginPassword = default(string), string managedResourceGroupName = default(string), string provisioningState = default(string), string sqlAdministratorLogin = default(string), VirtualNetworkProfile virtualNetworkProfile = default(VirtualNetworkProfile), IDictionary connectivityEndpoints = default(IDictionary), string managedVirtualNetwork = default(string), IList privateEndpointConnections = default(IList), EncryptionDetails encryption = default(EncryptionDetails), System.Guid? workspaceUID = default(System.Guid?), IDictionary extraProperties = default(IDictionary), ManagedVirtualNetworkSettings managedVirtualNetworkSettings = default(ManagedVirtualNetworkSettings), WorkspaceRepositoryConfiguration workspaceRepositoryConfiguration = default(WorkspaceRepositoryConfiguration), PurviewConfiguration purviewConfiguration = default(PurviewConfiguration), string adlaResourceId = default(string), string publicNetworkAccess = default(string), CspWorkspaceAdminProperties cspWorkspaceAdminProperties = default(CspWorkspaceAdminProperties), IDictionary settings = default(IDictionary), bool? azureADOnlyAuthentication = default(bool?), ManagedIdentity identity = default(ManagedIdentity)) + public Workspace(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), DataLakeStorageAccountDetails defaultDataLakeStorage = default(DataLakeStorageAccountDetails), string sqlAdministratorLoginPassword = default(string), string managedResourceGroupName = default(string), string provisioningState = default(string), string sqlAdministratorLogin = default(string), VirtualNetworkProfile virtualNetworkProfile = default(VirtualNetworkProfile), IDictionary connectivityEndpoints = default(IDictionary), string managedVirtualNetwork = default(string), IList privateEndpointConnections = default(IList), EncryptionDetails encryption = default(EncryptionDetails), System.Guid? workspaceUID = default(System.Guid?), IDictionary extraProperties = default(IDictionary), ManagedVirtualNetworkSettings managedVirtualNetworkSettings = default(ManagedVirtualNetworkSettings), WorkspaceRepositoryConfiguration workspaceRepositoryConfiguration = default(WorkspaceRepositoryConfiguration), PurviewConfiguration purviewConfiguration = default(PurviewConfiguration), string adlaResourceId = default(string), string publicNetworkAccess = default(string), CspWorkspaceAdminProperties cspWorkspaceAdminProperties = default(CspWorkspaceAdminProperties), IDictionary settings = default(IDictionary), bool? azureADOnlyAuthentication = default(bool?), bool? trustedServiceBypassEnabled = default(bool?), ManagedIdentity identity = default(ManagedIdentity)) : base(location, id, name, type, tags) { DefaultDataLakeStorage = defaultDataLakeStorage; @@ -106,6 +108,7 @@ public Workspace() CspWorkspaceAdminProperties = cspWorkspaceAdminProperties; Settings = settings; AzureADOnlyAuthentication = azureADOnlyAuthentication; + TrustedServiceBypassEnabled = trustedServiceBypassEnabled; Identity = identity; CustomInit(); } @@ -245,6 +248,12 @@ public Workspace() [JsonProperty(PropertyName = "properties.azureADOnlyAuthentication")] public bool? AzureADOnlyAuthentication { get; set; } + /// + /// Gets or sets is trustedServiceBypassEnabled for the workspace + /// + [JsonProperty(PropertyName = "properties.trustedServiceBypassEnabled")] + public bool? TrustedServiceBypassEnabled { get; set; } + /// /// Gets or sets identity of the workspace /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseManagementClient.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseManagementClient.cs index 719f8e3446e66..76c58d376ad05 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseManagementClient.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseManagementClient.cs @@ -94,16 +94,5 @@ public static IEnumerable> ApiInfo_SynapseManageme }.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/main/specification/synapse/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\\code\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "main"; - public static readonly String GithubCommidId = "c0f5f5f439ce6152ff3c078f9ba02f2549b2b58c"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } - diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseSqlVManagementClient.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseSqlVManagementClient.cs index 55467ab958c7f..0ca731a1cbdb0 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseSqlVManagementClient.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseSqlVManagementClient.cs @@ -27,4 +27,3 @@ public static IEnumerable> ApiInfo_SynapseSqlVMana } } } - diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlPoolsOperations.cs similarity index 100% rename from sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs rename to sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlPoolsOperations.cs diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlpoolsOperationsExtensions.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlPoolsOperationsExtensions.cs similarity index 100% rename from sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlpoolsOperationsExtensions.cs rename to sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlPoolsOperationsExtensions.cs