共用方式為


SqlServerData Class

Definition

A class representing the SqlServer data model. An Azure SQL Database server.

public class SqlServerData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.SqlServerData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.SqlServerData>
type SqlServerData = class
    inherit TrackedResourceData
    interface IJsonModel<SqlServerData>
    interface IPersistableModel<SqlServerData>
Public Class SqlServerData
Inherits TrackedResourceData
Implements IJsonModel(Of SqlServerData), IPersistableModel(Of SqlServerData)
Inheritance
Implements

Constructors

SqlServerData(AzureLocation)

Initializes a new instance of SqlServerData.

Properties

AdministratorLogin

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

AdministratorLoginPassword

The administrator login password (required for server creation).

Administrators

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.

ExternalGovernanceStatus

Status of external governance.

FederatedClientId

The Client id used for cross tenant CMK scenario.

FullyQualifiedDomainName

The fully qualified domain name of the server.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Identity

The Azure Active Directory identity of the server.

IsIPv6Enabled

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

KeyId

A CMK URI of the key to use for encryption.

Kind

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

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
MinTlsVersion

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

Name

The name of the resource.

(Inherited from ResourceData)
PrimaryUserAssignedIdentityId

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

PrivateEndpointConnections

List of private endpoint connections on a server.

PublicNetworkAccess

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'.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
RestrictOutboundNetworkAccess

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

State

The state of the server.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
Version

The version of the server.

WorkspaceFeature

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<SqlServerData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SqlServerData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SqlServerData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SqlServerData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SqlServerData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to