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 4be960cf0385..facd59a4a2cc 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 3555fb45f415..ae07fd69bdf1 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 7fe223752c39..248baac7c2ed 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 e9e1a29d4061..34cb5446ab7d 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 5d888b9bc8cf..0dd7be25cf28 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/PrincipalsModificationKind.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/PrincipalsModificationKind.cs
new file mode 100644
index 000000000000..72ba714b0973
--- /dev/null
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/PrincipalsModificationKind.cs
@@ -0,0 +1,23 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.Synapse.Models
+{
+
+ ///
+ /// Defines values for PrincipalsModificationKind.
+ ///
+ public static class PrincipalsModificationKind
+ {
+ public const string Union = "Union";
+ public const string Replace = "Replace";
+ public const string None = "None";
+ }
+}
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ReadOnlyFollowingDatabase.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ReadOnlyFollowingDatabase.cs
new file mode 100644
index 000000000000..ac35ed608c54
--- /dev/null
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ReadOnlyFollowingDatabase.cs
@@ -0,0 +1,126 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.Synapse.Models
+{
+ using Microsoft.Rest;
+ using Microsoft.Rest.Serialization;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// Class representing a read only following database.
+ ///
+ [Newtonsoft.Json.JsonObject("ReadOnlyFollowing")]
+ [Rest.Serialization.JsonTransformation]
+ public partial class ReadOnlyFollowingDatabase : Database
+ {
+ ///
+ /// Initializes a new instance of the ReadOnlyFollowingDatabase class.
+ ///
+ public ReadOnlyFollowingDatabase()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the ReadOnlyFollowingDatabase class.
+ ///
+ /// Fully qualified resource ID for the resource. Ex -
+ /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
+ /// The name of the resource
+ /// The type of the resource. E.g.
+ /// "Microsoft.Compute/virtualMachines" or
+ /// "Microsoft.Storage/storageAccounts"
+ /// Resource location.
+ /// Azure Resource Manager metadata containing
+ /// createdBy and modifiedBy information.
+ /// The provisioned state of the
+ /// resource. Possible values include: 'Running', 'Creating',
+ /// 'Deleting', 'Succeeded', 'Failed', 'Moving', 'Canceled'
+ /// The time the data should be kept
+ /// before it stops being accessible to queries in TimeSpan.
+ /// The time the data should be kept in
+ /// cache for fast queries in TimeSpan.
+ /// The statistics of the database.
+ /// The name of the leader
+ /// cluster
+ /// The name of the
+ /// attached database configuration cluster
+ /// The principals
+ /// modification kind of the database. Possible values include:
+ /// 'Union', 'Replace', 'None'
+ public ReadOnlyFollowingDatabase(string id = default(string), string name = default(string), string type = default(string), string location = default(string), SystemData systemData = default(SystemData), string provisioningState = default(string), System.TimeSpan? softDeletePeriod = default(System.TimeSpan?), System.TimeSpan? hotCachePeriod = default(System.TimeSpan?), DatabaseStatistics statistics = default(DatabaseStatistics), string leaderClusterResourceId = default(string), string attachedDatabaseConfigurationName = default(string), string principalsModificationKind = default(string))
+ : base(id, name, type, location, systemData)
+ {
+ ProvisioningState = provisioningState;
+ SoftDeletePeriod = softDeletePeriod;
+ HotCachePeriod = hotCachePeriod;
+ Statistics = statistics;
+ LeaderClusterResourceId = leaderClusterResourceId;
+ AttachedDatabaseConfigurationName = attachedDatabaseConfigurationName;
+ PrincipalsModificationKind = principalsModificationKind;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets the provisioned state of the resource. Possible values
+ /// include: 'Running', 'Creating', 'Deleting', 'Succeeded', 'Failed',
+ /// 'Moving', 'Canceled'
+ ///
+ [JsonProperty(PropertyName = "properties.provisioningState")]
+ public string ProvisioningState { get; private set; }
+
+ ///
+ /// Gets the time the data should be kept before it stops being
+ /// accessible to queries in TimeSpan.
+ ///
+ [JsonProperty(PropertyName = "properties.softDeletePeriod")]
+ public System.TimeSpan? SoftDeletePeriod { get; private set; }
+
+ ///
+ /// Gets or sets the time the data should be kept in cache for fast
+ /// queries in TimeSpan.
+ ///
+ [JsonProperty(PropertyName = "properties.hotCachePeriod")]
+ public System.TimeSpan? HotCachePeriod { get; set; }
+
+ ///
+ /// Gets the statistics of the database.
+ ///
+ [JsonProperty(PropertyName = "properties.statistics")]
+ public DatabaseStatistics Statistics { get; private set; }
+
+ ///
+ /// Gets the name of the leader cluster
+ ///
+ [JsonProperty(PropertyName = "properties.leaderClusterResourceId")]
+ public string LeaderClusterResourceId { get; private set; }
+
+ ///
+ /// Gets the name of the attached database configuration cluster
+ ///
+ [JsonProperty(PropertyName = "properties.attachedDatabaseConfigurationName")]
+ public string AttachedDatabaseConfigurationName { get; private set; }
+
+ ///
+ /// Gets the principals modification kind of the database. Possible
+ /// values include: 'Union', 'Replace', 'None'
+ ///
+ [JsonProperty(PropertyName = "properties.principalsModificationKind")]
+ public string PrincipalsModificationKind { get; private set; }
+
+ }
+}
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 518457957ec8..27b25a882698 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 7594035f94d0..f022c4377979 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 271494667a1e..c1aa5cc83021 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 c09cf8a8d5f5..548a368c1825 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 8f3102a51a6a..28e47aae36fa 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 8b9b203317d9..8ace1e4f6db9 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 719f8e3446e6..76c58d376ad0 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 55467ab958c7..0ca731a1cbdb 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