Server Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Properties of a server.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.ServerTypeConverter))]
public class Server : Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IServer, Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.ServerTypeConverter))>]
type Server = class
interface IServer
interface IJsonSerializable
interface ITrackedResource
interface IResource
interface IValidates
Public Class Server
Implements IServer, IValidates
- Inheritance
-
Server
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| Server() |
Creates an new Server instance. |
Properties
| Name | Description |
|---|---|
| AdministratorLogin |
Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. Must be specified the first time that you enable password based authentication on a server. Once set to a given value, it cannot be changed for the rest of the life of a server. If you disable password based authentication on a server which had it enabled, this password based role isn't deleted. |
| AdministratorLoginPassword |
Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time. |
| AuthConfigActiveDirectoryAuth |
Indicates if the server supports Microsoft Entra authentication. |
| AuthConfigPasswordAuth |
Indicates if the server supports password based authentication. |
| AuthConfigTenantId |
Identifier of the tenant of the delegated resource. |
| AvailabilityZone |
Availability zone of a server. |
| BackupEarliestRestoreDate |
Earliest restore point time (ISO8601 format) for a server. |
| BackupGeoRedundantBackup |
Indicates if the server is configured to create geographically redundant backups. |
| BackupRetentionDay |
Backup retention days for the server. |
| Capacity |
Maximum number of read replicas allowed for a server. |
| ClusterDefaultDatabaseName |
Default database name for the elastic cluster. |
| ClusterSize |
Number of nodes assigned to the elastic cluster. |
| CreateMode |
Creation mode of a new server. |
| DataEncryptionGeoBackupEncryptionKeyStatus |
Status of key used by a server configured with data encryption based on customer managed key, to encrypt the geographically redundant storage associated to the server when it is configured to support geographically redundant backups. |
| DataEncryptionGeoBackupKeyUri |
Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. |
| DataEncryptionGeoBackupUserAssignedIdentityId |
Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the geographically redundant storage associated to a server that is configured to support geographically redundant backups. |
| DataEncryptionPrimaryEncryptionKeyStatus |
Status of key used by a server configured with data encryption based on customer managed key, to encrypt the primary storage associated to the server. |
| DataEncryptionPrimaryKeyUri |
URI of the key in Azure Key Vault used for data encryption of the primary storage associated to a server. |
| DataEncryptionPrimaryUserAssignedIdentityId |
Identifier of the user assigned managed identity used to access the key in Azure Key Vault for data encryption of the primary storage associated to a server. |
| DataEncryptionType |
Data encryption type used by a server. |
| FullyQualifiedDomainName |
Fully qualified domain name of a server. |
| HighAvailabilityMode |
High availability mode for a server. |
| HighAvailabilityStandbyAvailabilityZone |
Availability zone associated to the standby server created when high availability is set to SameZone or ZoneRedundant. |
| HighAvailabilityState |
Possible states of the standby server created when high availability is set to SameZone or ZoneRedundant. |
| Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| IdentityPrincipalId |
Identifier of the object of the service principal associated to the user assigned managed identity. |
| IdentityTenantId |
Identifier of the tenant of a server. |
| IdentityType |
Types of identities associated with a server. |
| IdentityUserAssignedIdentity |
Map of user assigned managed identities. |
| Location |
The geo-location where the resource lives |
| MaintenanceWindowCustomWindow |
Indicates whether custom window is enabled or disabled. |
| MaintenanceWindowDayOfWeek |
Day of the week to be used for maintenance window. |
| MaintenanceWindowStartHour |
Start hour to be used for maintenance window. |
| MaintenanceWindowStartMinute |
Start minute to be used for maintenance window. |
| MinorVersion |
Minor version of PostgreSQL database engine. |
| Name |
The name of the resource |
| NetworkDelegatedSubnetResourceId |
Resource identifier of the delegated subnet. Required during creation of a new server, in case you want the server to be integrated into your own virtual network. For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. |
| NetworkPrivateDnsZoneArmResourceId |
Identifier of the private DNS zone. Required during creation of a new server, in case you want the server to be integrated into your own virtual network. For an update operation, you only have to provide this property if you want to change the value assigned for the private DNS zone. |
| NetworkPublicNetworkAccess |
Indicates if public network access is enabled or not. This is only supported for servers that are not integrated into a virtual network which is owned and provided by customer when server is deployed. |
| PointInTimeUtc |
Creation time (in ISO8601 format) of the backup which you want to restore in the new server. It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'. |
| PrivateEndpointConnection |
List of private endpoint connections associated with the specified server. |
| ReplicaCapacity |
Maximum number of read replicas allowed for a server. |
| ReplicaPromoteMode |
Type of operation to apply on the read replica. This property is write only. Standalone means that the read replica will be promoted to a standalone server, and will become a completely independent entity from the replication set. Switchover means that the read replica will roles with the primary server. |
| ReplicaPromoteOption |
Data synchronization option to use when processing the operation specified in the promoteMode property. This property is write only. |
| ReplicaReplicationState |
Indicates the replication state of a read replica. This property is returned only when the target server is a read replica. Possible values are Active, Broken, Catchup, Provisioning, Reconfiguring, and Updating |
| ReplicaRole |
Role of the server in a replication set. |
| ReplicationRole |
Role of the server in a replication set. |
| ResourceGroupName |
Gets the resource group name |
| SkuName |
Name by which is known a given compute size assigned to a server. |
| SkuTier |
Tier of the compute assigned to a server. |
| SourceServerResourceId |
Identifier of the server to be used as the source of the new server. Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. This property is returned only when the target server is a read replica. |
| State |
Possible states of a server. |
| StorageAutoGrow |
Flag to enable or disable the automatic growth of storage size of a server when available space is nearing zero and conditions allow for automatically growing storage size. |
| StorageIop |
Maximum IOPS supported for storage. Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. |
| StorageSizeGb |
Size of storage assigned to a server. |
| StorageThroughput |
Maximum throughput supported for storage. Required when type of storage is PremiumV2_LRS or UltraSSD_LRS. |
| StorageTier |
Storage tier of a server. |
| StorageType |
Type of storage assigned to a server. Allowed values are Premium_LRS, PremiumV2_LRS, or UltraSSD_LRS. If not specified, it defaults to Premium_LRS. |
| SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
| SystemDataCreatedBy |
The identity that created the resource. |
| SystemDataCreatedByType |
The type of identity that created the resource. |
| SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
| SystemDataLastModifiedBy |
The identity that last modified the resource. |
| SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
| Tag |
Resource tags. |
| Type |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
| Version |
Major version of PostgreSQL database engine. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Server. |
| DeserializeFromPSObject(PSObject) | |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.PostgreSqlFlexibleServer.Models.IServer. |
| FromJsonString(String) |
Creates a new instance of Server, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) | |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |
| Validate(IEventListener) |
Validates that this object meets the validation criteria. |