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 c96ede82134f..fc8b1701bf3e 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 @@ -59,6 +59,8 @@ public BigDataPoolResourceInfo() /// pool. /// Library version /// requirements + /// Spark configuration file to + /// specify additional properties /// The Apache Spark version. /// The default folder where Spark /// logs will be written. @@ -68,7 +70,7 @@ public BigDataPoolResourceInfo() /// 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), 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)) + 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), LibraryRequirements sparkConfigProperties = 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; @@ -79,6 +81,7 @@ public BigDataPoolResourceInfo() SparkEventsFolder = sparkEventsFolder; NodeCount = nodeCount; LibraryRequirements = libraryRequirements; + SparkConfigProperties = sparkConfigProperties; SparkVersion = sparkVersion; DefaultSparkLogFolder = defaultSparkLogFolder; NodeSize = nodeSize; @@ -139,6 +142,13 @@ public BigDataPoolResourceInfo() [JsonProperty(PropertyName = "properties.libraryRequirements")] public LibraryRequirements LibraryRequirements { get; set; } + /// + /// Gets or sets spark configuration file to specify additional + /// properties + /// + [JsonProperty(PropertyName = "properties.sparkConfigProperties")] + public LibraryRequirements SparkConfigProperties { get; set; } + /// /// Gets or sets the Apache Spark version. /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ManagedVirtualNetworkSettings.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ManagedVirtualNetworkSettings.cs new file mode 100644 index 000000000000..f9cee2cc32e8 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ManagedVirtualNetworkSettings.cs @@ -0,0 +1,74 @@ +// +// 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 Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Managed Virtual Network Settings + /// + public partial class ManagedVirtualNetworkSettings + { + /// + /// Initializes a new instance of the ManagedVirtualNetworkSettings + /// class. + /// + public ManagedVirtualNetworkSettings() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ManagedVirtualNetworkSettings + /// class. + /// + /// Prevent Data + /// Exfiltration + /// Linked Access Check + /// On Target Resource + /// Allowed Aad Tenant Ids + /// For Linking + public ManagedVirtualNetworkSettings(bool? preventDataExfiltration = default(bool?), bool? linkedAccessCheckOnTargetResource = default(bool?), IList allowedAadTenantIdsForLinking = default(IList)) + { + PreventDataExfiltration = preventDataExfiltration; + LinkedAccessCheckOnTargetResource = linkedAccessCheckOnTargetResource; + AllowedAadTenantIdsForLinking = allowedAadTenantIdsForLinking; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets prevent Data Exfiltration + /// + [JsonProperty(PropertyName = "preventDataExfiltration")] + public bool? PreventDataExfiltration { get; set; } + + /// + /// Gets or sets linked Access Check On Target Resource + /// + [JsonProperty(PropertyName = "linkedAccessCheckOnTargetResource")] + public bool? LinkedAccessCheckOnTargetResource { get; set; } + + /// + /// Gets or sets allowed Aad Tenant Ids For Linking + /// + [JsonProperty(PropertyName = "allowedAadTenantIdsForLinking")] + public IList AllowedAadTenantIdsForLinking { get; 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 3135cac34f4e..c642961e9208 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 @@ -65,8 +65,10 @@ public Workspace() /// connections to the workspace /// Workspace level configs and feature /// flags + /// Managed Virtual Network + /// Settings /// 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), IDictionary extraProperties = default(IDictionary), 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), ManagedVirtualNetworkSettings managedVirtualNetworkSettings = default(ManagedVirtualNetworkSettings), ManagedIdentity identity = default(ManagedIdentity)) : base(location, id, name, type, tags) { DefaultDataLakeStorage = defaultDataLakeStorage; @@ -79,6 +81,7 @@ public Workspace() ManagedVirtualNetwork = managedVirtualNetwork; PrivateEndpointConnections = privateEndpointConnections; ExtraProperties = extraProperties; + ManagedVirtualNetworkSettings = managedVirtualNetworkSettings; Identity = identity; CustomInit(); } @@ -155,6 +158,12 @@ public Workspace() [JsonProperty(PropertyName = "properties.extraProperties")] public IDictionary ExtraProperties { get; private set; } + /// + /// Gets or sets managed Virtual Network Settings + /// + [JsonProperty(PropertyName = "properties.managedVirtualNetworkSettings")] + public ManagedVirtualNetworkSettings ManagedVirtualNetworkSettings { get; set; } + /// /// Gets or sets identity of the workspace /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/WorkspacePatchInfo.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/WorkspacePatchInfo.cs index 6e834752ae50..b8ec70f03975 100644 --- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/WorkspacePatchInfo.cs +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/WorkspacePatchInfo.cs @@ -36,13 +36,16 @@ public WorkspacePatchInfo() /// /// Resource tags /// The identity of the workspace + /// Managed Virtual Network + /// Settings /// SQL administrator login /// password /// Resource provisioning state - public WorkspacePatchInfo(IDictionary tags = default(IDictionary), ManagedIdentity identity = default(ManagedIdentity), string sqlAdministratorLoginPassword = default(string), string provisioningState = default(string)) + public WorkspacePatchInfo(IDictionary tags = default(IDictionary), ManagedIdentity identity = default(ManagedIdentity), WorkspacePatchInfoManagedVirtualNetworkSettings managedVirtualNetworkSettings = default(WorkspacePatchInfoManagedVirtualNetworkSettings), string sqlAdministratorLoginPassword = default(string), string provisioningState = default(string)) { Tags = tags; Identity = identity; + ManagedVirtualNetworkSettings = managedVirtualNetworkSettings; SqlAdministratorLoginPassword = sqlAdministratorLoginPassword; ProvisioningState = provisioningState; CustomInit(); @@ -65,6 +68,12 @@ public WorkspacePatchInfo() [JsonProperty(PropertyName = "identity")] public ManagedIdentity Identity { get; set; } + /// + /// Gets or sets managed Virtual Network Settings + /// + [JsonProperty(PropertyName = "managedVirtualNetworkSettings")] + public WorkspacePatchInfoManagedVirtualNetworkSettings ManagedVirtualNetworkSettings { get; set; } + /// /// Gets or sets SQL administrator login password /// diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/WorkspacePatchInfoManagedVirtualNetworkSettings.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/WorkspacePatchInfoManagedVirtualNetworkSettings.cs new file mode 100644 index 000000000000..15a2dc0d42c7 --- /dev/null +++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/WorkspacePatchInfoManagedVirtualNetworkSettings.cs @@ -0,0 +1,74 @@ +// +// 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 Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Managed Virtual Network Settings + /// + public partial class WorkspacePatchInfoManagedVirtualNetworkSettings + { + /// + /// Initializes a new instance of the + /// WorkspacePatchInfoManagedVirtualNetworkSettings class. + /// + public WorkspacePatchInfoManagedVirtualNetworkSettings() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// WorkspacePatchInfoManagedVirtualNetworkSettings class. + /// + /// Prevent Data + /// Exfiltration + /// Linked Access Check + /// On Target Resource + /// Allowed Aad Tenant Ids + /// For Linking + public WorkspacePatchInfoManagedVirtualNetworkSettings(bool? preventDataExfiltration = default(bool?), bool? linkedAccessCheckOnTargetResource = default(bool?), IList allowedAadTenantIdsForLinking = default(IList)) + { + PreventDataExfiltration = preventDataExfiltration; + LinkedAccessCheckOnTargetResource = linkedAccessCheckOnTargetResource; + AllowedAadTenantIdsForLinking = allowedAadTenantIdsForLinking; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets prevent Data Exfiltration + /// + [JsonProperty(PropertyName = "preventDataExfiltration")] + public bool? PreventDataExfiltration { get; set; } + + /// + /// Gets or sets linked Access Check On Target Resource + /// + [JsonProperty(PropertyName = "linkedAccessCheckOnTargetResource")] + public bool? LinkedAccessCheckOnTargetResource { get; set; } + + /// + /// Gets or sets allowed Aad Tenant Ids For Linking + /// + [JsonProperty(PropertyName = "allowedAadTenantIdsForLinking")] + public IList AllowedAadTenantIdsForLinking { get; set; } + + } +} 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 9629d211db5c..cbf446c585f0 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 = "bc527638520f305e53ea106e57b24427c370978e"; - 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 } } } -