Communication Service - Get
Haal de CommunicationService en de eigenschappen ervan op.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Communication/communicationServices/{communicationServiceName}?api-version=2020-08-20
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
communication
|
path | True |
string |
De naam van de CommunicationService-resource. Regex-patroon: |
resource
|
path | True |
string |
De naam van de resourcegroep. De naam is niet hoofdlettergevoelig. |
subscription
|
path | True |
string |
De id van het doelabonnement. |
api-version
|
query | True |
string |
De API-versie die voor deze bewerking moet worden gebruikt. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
Succes. In het antwoord wordt de bijbehorende CommunicationService-service beschreven. |
|
Other Status Codes |
Foutreactie waarin wordt beschreven waarom de bewerking is mislukt. |
Voorbeelden
Get resource
Voorbeeldaanvraag
GET https://management.azure.com/subscriptions/12345/resourceGroups/MyResourceGroup/providers/Microsoft.Communication/communicationServices/MyCommunicationResource?api-version=2020-08-20
Voorbeeldrespons
{
"id": "/subscriptions/12345/resourceGroups/MyResourceGroup/providers/Microsoft.Communication/CommunicationServices/MyCommunicationResource",
"name": "MyCommunicationResource",
"type": "Microsoft.Communication/CommunicationServices",
"location": "Global",
"properties": {
"dataLocation": "United States",
"provisioningState": "Running",
"hostName": "mycommunicationservice.comms.azure.net",
"version": "0.2.0"
}
}
{
"error": {
"code": "ResourceNotFound",
"message": "The requested resource was not found"
}
}
Definities
Name | Description |
---|---|
Communication |
Een klasse die een CommunicationService-resource vertegenwoordigt. |
created |
Het type identiteit waarmee de resource is gemaakt. |
Error |
Aanvullende informatie over de resourcebeheerfout. |
Error |
De foutdetails. |
Error |
Foutreactie |
Provisioning |
Inrichtingsstatus van de resource. |
system |
Metagegevens met betrekking tot het maken en de laatste wijziging van de resource. |
CommunicationServiceResource
Een klasse die een CommunicationService-resource vertegenwoordigt.
Name | Type | Description |
---|---|---|
id |
string |
Volledig gekwalificeerde resource-id voor de resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
location |
string |
De Azure-locatie waar de CommunicationService wordt uitgevoerd. |
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.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 |
Metagegevens met betrekking tot het maken en de laatste wijziging van de resource. |
|
tags |
object |
Tags van de service, een lijst met sleutel-waardeparen die de resource beschrijven. |
type |
string |
Het type resource. Bijvoorbeeld 'Microsoft.Compute/virtualMachines' of 'Microsoft.Storage/storageAccounts' |
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 extra informatietype. |
ErrorDetail
De foutdetails.
Name | Type | Description |
---|---|---|
additionalInfo |
De fout bevat aanvullende informatie. |
|
code |
string |
De foutcode. |
details |
De foutdetails. |
|
message |
string |
Het foutbericht. |
target |
string |
Het foutdoel. |
ErrorResponse
Foutreactie
Name | Type | Description |
---|---|---|
error |
Het foutobject. |
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 |
systemData
Metagegevens met betrekking tot het maken en de laatste wijziging van de resource.
Name | Type | Description |
---|---|---|
createdAt |
string |
De 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 voor het laatst heeft gewijzigd. |
lastModifiedByType |
Het type identiteit dat de resource voor het laatst heeft gewijzigd. |