GetServerResult

data class GetServerResult(val administratorLogin: String? = null, val authConfig: AuthConfigResponse? = null, val availabilityZone: String? = null, val azureApiVersion: String, val backup: BackupResponse? = null, val dataEncryption: DataEncryptionResponse? = null, val fullyQualifiedDomainName: String, val highAvailability: HighAvailabilityResponse? = null, val id: String, val identity: UserAssignedIdentityResponse? = null, val location: String, val maintenanceWindow: MaintenanceWindowResponse? = null, val minorVersion: String, val name: String, val network: NetworkResponse? = null, val privateEndpointConnections: List<PrivateEndpointConnectionResponse>, val replica: ReplicaResponse? = null, val replicaCapacity: Int, val replicationRole: String? = null, val sku: SkuResponse? = null, val sourceServerResourceId: String? = null, val state: String, val storage: StorageResponse? = null, val systemData: SystemDataResponse, val tags: Map<String, String>? = null, val type: String, val version: String? = null)

Represents a server.

Constructors

Link copied to clipboard
constructor(administratorLogin: String? = null, authConfig: AuthConfigResponse? = null, availabilityZone: String? = null, azureApiVersion: String, backup: BackupResponse? = null, dataEncryption: DataEncryptionResponse? = null, fullyQualifiedDomainName: String, highAvailability: HighAvailabilityResponse? = null, id: String, identity: UserAssignedIdentityResponse? = null, location: String, maintenanceWindow: MaintenanceWindowResponse? = null, minorVersion: String, name: String, network: NetworkResponse? = null, privateEndpointConnections: List<PrivateEndpointConnectionResponse>, replica: ReplicaResponse? = null, replicaCapacity: Int, replicationRole: String? = null, sku: SkuResponse? = null, sourceServerResourceId: String? = null, state: String, storage: StorageResponse? = null, systemData: SystemDataResponse, tags: Map<String, String>? = null, type: String, version: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

AuthConfig properties of a server.

Link copied to clipboard

availability zone information of the server.

Link copied to clipboard

The Azure API version of the resource.

Link copied to clipboard
val backup: BackupResponse? = null

Backup properties of a server.

Link copied to clipboard

Data encryption properties of a server.

Link copied to clipboard

The fully qualified domain name of a server.

Link copied to clipboard

High availability properties of a server.

Link copied to clipboard
val id: String

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Link copied to clipboard

Describes the identity of the application.

Link copied to clipboard

The geo-location where the resource lives

Link copied to clipboard

Maintenance window properties of a server.

Link copied to clipboard

The minor version of the server.

Link copied to clipboard

The name of the resource

Link copied to clipboard

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.

Link copied to clipboard

List of private endpoint connections associated with the specified resource.

Link copied to clipboard

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

Link copied to clipboard

Replicas allowed for a server.

Link copied to clipboard
val replicationRole: String? = null

Replication role of the server

Link copied to clipboard
val sku: SkuResponse? = null

The SKU (pricing tier) of the server.

Link copied to clipboard

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

Link copied to clipboard

A state of a server that is visible to user.

Link copied to clipboard

Storage properties of a server.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Map<String, String>? = null

Resource tags.

Link copied to clipboard

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

Link copied to clipboard
val version: String? = null

PostgreSQL Server version.