共用方式為


Server Class

Definition

Represents a server.

[Microsoft.Rest.Serialization.JsonTransformation]
public class Server : Microsoft.Azure.Management.PostgreSQL.FlexibleServers.Models.TrackedResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Server = class
    inherit TrackedResource
Public Class Server
Inherits TrackedResource
Inheritance
Attributes

Constructors

Server()

Initializes a new instance of the Server class.

Server(String, String, String, String, IDictionary<String,String>, Sku, String, String, String, String, String, String, Storage, Backup, Network, HighAvailability, MaintenanceWindow, String, Nullable<DateTime>, String, String, IDictionary<String,String>, SystemData)

Initializes a new instance of the Server class.

Properties

AdministratorLogin

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

AdministratorLoginPassword

Gets or sets the administrator login password (required for server creation).

AvailabilityZone

Gets or sets availability zone information of the server.

Backup

Gets or sets backup properties of a server.

CreateMode

Gets or sets the mode to create a new PostgreSQL server. Possible values include: 'Default', 'Create', 'Update', 'PointInTimeRestore'

FullyQualifiedDomainName

Gets the fully qualified domain name of a server.

HighAvailability

Gets or sets high availability properties of a server.

Id

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

(Inherited from Resource)
Location

Gets or sets the geo-location where the resource lives

(Inherited from TrackedResource)
MaintenanceWindow

Gets or sets maintenance window properties of a server.

MinorVersion

Gets the minor version of the server.

Name

Gets the name of the resource

(Inherited from Resource)
Network

Gets or sets network properties of a server.

PointInTimeUTC

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

ServerTags

Gets or sets application-specific metadata in the form of key-value pairs.

Sku

Gets or sets the SKU (pricing tier) of the server.

SourceServerResourceId

Gets or sets the source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore'.

State

Gets a state of a server that is visible to user. Possible values include: 'Ready', 'Dropping', 'Disabled', 'Starting', 'Stopping', 'Stopped', 'Updating'

Storage

Gets or sets storage properties of a server.

SystemData

Gets the system metadata relating to this resource.

Tags

Gets or sets resource tags.

(Inherited from TrackedResource)
Type

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

(Inherited from Resource)
Version

Gets or sets postgreSQL Server version. Possible values include: '13', '12', '11'

Methods

Validate()

Validate the object.

Applies to