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 aaf09446efebe..c96ede82134f1 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 @@ -52,6 +52,8 @@ public BigDataPoolResourceInfo() /// The time when the Big Data pool was /// created. /// Auto-pausing properties + /// Whether compute isolation + /// is required or not. /// The Spark events folder /// The number of nodes in the Big Data /// pool. @@ -62,17 +64,18 @@ public BigDataPoolResourceInfo() /// logs will be written. /// The level of compute power that each node in /// the Big Data pool has. Possible values include: 'None', 'Small', - /// 'Medium', 'Large' + /// 'Medium', 'Large', 'XLarge', 'XXLarge' /// The kind of nodes that the Big Data /// pool provides. Possible values include: 'None', /// 'MemoryOptimized' - public BigDataPoolResourceInfo(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), AutoScaleProperties autoScale = default(AutoScaleProperties), System.DateTime? creationDate = default(System.DateTime?), AutoPauseProperties autoPause = default(AutoPauseProperties), string sparkEventsFolder = default(string), int? nodeCount = default(int?), LibraryRequirements libraryRequirements = default(LibraryRequirements), string sparkVersion = default(string), string defaultSparkLogFolder = default(string), string nodeSize = default(string), string nodeSizeFamily = default(string)) + public BigDataPoolResourceInfo(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), AutoScaleProperties autoScale = default(AutoScaleProperties), System.DateTime? creationDate = default(System.DateTime?), AutoPauseProperties autoPause = default(AutoPauseProperties), bool? isComputeIsolationEnabled = default(bool?), string sparkEventsFolder = default(string), int? nodeCount = default(int?), LibraryRequirements libraryRequirements = default(LibraryRequirements), string sparkVersion = default(string), string defaultSparkLogFolder = default(string), string nodeSize = default(string), string nodeSizeFamily = default(string)) : base(location, id, name, type, tags) { ProvisioningState = provisioningState; AutoScale = autoScale; CreationDate = creationDate; AutoPause = autoPause; + IsComputeIsolationEnabled = isComputeIsolationEnabled; SparkEventsFolder = sparkEventsFolder; NodeCount = nodeCount; LibraryRequirements = libraryRequirements; @@ -112,6 +115,12 @@ public BigDataPoolResourceInfo() [JsonProperty(PropertyName = "properties.autoPause")] public AutoPauseProperties AutoPause { get; set; } + /// + /// Gets or sets whether compute isolation is required or not. + /// + [JsonProperty(PropertyName = "properties.isComputeIsolationEnabled")] + public bool? IsComputeIsolationEnabled { get; set; } + /// /// Gets or sets the Spark events folder /// @@ -145,7 +154,7 @@ public BigDataPoolResourceInfo() /// /// Gets or sets the level of compute power that each node in the Big /// Data pool has. Possible values include: 'None', 'Small', 'Medium', - /// 'Large' + /// 'Large', 'XLarge', 'XXLarge' /// [JsonProperty(PropertyName = "properties.nodeSize")] public string NodeSize { get; set; } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/CmdkeySetup.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/CmdkeySetup.cs index 0943e87381eb2..febc57fd713d9 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/CmdkeySetup.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/CmdkeySetup.cs @@ -18,7 +18,6 @@ namespace Microsoft.Azure.Management.Synapse.Models /// /// The custom setup of running cmdkey commands. /// - [Newtonsoft.Json.JsonObject("CmdkeySetup")] [Rest.Serialization.JsonTransformation] public partial class CmdkeySetup : CustomSetupBase { diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ComponentSetup.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ComponentSetup.cs index 34c50be227ce5..a169067a5e03a 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ComponentSetup.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ComponentSetup.cs @@ -18,7 +18,6 @@ namespace Microsoft.Azure.Management.Synapse.Models /// /// The custom setup of installing 3rd party components. /// - [Newtonsoft.Json.JsonObject("ComponentSetup")] [Rest.Serialization.JsonTransformation] public partial class ComponentSetup : CustomSetupBase { diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/CustomSetupBase.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/CustomSetupBase.cs index 53b69b88f2f4f..0c380de02ff87 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/CustomSetupBase.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/CustomSetupBase.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Synapse.Models { - using Newtonsoft.Json; using System.Linq; /// /// The base definition of the custom setup. /// - [Newtonsoft.Json.JsonObject("CustomSetupBase")] public partial class CustomSetupBase { /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/EnvironmentVariableSetup.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/EnvironmentVariableSetup.cs index 3f4bcd031f0ee..f6e9033ff3379 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/EnvironmentVariableSetup.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/EnvironmentVariableSetup.cs @@ -18,7 +18,6 @@ namespace Microsoft.Azure.Management.Synapse.Models /// /// The custom setup of setting environment variable. /// - [Newtonsoft.Json.JsonObject("EnvironmentVariableSetup")] [Rest.Serialization.JsonTransformation] public partial class EnvironmentVariableSetup : CustomSetupBase { diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/IntegrationRuntime.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/IntegrationRuntime.cs index 5d7f7df005f56..f47ccb469af9e 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/IntegrationRuntime.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/IntegrationRuntime.cs @@ -19,7 +19,6 @@ namespace Microsoft.Azure.Management.Synapse.Models /// Azure Synapse nested object which serves as a compute resource for /// activities. /// - [Newtonsoft.Json.JsonObject("IntegrationRuntime")] public partial class IntegrationRuntime { /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/IntegrationRuntimeResource.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/IntegrationRuntimeResource.cs index 4241f0fc7a8f5..9b5d7a57d5e3c 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/IntegrationRuntimeResource.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/IntegrationRuntimeResource.cs @@ -31,10 +31,13 @@ public IntegrationRuntimeResource() /// Initializes a new instance of the IntegrationRuntimeResource class. /// /// Integration runtime properties. - /// The resource identifier. - /// The resource name. - /// The resource type. - /// Etag identifies change in the resource. + /// 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. Ex- + /// Microsoft.Compute/virtualMachines or + /// Microsoft.Storage/storageAccounts. + /// Resource Etag. public IntegrationRuntimeResource(IntegrationRuntime properties, string id = default(string), string name = default(string), string type = default(string), string etag = default(string)) : base(id, name, type, etag) { diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/IntegrationRuntimeStatus.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/IntegrationRuntimeStatus.cs index 90ca58bb52a9b..c4e00102a95a7 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/IntegrationRuntimeStatus.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/IntegrationRuntimeStatus.cs @@ -18,7 +18,6 @@ namespace Microsoft.Azure.Management.Synapse.Models /// /// Integration runtime status. /// - [Newtonsoft.Json.JsonObject("IntegrationRuntimeStatus")] public partial class IntegrationRuntimeStatus { /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/LinkedIntegrationRuntimeType.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/LinkedIntegrationRuntimeType.cs index 70139b2569f19..262a7a4d4a574 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/LinkedIntegrationRuntimeType.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/LinkedIntegrationRuntimeType.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Synapse.Models { - using Newtonsoft.Json; using System.Linq; /// /// The base definition of a linked integration runtime. /// - [Newtonsoft.Json.JsonObject("LinkedIntegrationRuntimeType")] public partial class LinkedIntegrationRuntimeType { /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/NodeSize.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/NodeSize.cs index 33ef9af26ad0a..49eabdc15a802 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/NodeSize.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/NodeSize.cs @@ -20,5 +20,7 @@ public static class NodeSize public const string Small = "Small"; public const string Medium = "Medium"; public const string Large = "Large"; + public const string XLarge = "XLarge"; + public const string XXLarge = "XXLarge"; } } diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SecretBase.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SecretBase.cs index 465ba8b8acf40..d104da9991df7 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SecretBase.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SecretBase.cs @@ -10,13 +10,11 @@ namespace Microsoft.Azure.Management.Synapse.Models { - using Newtonsoft.Json; using System.Linq; /// /// The base definition of a secret type. /// - [Newtonsoft.Json.JsonObject("SecretBase")] public partial class SecretBase { /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SecureString.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SecureString.cs index c157c37face57..7a4c4ad5e523c 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SecureString.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SecureString.cs @@ -18,7 +18,6 @@ namespace Microsoft.Azure.Management.Synapse.Models /// Azure Synapse secure string definition. The string value will be masked /// with asterisks '*' during Get or List API calls. /// - [Newtonsoft.Json.JsonObject("SecureString")] public partial class SecureString : SecretBase { /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SsisObjectMetadata.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SsisObjectMetadata.cs index 660f7b030c072..bd2544bf0f3da 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SsisObjectMetadata.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SsisObjectMetadata.cs @@ -16,7 +16,6 @@ namespace Microsoft.Azure.Management.Synapse.Models /// /// SSIS object metadata. /// - [Newtonsoft.Json.JsonObject("SsisObjectMetadata")] public partial class SsisObjectMetadata { /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SubResource.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SubResource.cs index 596dc811b8a1c..9ddc98b6351d5 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SubResource.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SubResource.cs @@ -10,15 +10,12 @@ namespace Microsoft.Azure.Management.Synapse.Models { - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Newtonsoft.Json; using System.Linq; /// - /// Azure Synapse nested resource, which belongs to a factory. + /// Azure Synapse nested resource, which belongs to a workspace. /// - public partial class SubResource : IResource + public partial class SubResource : AzureEntityResource { /// /// Initializes a new instance of the SubResource class. @@ -31,16 +28,16 @@ public SubResource() /// /// Initializes a new instance of the SubResource class. /// - /// The resource identifier. - /// The resource name. - /// The resource type. - /// Etag identifies change in the resource. + /// 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. Ex- + /// Microsoft.Compute/virtualMachines or + /// Microsoft.Storage/storageAccounts. + /// Resource Etag. public SubResource(string id = default(string), string name = default(string), string type = default(string), string etag = default(string)) + : base(id, name, type, etag) { - Id = id; - Name = name; - Type = type; - Etag = etag; CustomInit(); } @@ -49,29 +46,5 @@ public SubResource() /// partial void CustomInit(); - /// - /// Gets the resource identifier. - /// - [JsonProperty(PropertyName = "id")] - public string Id { get; private set; } - - /// - /// Gets the resource name. - /// - [JsonProperty(PropertyName = "name")] - public string Name { get; private set; } - - /// - /// Gets the resource type. - /// - [JsonProperty(PropertyName = "type")] - public string Type { get; private set; } - - /// - /// Gets etag identifies change in the resource. - /// - [JsonProperty(PropertyName = "etag")] - public string Etag { get; private set; } - } } 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 4c8b09307b748..3135cac34f4eb 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 @@ -63,8 +63,10 @@ public Workspace() /// managed on behalf of the user. /// Private endpoint /// connections to the workspace + /// Workspace level configs and feature + /// flags /// 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), 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), IDictionary extraProperties = default(IDictionary), ManagedIdentity identity = default(ManagedIdentity)) : base(location, id, name, type, tags) { DefaultDataLakeStorage = defaultDataLakeStorage; @@ -76,6 +78,7 @@ public Workspace() ConnectivityEndpoints = connectivityEndpoints; ManagedVirtualNetwork = managedVirtualNetwork; PrivateEndpointConnections = privateEndpointConnections; + ExtraProperties = extraProperties; Identity = identity; CustomInit(); } @@ -146,6 +149,12 @@ public Workspace() [JsonProperty(PropertyName = "properties.privateEndpointConnections")] public IList PrivateEndpointConnections { get; set; } + /// + /// Gets workspace level configs and feature flags + /// + [JsonProperty(PropertyName = "properties.extraProperties")] + public IDictionary ExtraProperties { get; private 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 db804a25ddcf7..cbf446c585f08 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 @@ -60,16 +60,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/master/specification/synapse/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\\code\\AzureSDK\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "67ee91ce1e07fc93187dff2e05d3261e02265c72"; - 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 } } } -