Communication Services - List By Subscription
Lijst per abonnement
Verwerkt aanvragen om alle resources in een abonnement weer te geven.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Communication/communicationServices?api-version=2023-03-31
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
subscription
|
path | True |
string uuid |
De id van het doelabonnement. De waarde moet een UUID zijn. |
api-version
|
query | True |
string |
De API-versie die voor deze bewerking moet worden gebruikt. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
Voltooid. Het antwoord beschrijft de lijst met CommunicationServices in het abonnement. |
|
Other Status Codes |
Foutreactie waarin wordt beschreven waarom de bewerking is mislukt. |
Voorbeelden
List by subscription
Sample Request
Sample Response
{
"value": [
{
"id": "/subscriptions/11112222-3333-4444-5555-666677778888/resourceGroups/MyResourceGroup/providers/Microsoft.Communication/CommunicationServices/MyCommunicationResource",
"name": "MyCommunicationResource",
"type": "Microsoft.Communication/CommunicationServices",
"location": "Global",
"properties": {
"provisioningState": "Running",
"dataLocation": "United States",
"hostName": "mycommunicationservice.comms.azure.net",
"version": "0.2.0"
}
}
]
}
Definities
Name | Description |
---|---|
Communication |
Een klasse die een CommunicationService-resource vertegenwoordigt. |
Communication |
Object dat een matrix van CommunicationServices en een mogelijke koppeling voor de volgende set bevat. |
Communication |
Inrichtingsstatus van de resource. |
created |
Het type identiteit waarmee de resource is gemaakt. |
Error |
Aanvullende informatie over de resourcebeheerfout. |
Error |
De foutdetails. |
Error |
Foutreactie |
system |
Metagegevens met betrekking tot het maken en laatste wijzigen van de resource. |
CommunicationServiceResource
Een klasse die een CommunicationService-resource vertegenwoordigt.
Name | Type | Description |
---|---|---|
id |
string |
Volledig gekwalificeerde resource-id voor de resource. Bijvoorbeeld "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
location |
string |
De geografische locatie waar de resource zich bevindt |
name |
string |
De naam van de resource |
properties.dataLocation |
string |
De locatie waar de communicatieservice de data-at-rest opslaat. |
properties.hostName |
string |
FQDN van het CommunicationService-exemplaar. |
properties.immutableResourceId |
string |
De onveranderbare resource-id van de communicatieservice. |
properties.linkedDomains |
string[] |
Lijst met resource-id's van e-maildomein. |
properties.notificationHubId |
string |
Resource-id van een Azure Notification Hub die is gekoppeld aan deze resource. |
properties.provisioningState |
Inrichtingsstatus van de resource. |
|
properties.version |
string |
Versie van de CommunicationService-resource. Waarschijnlijk hebt u dezelfde of hogere versie van client-SDK's nodig. |
systemData |
Azure Resource Manager metagegevens met informatie over createdBy en modifiedBy. |
|
tags |
object |
Resourcetags. |
type |
string |
Het type resource. Bijvoorbeeld 'Microsoft.Compute/virtualMachines' of 'Microsoft.Storage/storageAccounts' |
CommunicationServiceResourceList
Object dat een matrix van CommunicationServices en een mogelijke koppeling voor de volgende set bevat.
Name | Type | Description |
---|---|---|
nextLink |
string |
De URL die de client moet gebruiken om de volgende pagina op te halen (paginering aan serverzijde). Het is nu null en wordt toegevoegd voor toekomstig gebruik. |
value |
Lijst met CommunicationService |
CommunicationServices_ProvisioningState
Inrichtingsstatus van de resource.
Name | Type | Description |
---|---|---|
Canceled |
string |
|
Creating |
string |
|
Deleting |
string |
|
Failed |
string |
|
Moving |
string |
|
Running |
string |
|
Succeeded |
string |
|
Unknown |
string |
|
Updating |
string |
createdByType
Het type identiteit waarmee de resource is gemaakt.
Name | Type | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
ErrorAdditionalInfo
Aanvullende informatie over de resourcebeheerfout.
Name | Type | Description |
---|---|---|
info |
object |
De aanvullende informatie. |
type |
string |
Het type aanvullende informatie. |
ErrorDetail
De foutdetails.
Name | Type | Description |
---|---|---|
additionalInfo |
Aanvullende informatie over de fout. |
|
code |
string |
De foutcode. |
details |
De foutdetails. |
|
message |
string |
Het foutbericht. |
target |
string |
Het foutdoel. |
ErrorResponse
Foutreactie
Name | Type | Description |
---|---|---|
error |
Het foutobject. |
systemData
Metagegevens met betrekking tot het maken en laatste wijzigen van de resource.
Name | Type | Description |
---|---|---|
createdAt |
string |
Het tijdstempel van het maken van resources (UTC). |
createdBy |
string |
De identiteit waarmee de resource is gemaakt. |
createdByType |
Het type identiteit waarmee de resource is gemaakt. |
|
lastModifiedAt |
string |
De tijdstempel van de laatste wijziging van de resource (UTC) |
lastModifiedBy |
string |
De identiteit die de resource het laatst heeft gewijzigd. |
lastModifiedByType |
Het type identiteit dat de resource het laatst heeft gewijzigd. |