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; } /// <summary> - /// Gets or sets the time when the Big Data pool was created. + /// Gets the time when the Big Data pool was created. /// </summary> [JsonProperty(PropertyName = "properties.creationDate")] - public System.DateTime? CreationDate { get; set; } + public System.DateTime? CreationDate { get; private set; } /// <summary> /// 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() /// </summary> /// <param name="enabled">Indicates whether Dynamic Executor Allocation /// is enabled or not.</param> - public DynamicExecutorAllocation(bool? enabled = default(bool?)) + /// <param name="minExecutors">The minimum number of executors + /// alloted</param> + /// <param name="maxExecutors">The maximum number of executors + /// alloted</param> + 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; } + /// <summary> + /// Gets or sets the minimum number of executors alloted + /// </summary> + [JsonProperty(PropertyName = "minExecutors")] + public int? MinExecutors { get; set; } + + /// <summary> + /// Gets or sets the maximum number of executors alloted + /// </summary> + [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.</param> - 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<string> auditActionsAndGroups = default(IList<string>), System.Guid? storageAccountSubscriptionId = default(System.Guid?), bool? isStorageSecondaryKeyInUse = default(bool?), bool? isAzureMonitorTargetEnabled = default(bool?), int? queueDelayMs = default(int?)) + /// <param name="isDevopsAuditEnabled">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) + /// </param> + 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<string> auditActionsAndGroups = default(IList<string>), 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; } + /// <summary> + /// 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) + /// + /// </summary> + [JsonProperty(PropertyName = "properties.isDevopsAuditEnabled")] + public bool? IsDevopsAuditEnabled { get; set; } + /// <summary> /// Validate the object. /// </summary> 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.</param> /// <param name="ssisProperties">SSIS properties for managed /// integration runtime.</param> - public ManagedIntegrationRuntime(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), string description = default(string), string state = default(string), IntegrationRuntimeComputeProperties computeProperties = default(IntegrationRuntimeComputeProperties), IntegrationRuntimeSsisProperties ssisProperties = default(IntegrationRuntimeSsisProperties)) + /// <param name="referenceName">The reference name of the managed + /// virtual network.</param> + /// <param name="type">The type of the managed virtual network.</param> + /// <param name="id">The id of the managed virtual network.</param> + public ManagedIntegrationRuntime(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), 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; } + /// <summary> + /// Gets or sets the reference name of the managed virtual network. + /// </summary> + [JsonProperty(PropertyName = "managedVirtualNetwork.referenceName")] + public string ReferenceName { get; set; } + + /// <summary> + /// Gets or sets the type of the managed virtual network. + /// </summary> + [JsonProperty(PropertyName = "managedVirtualNetwork.type")] + public string Type { get; set; } + + /// <summary> + /// Gets or sets the id of the managed virtual network. + /// </summary> + [JsonProperty(PropertyName = "managedVirtualNetwork.id")] + public string Id { get; set; } + /// <summary> /// Validate the object. /// </summary> 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.</param> /// <param name="autoUpdateETA">The estimated time when the self-hosted /// integration runtime will be updated.</param> - public SelfHostedIntegrationRuntimeStatus(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), 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<SelfHostedIntegrationRuntimeNode> nodes = default(IList<SelfHostedIntegrationRuntimeNode>), System.DateTime? scheduledUpdateDate = default(System.DateTime?), string updateDelayOffset = default(string), string localTimeZoneOffset = default(string), IDictionary<string, string> capabilities = default(IDictionary<string, string>), IList<string> serviceUrls = default(IList<string>), string autoUpdate = default(string), string versionStatus = default(string), IList<LinkedIntegrationRuntime> links = default(IList<LinkedIntegrationRuntime>), string pushedVersion = default(string), string latestVersion = default(string), System.DateTime? autoUpdateETA = default(System.DateTime?)) + /// <param name="serviceRegion">The service region of the integration + /// runtime</param> + /// <param name="newerVersions">The newer versions on download + /// center.</param> + public SelfHostedIntegrationRuntimeStatus(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), 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<SelfHostedIntegrationRuntimeNode> nodes = default(IList<SelfHostedIntegrationRuntimeNode>), System.DateTime? scheduledUpdateDate = default(System.DateTime?), string updateDelayOffset = default(string), string localTimeZoneOffset = default(string), IDictionary<string, string> capabilities = default(IDictionary<string, string>), IList<string> serviceUrls = default(IList<string>), string autoUpdate = default(string), string versionStatus = default(string), IList<LinkedIntegrationRuntime> links = default(IList<LinkedIntegrationRuntime>), string pushedVersion = default(string), string latestVersion = default(string), System.DateTime? autoUpdateETA = default(System.DateTime?), string serviceRegion = default(string), IList<string> newerVersions = default(IList<string>)) : 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; } + /// <summary> + /// Gets or sets the service region of the integration runtime + /// </summary> + [JsonProperty(PropertyName = "typeProperties.serviceRegion")] + public string ServiceRegion { get; set; } + + /// <summary> + /// Gets or sets the newer versions on download center. + /// </summary> + [JsonProperty(PropertyName = "typeProperties.newerVersions")] + public IList<string> 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.</param> - 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<string> auditActionsAndGroups = default(IList<string>), System.Guid? storageAccountSubscriptionId = default(System.Guid?), bool? isStorageSecondaryKeyInUse = default(bool?), bool? isAzureMonitorTargetEnabled = default(bool?), int? queueDelayMs = default(int?)) + /// <param name="isDevopsAuditEnabled">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) + /// </param> + 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<string> auditActionsAndGroups = default(IList<string>), 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; } + /// <summary> + /// 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) + /// + /// </summary> + [JsonProperty(PropertyName = "properties.isDevopsAuditEnabled")] + public bool? IsDevopsAuditEnabled { get; set; } + /// <summary> /// Validate the object. /// </summary> 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() /// <param name="creationDate">Date the SQL pool was created</param> /// <param name="storageAccountType">The storage account type used to /// store backups for this sql pool. Possible values include: 'GRS', - /// 'LRS', 'ZRS'</param> + /// 'LRS'</param> /// <param name="sourceDatabaseDeletionDate">Specifies the time that /// the sql pool was deleted</param> public SqlPool(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary<string, string> tags = default(IDictionary<string, 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?)) @@ -140,10 +140,10 @@ public SqlPool() public string ProvisioningState { get; set; } /// <summary> - /// Gets or sets resource status + /// Gets resource status /// </summary> [JsonProperty(PropertyName = "properties.status")] - public string Status { get; set; } + public string Status { get; private set; } /// <summary> /// Gets or sets snapshot time to restore @@ -175,14 +175,14 @@ public SqlPool() public string CreateMode { get; set; } /// <summary> - /// Gets or sets date the SQL pool was created + /// Gets date the SQL pool was created /// </summary> [JsonProperty(PropertyName = "properties.creationDate")] - public System.DateTime? CreationDate { get; set; } + public System.DateTime? CreationDate { get; private set; } /// <summary> /// 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' /// </summary> [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() /// <param name="creationDate">Date the SQL pool was created</param> /// <param name="storageAccountType">The storage account type used to /// store backups for this sql pool. Possible values include: 'GRS', - /// 'LRS', 'ZRS'</param> + /// 'LRS'</param> /// <param name="sourceDatabaseDeletionDate">Specifies the time that /// the sql pool was deleted</param> public SqlPoolPatchInfo(IDictionary<string, string> tags = default(IDictionary<string, string>), 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; } /// <summary> - /// Gets or sets resource status + /// Gets resource status /// </summary> [JsonProperty(PropertyName = "properties.status")] - public string Status { get; set; } + public string Status { get; private set; } /// <summary> /// Gets or sets snapshot time to restore @@ -182,14 +182,14 @@ public SqlPoolPatchInfo() public string CreateMode { get; set; } /// <summary> - /// Gets or sets date the SQL pool was created + /// Gets date the SQL pool was created /// </summary> [JsonProperty(PropertyName = "properties.creationDate")] - public System.DateTime? CreationDate { get; set; } + public System.DateTime? CreationDate { get; private set; } /// <summary> /// 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' /// </summary> [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() /// <param name="settings">Workspace settings</param> /// <param name="azureADOnlyAuthentication">Enable or Disable /// AzureADOnlyAuthentication on All Workspace subresource</param> + /// <param name="trustedServiceBypassEnabled">Is + /// trustedServiceBypassEnabled for the workspace</param> /// <param name="identity">Identity of the workspace</param> - public Workspace(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>), 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<string, string> connectivityEndpoints = default(IDictionary<string, string>), string managedVirtualNetwork = default(string), IList<PrivateEndpointConnection> privateEndpointConnections = default(IList<PrivateEndpointConnection>), EncryptionDetails encryption = default(EncryptionDetails), System.Guid? workspaceUID = default(System.Guid?), IDictionary<string, object> extraProperties = default(IDictionary<string, object>), 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<string, object> settings = default(IDictionary<string, object>), 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<string, string> tags = default(IDictionary<string, string>), 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<string, string> connectivityEndpoints = default(IDictionary<string, string>), string managedVirtualNetwork = default(string), IList<PrivateEndpointConnection> privateEndpointConnections = default(IList<PrivateEndpointConnection>), EncryptionDetails encryption = default(EncryptionDetails), System.Guid? workspaceUID = default(System.Guid?), IDictionary<string, object> extraProperties = default(IDictionary<string, object>), 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<string, object> settings = default(IDictionary<string, object>), 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; } + /// <summary> + /// Gets or sets is trustedServiceBypassEnabled for the workspace + /// </summary> + [JsonProperty(PropertyName = "properties.trustedServiceBypassEnabled")] + public bool? TrustedServiceBypassEnabled { get; set; } + /// <summary> /// Gets or sets identity of the workspace /// </summary> 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<Tuple<string, string, string>> 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<Tuple<string, string, string>> 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