Udostępnij za pośrednictwem


ArmSqlModelFactory.SqlServerData Method

Definition

Overloads

SqlServerData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ManagedServiceIdentity, 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 SqlServerData.

SqlServerData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ManagedServiceIdentity, String, String, String, String, String, String, IEnumerable<SqlServerPrivateEndpointConnection>, String, Nullable<ServerNetworkAccessFlag>, Nullable<ServerWorkspaceFeature>, ResourceIdentifier, Nullable<Guid>, Uri, ServerExternalAdministrator, Nullable<ServerNetworkAccessFlag>)

SqlServerData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ManagedServiceIdentity, 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 SqlServerData.

public static Azure.ResourceManager.Sql.SqlServerData SqlServerData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, string kind = 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 SqlServerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * 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.SqlServerData
Public Shared Function SqlServerData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional kind As 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 SqlServerData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

identity
ManagedServiceIdentity

The Azure Active Directory identity of the server.

kind
String

Kind of sql server. This is metadata used for the Azure portal experience.

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 SqlServerData instance for mocking.

Applies to

SqlServerData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, ManagedServiceIdentity, 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.SqlServerData SqlServerData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, string kind = 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 SqlServerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * 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.SqlServerData
Public Shared Function SqlServerData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional kind As 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 SqlServerData

Parameters

name
String
resourceType
ResourceType
systemData
SystemData
location
AzureLocation
kind
String
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