Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the ServerUpdate class.
 /// </summary>
 /// <param name="identity">Server identity</param>
 /// <param name="administratorLogin">Administrator username for the
 /// server. Once created it cannot be changed.</param>
 /// <param name="administratorLoginPassword">The administrator login
 /// password (required for server creation).</param>
 /// <param name="version">The version of the server.</param>
 /// <param name="state">The state of the server.</param>
 /// <param name="fullyQualifiedDomainName">The fully qualified domain
 /// name of the server.</param>
 /// <param name="privateEndpointConnections">List of private endpoint
 /// connections on a server</param>
 /// <param name="minimalTlsVersion">Minimal TLS version. Allowed
 /// values: '1.0', '1.1', '1.2'</param>
 /// <param name="publicNetworkAccess">Whether or not public endpoint
 /// access is allowed for this server.  Value is optional but if passed
 /// in, must be 'Enabled' or 'Disabled'. Possible values include:
 /// 'Enabled', 'Disabled'</param>
 /// <param name="workspaceFeature">Whether or not existing server has a
 /// workspace created and if it allows connection from workspace.
 /// Possible values include: 'Connected', 'Disconnected'</param>
 /// <param name="primaryUserAssignedIdentityId">The resource id of a
 /// user assigned identity to be used by default.</param>
 /// <param name="keyId">A CMK URI of the key to use for
 /// encryption.</param>
 /// <param name="administrators">The Azure Active Directory identity of
 /// the server.</param>
 /// <param name="tags">Resource tags.</param>
 public ServerUpdate(ResourceIdentity identity = default(ResourceIdentity), string administratorLogin = default(string), string administratorLoginPassword = default(string), string version = default(string), string state = default(string), string fullyQualifiedDomainName = default(string), IList <ServerPrivateEndpointConnection> privateEndpointConnections = default(IList <ServerPrivateEndpointConnection>), string minimalTlsVersion = default(string), string publicNetworkAccess = default(string), string workspaceFeature = default(string), string primaryUserAssignedIdentityId = default(string), string keyId = default(string), ServerExternalAdministrator administrators = default(ServerExternalAdministrator), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Identity                   = identity;
     AdministratorLogin         = administratorLogin;
     AdministratorLoginPassword = administratorLoginPassword;
     Version = version;
     State   = state;
     FullyQualifiedDomainName      = fullyQualifiedDomainName;
     PrivateEndpointConnections    = privateEndpointConnections;
     MinimalTlsVersion             = minimalTlsVersion;
     PublicNetworkAccess           = publicNetworkAccess;
     WorkspaceFeature              = workspaceFeature;
     PrimaryUserAssignedIdentityId = primaryUserAssignedIdentityId;
     KeyId          = keyId;
     Administrators = administrators;
     Tags           = tags;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the Server class.
 /// </summary>
 /// <param name="location">Resource location.</param>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="identity">The Azure Active Directory identity of the
 /// server.</param>
 /// <param name="kind">Kind of sql server. This is metadata used for
 /// the Azure portal experience.</param>
 /// <param name="administratorLogin">Administrator username for the
 /// server. Once created it cannot be changed.</param>
 /// <param name="administratorLoginPassword">The administrator login
 /// password (required for server creation).</param>
 /// <param name="version">The version of the server.</param>
 /// <param name="state">The state of the server.</param>
 /// <param name="fullyQualifiedDomainName">The fully qualified domain
 /// name of the server.</param>
 /// <param name="privateEndpointConnections">List of private endpoint
 /// connections on a server</param>
 /// <param name="minimalTlsVersion">Minimal TLS version. Allowed
 /// values: '1.0', '1.1', '1.2'</param>
 /// <param name="publicNetworkAccess">Whether or not public endpoint
 /// access is allowed for this server.  Value is optional but if passed
 /// in, must be 'Enabled' or 'Disabled'. Possible values include:
 /// 'Enabled', 'Disabled'</param>
 /// <param name="workspaceFeature">Whether or not existing server has a
 /// workspace created and if it allows connection from workspace.
 /// Possible values include: 'Connected', 'Disconnected'</param>
 /// <param name="primaryUserAssignedIdentityId">The resource id of a
 /// user assigned identity to be used by default.</param>
 /// <param name="keyId">A CMK URI of the key to use for
 /// encryption.</param>
 /// <param name="administrators">The Azure Active Directory identity of
 /// the server.</param>
 public Server(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), ResourceIdentityWithUserAssignedIdentities identity = default(ResourceIdentityWithUserAssignedIdentities), string kind = default(string), string administratorLogin = default(string), string administratorLoginPassword = default(string), string version = default(string), string state = default(string), string fullyQualifiedDomainName = default(string), IList <ServerPrivateEndpointConnection> privateEndpointConnections = default(IList <ServerPrivateEndpointConnection>), string minimalTlsVersion = default(string), string publicNetworkAccess = default(string), string workspaceFeature = default(string), string primaryUserAssignedIdentityId = default(string), string keyId = default(string), ServerExternalAdministrator administrators = default(ServerExternalAdministrator))
     : base(location, id, name, type, tags)
 {
     Identity                      = identity;
     Kind                          = kind;
     AdministratorLogin            = administratorLogin;
     AdministratorLoginPassword    = administratorLoginPassword;
     Version                       = version;
     State                         = state;
     FullyQualifiedDomainName      = fullyQualifiedDomainName;
     PrivateEndpointConnections    = privateEndpointConnections;
     MinimalTlsVersion             = minimalTlsVersion;
     PublicNetworkAccess           = publicNetworkAccess;
     WorkspaceFeature              = workspaceFeature;
     PrimaryUserAssignedIdentityId = primaryUserAssignedIdentityId;
     KeyId                         = keyId;
     Administrators                = administrators;
     CustomInit();
 }