Replicas - List By Server
Mencantumkan semua replika untuk server tertentu.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMariaDB/servers/{serverName}/replicas?api-version=2018-06-01-preview
Parameter URI
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
resource
|
path | True |
|
Nama grup sumber daya yang berisi sumber daya. Anda dapat memperoleh nilai ini dari Azure Resource Manager API atau portal. |
|
server
|
path | True |
|
Nama server. |
|
subscription
|
path | True |
|
ID langganan yang mengidentifikasi langganan Azure. |
|
api-version
|
query | True |
|
Versi API yang digunakan untuk permintaan. |
Respons
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK |
Keamanan
azure_auth
Azure Active Directory Flow OAuth2
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | meniru akun pengguna Anda |
Contoh
ReplicasListByServer
Sample Request
GET https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testmaster/replicas?api-version=2018-06-01-preview
Sample Response
{
"value": [
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver",
"name": "testserver",
"type": "Microsoft.DBforMariaDB/servers",
"location": "northeurope",
"tags": {
"elasticServer": "1"
},
"sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
"capacity": 2
},
"properties": {
"storageProfile": {
"storageMB": 256000,
"backupRetentionDays": 35,
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
"sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver.mariadb.database.azure.com",
"version": "10.2",
"earliestRestoreDate": "2018-06-11T23:56:54.3+00:00",
"replicationRole": "Replica",
"masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testmaster",
"replicaCapacity": 0
}
},
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver1",
"name": "testserver1",
"type": "Microsoft.DBforMariaDB/servers",
"location": "northeurope",
"tags": {
"elasticServer": "1"
},
"sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
"capacity": 2
},
"properties": {
"storageProfile": {
"storageMB": 256000,
"backupRetentionDays": 35,
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
"sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver1.mariadb.database.azure.com",
"version": "10.2",
"earliestRestoreDate": "2018-06-11T23:56:54.3+00:00",
"replicationRole": "Replica",
"masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testmaster",
"replicaCapacity": 0
}
},
{
"id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testserver2",
"name": "testserver2",
"type": "Microsoft.DBforMariaDB/servers",
"location": "northeurope",
"tags": {
"elasticServer": "1"
},
"sku": {
"name": "GP_Gen4_2",
"tier": "GeneralPurpose",
"family": "Gen4",
"capacity": 2
},
"properties": {
"storageProfile": {
"storageMB": 256000,
"backupRetentionDays": 35,
"geoRedundantBackup": "Enabled"
},
"administratorLogin": "cloudsa",
"sslEnforcement": "Enabled",
"userVisibleState": "Ready",
"fullyQualifiedDomainName": "testserver2.mariadb.database.azure.com",
"version": "10.2",
"earliestRestoreDate": "2018-06-11T23:56:54.3+00:00",
"replicationRole": "Replica",
"masterServerId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/TestGroup/providers/Microsoft.DBforMariaDB/servers/testmaster",
"replicaCapacity": 0
}
}
]
}
Definisi
|
Geo |
Aktifkan Geo-redundan atau tidak untuk pencadangan server. |
|
Identity |
Jenis identitas. Atur ini ke 'SystemAssigned' untuk membuat dan menetapkan prinsipal Azure Active Directory untuk sumber daya secara otomatis. |
|
Minimal |
Terapkan versi Tls minimal untuk server. |
|
Resource |
Azure Active Directory konfigurasi identitas untuk sumber daya. |
| Server |
Mewakili server. |
|
Server |
Daftar server. |
|
Server |
Status server yang terlihat oleh pengguna. |
|
Server |
Versi server. |
| Sku |
Properti terkait informasi penagihan server. |
|
Sku |
Tingkat SKU tertentu, misalnya Dasar. |
|
Ssl |
Aktifkan penegakan ssl atau tidak saat tersambung ke server. |
|
Storage |
Aktifkan Storage Tumbuh Otomatis. |
|
Storage |
Storage Properti profil server |
GeoRedundantBackup
Aktifkan Geo-redundan atau tidak untuk pencadangan server.
| Name | Type | Description |
|---|---|---|
| Disabled |
|
|
| Enabled |
|
IdentityType
Jenis identitas. Atur ini ke 'SystemAssigned' untuk membuat dan menetapkan prinsipal Azure Active Directory untuk sumber daya secara otomatis.
| Name | Type | Description |
|---|---|---|
| SystemAssigned |
|
MinimalTlsVersionEnum
Terapkan versi Tls minimal untuk server.
| Name | Type | Description |
|---|---|---|
| TLS1_0 |
|
|
| TLS1_1 |
|
|
| TLS1_2 |
|
|
| TLSEnforcementDisabled |
|
ResourceIdentity
Azure Active Directory konfigurasi identitas untuk sumber daya.
| Name | Type | Description |
|---|---|---|
| principalId |
|
Id utama Azure Active Directory. |
| tenantId |
|
Id penyewa Azure Active Directory. |
| type |
Jenis identitas. Atur ini ke 'SystemAssigned' untuk membuat dan menetapkan prinsipal Azure Active Directory untuk sumber daya secara otomatis. |
Server
Mewakili server.
| Name | Type | Description |
|---|---|---|
| id |
|
ID sumber daya yang sepenuhnya memenuhi syarat untuk sumber daya. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
| identity |
Identitas Azure Active Directory server. |
|
| location |
|
Lokasi geografis tempat sumber daya berada |
| name |
|
Nama sumber daya. |
| properties.administratorLogin |
|
Nama masuk administrator server. Hanya dapat ditentukan ketika server sedang dibuat (dan diperlukan untuk pembuatan). |
| properties.earliestRestoreDate |
|
Waktu pembuatan titik pemulihan paling awal (format ISO8601) |
| properties.fullyQualifiedDomainName |
|
Nama domain server yang sepenuhnya memenuhi syarat. |
| properties.masterServerId |
|
Id server master dari server replika. |
| properties.minimalTlsVersion |
Terapkan versi Tls minimal untuk server. |
|
| properties.replicaCapacity |
|
Jumlah maksimum replika yang dapat dimiliki server master. |
| properties.replicationRole |
|
Peran replikasi server. |
| properties.sslEnforcement |
Aktifkan penegakan ssl atau tidak saat tersambung ke server. |
|
| properties.storageProfile |
Storage profil server. |
|
| properties.userVisibleState |
Status server yang terlihat oleh pengguna. |
|
| properties.version |
Versi server. |
|
| sku |
SKU (tingkat harga) server. |
|
| tags |
|
Tag sumber daya. |
| type |
|
Jenis sumber daya. Misalnya, "Microsoft.Compute/virtualMachines" atau "Microsoft. Storage/storageAccounts" |
ServerListResult
Daftar server.
| Name | Type | Description |
|---|---|---|
| value |
|
Daftar server |
ServerState
Status server yang terlihat oleh pengguna.
| Name | Type | Description |
|---|---|---|
| Disabled |
|
|
| Dropping |
|
|
| Ready |
|
ServerVersion
Versi server.
| Name | Type | Description |
|---|---|---|
| 10.2 |
|
|
| 10.3 |
|
Sku
Properti terkait informasi penagihan server.
| Name | Type | Description |
|---|---|---|
| capacity |
|
Kapasitas peningkatan/peluasan skala, mewakili unit komputasi server. |
| family |
|
Keluarga perangkat keras. |
| name |
|
Nama sku, biasanya, tingkat + keluarga + inti, misalnya B_Gen4_1, GP_Gen5_8. |
| size |
|
Kode ukuran, yang akan ditafsirkan oleh sumber daya yang sesuai. |
| tier |
Tingkat SKU tertentu, misalnya Dasar. |
SkuTier
Tingkat SKU tertentu, misalnya Dasar.
| Name | Type | Description |
|---|---|---|
| Basic |
|
|
| GeneralPurpose |
|
|
| MemoryOptimized |
|
SslEnforcementEnum
Aktifkan penegakan ssl atau tidak saat tersambung ke server.
| Name | Type | Description |
|---|---|---|
| Disabled |
|
|
| Enabled |
|
StorageAutogrow
Aktifkan Storage Tumbuh Otomatis.
| Name | Type | Description |
|---|---|---|
| Disabled |
|
|
| Enabled |
|
StorageProfile
Storage Properti profil server
| Name | Type | Description |
|---|---|---|
| backupRetentionDays |
|
Hari retensi cadangan untuk server. |
| geoRedundantBackup |
Aktifkan Geo-redundan atau tidak untuk pencadangan server. |
|
| storageAutogrow |
Aktifkan Storage Tumbuh Otomatis. |
|
| storageMB |
|
Penyimpanan maks yang diizinkan untuk server. |