Bagikan melalui


Throughput Pool Accounts - List

Mencantumkan semua akun Azure Cosmos DB yang tersedia di bawah langganan.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools/{throughputPoolName}/throughputPoolAccounts?api-version=2025-05-01-preview

Parameter URI

Nama Dalam Diperlukan Jenis Deskripsi
resourceGroupName
path True

string

minLength: 1
maxLength: 90

Nama grup sumber daya. Nama tidak sensitif terhadap penggunaan huruf besar atau kecil.

subscriptionId
path True

string (uuid)

ID langganan target. Nilainya harus sebuah UUID.

throughputPoolName
path True

string

minLength: 3
maxLength: 50
pattern: ^[a-z0-9]+(-[a-z0-9]+)*

Nama Kumpulan Throughput Cosmos DB.

api-version
query True

string

minLength: 1

Versi API yang digunakan untuk operasi ini.

Respons

Nama Jenis Deskripsi
200 OK

ThroughputPoolAccountsListResult

Operasi berhasil diselesaikan.

Other Status Codes

ErrorResponse

Respons kesalahan yang menjelaskan mengapa operasi gagal.

Keamanan

azure_auth

Alur OAuth2 Azure Active Directory

Jenis: oauth2
Alur: implicit
URL Otorisasi: https://login.microsoftonline.com/common/oauth2/authorize

Cakupan

Nama Deskripsi
user_impersonation Meniru akun pengguna Anda

Contoh

CosmosDB ThroughputPool Account List

Permintaan sampel

GET https://management.azure.com/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/rgName/providers/Microsoft.DocumentDB/throughputPools/tp1/throughputPoolAccounts?api-version=2025-05-01-preview

Respon sampel

{
  "value": [
    {
      "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/rg1/providers/Microsoft.DocumentDB/throughputPools/tp1/throughputPoolAccounts/db1",
      "properties": {
        "accountResourceIdentifier": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/db1",
        "accountLocation": "west us",
        "accountInstanceId": "{instance-id1}"
      }
    },
    {
      "id": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/rg1/providers/Microsoft.DocumentDB/throughputPools/tp1/throughputPoolAccounts/db2",
      "properties": {
        "accountResourceIdentifier": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/rg1/providers/Microsoft.DocumentDB/databaseAccounts/db2",
        "accountLocation": "west us",
        "accountInstanceId": "{instance-id2}"
      }
    }
  ]
}

Definisi

Nama Deskripsi
createdByType

Jenis identitas yang membuat sumber daya.

ErrorAdditionalInfo

Info tambahan kesalahan manajemen sumber daya.

ErrorDetail

Detail kesalahan.

ErrorResponse

Tanggapan kesalahan

status

Status provisi ThroughputPool.

systemData

Metadata yang berkaitan dengan pembuatan dan modifikasi terakhir sumber daya.

ThroughputPoolAccountResource

Akun Throughputpool Azure Cosmos DB

ThroughputPoolAccountsListResult

Respons operasi Daftar, yang berisi akun database global dan propertinya.

createdByType

Jenis identitas yang membuat sumber daya.

Nilai Deskripsi
Application
Key
ManagedIdentity
User

ErrorAdditionalInfo

Info tambahan kesalahan manajemen sumber daya.

Nama Jenis Deskripsi
info

object

Info tambahan.

type

string

Jenis info tambahan.

ErrorDetail

Detail kesalahan.

Nama Jenis Deskripsi
additionalInfo

ErrorAdditionalInfo[]

Info tambahan kesalahan.

code

string

Kode kesalahan.

details

ErrorDetail[]

Detail kesalahan.

message

string

Pesan kesalahan.

target

string

Target kesalahan.

ErrorResponse

Tanggapan kesalahan

Nama Jenis Deskripsi
error

ErrorDetail

Objek kesalahan.

status

Status provisi ThroughputPool.

Nilai Deskripsi
Canceled
Failed
Succeeded
Updating

systemData

Metadata yang berkaitan dengan pembuatan dan modifikasi terakhir sumber daya.

Nama Jenis Deskripsi
createdAt

string (date-time)

Tanda waktu pembuatan sumber daya (UTC).

createdBy

string

Identitas yang membuat sumber daya.

createdByType

createdByType

Jenis identitas yang membuat sumber daya.

lastModifiedAt

string (date-time)

Tanda waktu modifikasi terakhir sumber daya (UTC)

lastModifiedBy

string

Identitas yang terakhir mengubah sumber daya.

lastModifiedByType

createdByType

Jenis identitas yang terakhir memodifikasi sumber daya.

ThroughputPoolAccountResource

Akun Throughputpool Azure Cosmos DB

Nama Jenis Deskripsi
id

string (arm-id)

ID sumber daya yang sepenuhnya memenuhi syarat untuk sumber daya. Misalnya "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

name

string

Nama sumber daya

properties.accountInstanceId

string

Id instans akun database global di throughputPool.

properties.accountLocation

string

Lokasi akun database global di throughputPool.

properties.accountResourceIdentifier

string

Pengidentifikasi sumber daya akun database global di throughputPool.

properties.provisioningState

status

Status provisi Akun ThroughputPool.

systemData

systemData

Metadata Azure Resource Manager yang berisi informasi createBy dan modifiedBy.

type

string

Jenis sumber daya. Misalnya, "Microsoft.Compute/virtualMachines" atau "Microsoft.Storage/storageAccounts"

ThroughputPoolAccountsListResult

Respons operasi Daftar, yang berisi akun database global dan propertinya.

Nama Jenis Deskripsi
nextLink

string

Tautan yang digunakan untuk mendapatkan halaman hasil berikutnya.

value

ThroughputPoolAccountResource[]

Daftar akun database global dalam kumpulan throughput dan propertinya.