Dela via


PostgreSqlFlexibleServerData Class

Definition

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

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

Constructors

PostgreSqlFlexibleServerData(AzureLocation)

Initializes a new instance of PostgreSqlFlexibleServerData.

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

AdministratorLoginPassword

The administrator login password (required for server creation).

AuthConfig

AuthConfig properties of a server.

AvailabilityZone

availability zone information of the server.

Backup

Backup properties of a server.

CreateMode

The mode to create a new PostgreSQL server.

DataEncryption

Data encryption properties of a server.

FullyQualifiedDomainName

The fully qualified domain name of a server.

HighAvailability

High availability properties of a server.

Id

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

(Inherited from ResourceData)
Identity

Describes the identity of the application.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
MaintenanceWindow

Maintenance window properties of a server.

MinorVersion

The minor version of the server.

Name

The name of the resource.

(Inherited from ResourceData)
Network

Network properties of a server. This Network property is required to be passed only in case you want the server to be Private access server.

PointInTimeUtc

Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'ReviveDropped'.

PrivateEndpointConnections

List of private endpoint connections associated with the specified resource.

Replica

Replica properties of a server. These Replica properties are required to be passed only in case you want to Promote a server.

ReplicaCapacity

Replicas allowed for a server.

ReplicationRole

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.

SourceServerResourceId

The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica' or 'ReviveDropped'. This property is returned only for Replica server.

State

A state of a server that is visible to user.

Storage

Storage properties of a server.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
Version

PostgreSQL Server version.

Methods

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

Explicit Interface Implementations

IJsonModel<PostgreSqlFlexibleServerData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PostgreSqlFlexibleServerData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PostgreSqlFlexibleServerData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PostgreSqlFlexibleServerData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PostgreSqlFlexibleServerData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to