Udostępnij przez


ArmSqlModelFactory.SqlServerPatch Method

Definition

Initializes a new instance of SqlServerPatch.

public static Azure.ResourceManager.Sql.Models.SqlServerPatch SqlServerPatch(Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, System.Collections.Generic.IDictionary<string,string> tags = default, string administratorLogin = default, string administratorLoginPassword = default, string version = default, string state = default, string fullyQualifiedDomainName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Sql.Models.SqlServerPrivateEndpointConnection> privateEndpointConnections = default, Azure.ResourceManager.Sql.Models.SqlMinimalTlsVersion? minTlsVersion = default, Azure.ResourceManager.Sql.Models.ServerNetworkAccessFlag? publicNetworkAccess = default, Azure.ResourceManager.Sql.Models.ServerWorkspaceFeature? workspaceFeature = default, Azure.Core.ResourceIdentifier primaryUserAssignedIdentityId = default, Guid? federatedClientId = default, Uri keyId = default, Azure.ResourceManager.Sql.Models.ServerExternalAdministrator administrators = default, Azure.ResourceManager.Sql.Models.ServerNetworkAccessFlag? restrictOutboundNetworkAccess = default, Azure.ResourceManager.Sql.Models.ServerNetworkAccessFlag? isIPv6Enabled = default, Azure.ResourceManager.Sql.Models.ExternalGovernanceStatus? externalGovernanceStatus = default, int? retentionDays = default, Azure.ResourceManager.Sql.Models.SqlServerCreateMode? createMode = default);
static member SqlServerPatch : Azure.ResourceManager.Models.ManagedServiceIdentity * System.Collections.Generic.IDictionary<string, string> * string * string * string * string * string * seq<Azure.ResourceManager.Sql.Models.SqlServerPrivateEndpointConnection> * Nullable<Azure.ResourceManager.Sql.Models.SqlMinimalTlsVersion> * Nullable<Azure.ResourceManager.Sql.Models.ServerNetworkAccessFlag> * Nullable<Azure.ResourceManager.Sql.Models.ServerWorkspaceFeature> * Azure.Core.ResourceIdentifier * Nullable<Guid> * Uri * Azure.ResourceManager.Sql.Models.ServerExternalAdministrator * Nullable<Azure.ResourceManager.Sql.Models.ServerNetworkAccessFlag> * Nullable<Azure.ResourceManager.Sql.Models.ServerNetworkAccessFlag> * Nullable<Azure.ResourceManager.Sql.Models.ExternalGovernanceStatus> * Nullable<int> * Nullable<Azure.ResourceManager.Sql.Models.SqlServerCreateMode> -> Azure.ResourceManager.Sql.Models.SqlServerPatch
Public Shared Function SqlServerPatch (Optional identity As ManagedServiceIdentity = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional administratorLogin As String = Nothing, Optional administratorLoginPassword As String = Nothing, Optional version As String = Nothing, Optional state As String = Nothing, Optional fullyQualifiedDomainName As String = Nothing, Optional privateEndpointConnections As IEnumerable(Of SqlServerPrivateEndpointConnection) = Nothing, Optional minTlsVersion As Nullable(Of SqlMinimalTlsVersion) = Nothing, Optional publicNetworkAccess As Nullable(Of ServerNetworkAccessFlag) = Nothing, Optional workspaceFeature As Nullable(Of ServerWorkspaceFeature) = Nothing, Optional primaryUserAssignedIdentityId As ResourceIdentifier = Nothing, Optional federatedClientId As Nullable(Of Guid) = Nothing, Optional keyId As Uri = Nothing, Optional administrators As ServerExternalAdministrator = Nothing, Optional restrictOutboundNetworkAccess As Nullable(Of ServerNetworkAccessFlag) = Nothing, Optional isIPv6Enabled As Nullable(Of ServerNetworkAccessFlag) = Nothing, Optional externalGovernanceStatus As Nullable(Of ExternalGovernanceStatus) = Nothing, Optional retentionDays As Nullable(Of Integer) = Nothing, Optional createMode As Nullable(Of SqlServerCreateMode) = Nothing) As SqlServerPatch

Parameters

identity
ManagedServiceIdentity

Server identity.

tags
IDictionary<String,String>

Resource tags.

administratorLogin
String

Administrator username for the server. Once created it cannot be changed.

administratorLoginPassword
String

The administrator login password (required for server creation).

version
String

The version of the server.

state
String

The state of the server.

fullyQualifiedDomainName
String

The fully qualified domain name of the server.

privateEndpointConnections
IEnumerable<SqlServerPrivateEndpointConnection>

List of private endpoint connections on a server.

minTlsVersion
Nullable<SqlMinimalTlsVersion>

Minimal TLS version. Allowed values: 'None', 1.0', '1.1', '1.2', '1.3'.

publicNetworkAccess
Nullable<ServerNetworkAccessFlag>

Whether or not public endpoint access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' or 'SecuredByPerimeter'.

workspaceFeature
Nullable<ServerWorkspaceFeature>

Whether or not existing server has a workspace created and if it allows connection from workspace.

primaryUserAssignedIdentityId
ResourceIdentifier

The resource id of a user assigned identity to be used by default.

federatedClientId
Nullable<Guid>

The Client id used for cross tenant CMK scenario.

keyId
Uri

A CMK URI of the key to use for encryption.

administrators
ServerExternalAdministrator

The Azure Active Directory administrator can be utilized during server creation and for server updates, except for the azureADOnlyAuthentication property. To update the azureADOnlyAuthentication property, individual API must be used.

restrictOutboundNetworkAccess
Nullable<ServerNetworkAccessFlag>

Whether or not to restrict outbound network access for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.

isIPv6Enabled
Nullable<ServerNetworkAccessFlag>

Whether or not to enable IPv6 support for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.

externalGovernanceStatus
Nullable<ExternalGovernanceStatus>

Status of external governance.

retentionDays
Nullable<Int32>

Number of days this server will stay soft-deleted.

createMode
Nullable<SqlServerCreateMode>

Create mode for server, only valid values for this are Normal and Restore.

Returns

A new SqlServerPatch instance for mocking.

Applies to