共用方式為


ArmSqlModelFactory.SqlServerPatch Method

Definition

Overloads

SqlServerPatch(ManagedServiceIdentity, IDictionary<String,String>, String, String, String, String, String, IEnumerable<SqlServerPrivateEndpointConnection>, Nullable<SqlMinimalTlsVersion>, Nullable<ServerNetworkAccessFlag>, Nullable<ServerWorkspaceFeature>, ResourceIdentifier, Nullable<Guid>, Uri, ServerExternalAdministrator, Nullable<ServerNetworkAccessFlag>, Nullable<ServerNetworkAccessFlag>, Nullable<ExternalGovernanceStatus>)

Initializes a new instance of SqlServerPatch.

SqlServerPatch(ManagedServiceIdentity, IDictionary<String,String>, String, String, String, String, String, IEnumerable<SqlServerPrivateEndpointConnection>, String, Nullable<ServerNetworkAccessFlag>, Nullable<ServerWorkspaceFeature>, ResourceIdentifier, Nullable<Guid>, Uri, ServerExternalAdministrator, Nullable<ServerNetworkAccessFlag>)

SqlServerPatch(ManagedServiceIdentity, IDictionary<String,String>, String, String, String, String, String, IEnumerable<SqlServerPrivateEndpointConnection>, Nullable<SqlMinimalTlsVersion>, Nullable<ServerNetworkAccessFlag>, Nullable<ServerWorkspaceFeature>, ResourceIdentifier, Nullable<Guid>, Uri, ServerExternalAdministrator, Nullable<ServerNetworkAccessFlag>, Nullable<ServerNetworkAccessFlag>, Nullable<ExternalGovernanceStatus>)

Source:
ArmSqlModelFactory.cs

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);
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> -> 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) 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 of the server. This can only be used at server create time. If used for server update, it will be ignored or it will result in an error. For updates individual APIs will need to 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.

Returns

A new SqlServerPatch instance for mocking.

Applies to

SqlServerPatch(ManagedServiceIdentity, IDictionary<String,String>, String, String, String, String, String, IEnumerable<SqlServerPrivateEndpointConnection>, String, Nullable<ServerNetworkAccessFlag>, Nullable<ServerWorkspaceFeature>, ResourceIdentifier, Nullable<Guid>, Uri, ServerExternalAdministrator, Nullable<ServerNetworkAccessFlag>)

Source:
ArmSqlModelFactory.cs
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, string minimalTlsVersion = 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);
static member SqlServerPatch : Azure.ResourceManager.Models.ManagedServiceIdentity * System.Collections.Generic.IDictionary<string, string> * string * string * string * string * string * seq<Azure.ResourceManager.Sql.Models.SqlServerPrivateEndpointConnection> * string * 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> -> 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 minimalTlsVersion As String = 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) As SqlServerPatch

Parameters

administratorLogin
String
administratorLoginPassword
String
version
String
state
String
fullyQualifiedDomainName
String
privateEndpointConnections
IEnumerable<SqlServerPrivateEndpointConnection>
minimalTlsVersion
String
publicNetworkAccess
Nullable<ServerNetworkAccessFlag>
workspaceFeature
Nullable<ServerWorkspaceFeature>
primaryUserAssignedIdentityId
ResourceIdentifier
federatedClientId
Nullable<Guid>
keyId
Uri
restrictOutboundNetworkAccess
Nullable<ServerNetworkAccessFlag>

Returns

Applies to