Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the Workspace class.
 /// </summary>
 /// <param name="location">The geo-location where the resource
 /// lives</param>
 /// <param name="id">Fully qualified resource ID for the resource. Ex -
 /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource. E.g.
 /// "Microsoft.Compute/virtualMachines" or
 /// "Microsoft.Storage/storageAccounts"</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="defaultDataLakeStorage">Workspace default data lake
 /// storage account details</param>
 /// <param name="sqlAdministratorLoginPassword">SQL administrator login
 /// password</param>
 /// <param name="managedResourceGroupName">Workspace managed resource
 /// group. The resource group name uniquely identifies the resource
 /// group within the user subscriptionId. The resource group name must
 /// be no longer than 90 characters long, and must be alphanumeric
 /// characters (Char.IsLetterOrDigit()) and '-', '_', '(', ')' and'.'.
 /// Note that the name cannot end with '.'</param>
 /// <param name="provisioningState">Resource provisioning state</param>
 /// <param name="sqlAdministratorLogin">Login for workspace SQL active
 /// directory administrator</param>
 /// <param name="virtualNetworkProfile">Virtual Network profile</param>
 /// <param name="connectivityEndpoints">Connectivity endpoints</param>
 /// <param name="managedVirtualNetwork">Setting this to 'default' will
 /// ensure that all compute for this workspace is in a virtual network
 /// managed on behalf of the user.</param>
 /// <param name="privateEndpointConnections">Private endpoint
 /// connections to the workspace</param>
 /// <param name="encryption">The encryption details of the
 /// workspace</param>
 /// <param name="workspaceUID">The workspace unique identifier</param>
 /// <param name="extraProperties">Workspace level configs and feature
 /// flags</param>
 /// <param name="managedVirtualNetworkSettings">Managed Virtual Network
 /// Settings</param>
 /// <param name="workspaceRepositoryConfiguration">Git integration
 /// settings</param>
 /// <param name="purviewConfiguration">Purview Configuration</param>
 /// <param name="adlaResourceId">The ADLA resource ID.</param>
 /// <param name="publicNetworkAccess">Enable or Disable public network
 /// access to workspace. Possible values include: 'Enabled',
 /// 'Disabled'</param>
 /// <param name="cspWorkspaceAdminProperties">Initial workspace AAD
 /// admin properties for a CSP subscription</param>
 /// <param name="settings">Workspace settings</param>
 /// <param name="azureADOnlyAuthentication">Enable or Disable
 /// AzureADOnlyAuthentication on All Workspace subresource</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))
     : base(location, id, name, type, tags)
 {
     DefaultDataLakeStorage        = defaultDataLakeStorage;
     SqlAdministratorLoginPassword = sqlAdministratorLoginPassword;
     ManagedResourceGroupName      = managedResourceGroupName;
     ProvisioningState             = provisioningState;
     SqlAdministratorLogin         = sqlAdministratorLogin;
     VirtualNetworkProfile         = virtualNetworkProfile;
     ConnectivityEndpoints         = connectivityEndpoints;
     ManagedVirtualNetwork         = managedVirtualNetwork;
     PrivateEndpointConnections    = privateEndpointConnections;
     Encryption      = encryption;
     WorkspaceUID    = workspaceUID;
     ExtraProperties = extraProperties;
     ManagedVirtualNetworkSettings    = managedVirtualNetworkSettings;
     WorkspaceRepositoryConfiguration = workspaceRepositoryConfiguration;
     PurviewConfiguration             = purviewConfiguration;
     AdlaResourceId              = adlaResourceId;
     PublicNetworkAccess         = publicNetworkAccess;
     CspWorkspaceAdminProperties = cspWorkspaceAdminProperties;
     Settings = settings;
     AzureADOnlyAuthentication = azureADOnlyAuthentication;
     Identity = identity;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the WorkspacePatchInfo class.
 /// </summary>
 /// <param name="tags">Resource tags</param>
 /// <param name="identity">The identity of the workspace</param>
 /// <param name="sqlAdministratorLoginPassword">SQL administrator login
 /// password</param>
 /// <param name="managedVirtualNetworkSettings">Managed Virtual Network
 /// Settings</param>
 /// <param name="workspaceRepositoryConfiguration">Git integration
 /// settings</param>
 /// <param name="purviewConfiguration">Purview Configuration</param>
 /// <param name="provisioningState">Resource provisioning state</param>
 public WorkspacePatchInfo(IDictionary <string, string> tags = default(IDictionary <string, string>), ManagedIdentity identity = default(ManagedIdentity), string sqlAdministratorLoginPassword = default(string), ManagedVirtualNetworkSettings managedVirtualNetworkSettings = default(ManagedVirtualNetworkSettings), WorkspaceRepositoryConfiguration workspaceRepositoryConfiguration = default(WorkspaceRepositoryConfiguration), PurviewConfiguration purviewConfiguration = default(PurviewConfiguration), string provisioningState = default(string))
 {
     Tags     = tags;
     Identity = identity;
     SqlAdministratorLoginPassword    = sqlAdministratorLoginPassword;
     ManagedVirtualNetworkSettings    = managedVirtualNetworkSettings;
     WorkspaceRepositoryConfiguration = workspaceRepositoryConfiguration;
     PurviewConfiguration             = purviewConfiguration;
     ProvisioningState = provisioningState;
     CustomInit();
 }