Skip to main content

replicas

Creates, updates, deletes, gets or lists a replicas resource.

Overview

Namereplicas
TypeResource
Idazure.mysql.replicas

Fields

NameDatatypeDescription
identityobjectProperties to configure Identity for Bring your Own Keys
locationstringThe geo-location where the resource lives
propertiesobjectThe properties of a server.
skuobjectBilling information related properties of a server.
tagsobjectResource tags.

Methods

NameAccessible byRequired ParamsDescription
list_by_serverSELECTresourceGroupName, serverName, subscriptionIdList all the replicas for a given server.

SELECT examples

List all the replicas for a given server.

SELECT
identity,
location,
properties,
sku,
tags
FROM azure.mysql.replicas
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';