Skip to main content

clusters

Overview

Nameclusters
TypeResource
Idazure.postgresql_hsc.clusters

Fields

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectProperties of the cluster.
tagsobjectResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTclusterName, resourceGroupName, subscriptionIdGets information about a cluster such as compute and storage configuration and cluster lifecycle metadata such as cluster creation date and time.
listSELECTsubscriptionIdLists all clusters in a subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists all clusters in a resource group.
createINSERTclusterName, resourceGroupName, subscriptionIdCreates a new cluster with servers.
deleteDELETEclusterName, resourceGroupName, subscriptionIdDeletes a cluster together with servers in it.
_listEXECsubscriptionIdLists all clusters in a subscription.
_list_by_resource_groupEXECresourceGroupName, subscriptionIdLists all clusters in a resource group.
check_name_availabilityEXECsubscriptionId, data__name, data__typeChecks availability of a cluster name. Cluster names should be globally unique; at least 3 characters and at most 40 characters long; they must only contain lowercase letters, numbers, and hyphens; and must not start or end with a hyphen.
promote_read_replicaEXECclusterName, resourceGroupName, subscriptionIdPromotes read replica cluster to an independent read-write cluster.
restartEXECclusterName, resourceGroupName, subscriptionIdRestarts all nodes in the cluster.
startEXECclusterName, resourceGroupName, subscriptionIdStarts stopped compute on all cluster nodes.
stopEXECclusterName, resourceGroupName, subscriptionIdStops compute on all cluster nodes.
updateEXECclusterName, resourceGroupName, subscriptionIdUpdates an existing cluster. The request body can contain one or several properties from the cluster definition.