共用方式為


PostgreSqlServerData Class

Definition

A class representing the PostgreSqlServer data model. Represents a server.

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

Constructors

PostgreSqlServerData(AzureLocation)

Initializes a new instance of PostgreSqlServerData.

Properties

AdministratorLogin

The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).

ByokEnforcement

Status showing whether the server data encryption is enabled with customer-managed keys.

EarliestRestoreOn

Earliest restore point creation time (ISO8601 format).

FullyQualifiedDomainName

The fully qualified domain name of a 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. Current supported identity types: SystemAssigned.

InfrastructureEncryption

Status showing whether the server enabled infrastructure encryption.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
MasterServerId

The master server id of a replica server.

MinimalTlsVersion

Enforce a minimal Tls version for the server.

Name

The name of the resource.

(Inherited from ResourceData)
PrivateEndpointConnections

List of private endpoint connections on a server.

PublicNetworkAccess

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

ReplicaCapacity

The maximum number of replicas that a master server can have.

ReplicationRole

The replication role of the server.

ResourceType

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

(Inherited from ResourceData)
Sku

The SKU (pricing tier) of the server.

SslEnforcement

Enable ssl enforcement or not when connect to server.

StorageProfile

Storage profile of a server.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
UserVisibleState

A state of a server that is visible to user.

Version

Server version.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<PostgreSqlServerData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PostgreSqlServerData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PostgreSqlServerData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PostgreSqlServerData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PostgreSqlServerData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to