/
get.json
32 lines (32 loc) · 1.01 KB
/
get.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"parameters": {
"subscriptionId": "11112222-3333-4444-5555-666677778888",
"resourceGroupName": "contosoResourceGroup",
"emailServiceName": "contosoEmailService",
"domainName": "contoso.com",
"senderUsername": "contosoNewsAlerts",
"api-version": "2023-04-01"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/11112222-3333-4444-5555-666677778888/resourceGroups/contosoResourceGroup/providers/Microsoft.Communication/EmailServices/contosoEmailService/Domains/contoso.com/senderUsernames/contosoNewsAlerts",
"name": "contoso.com",
"type": "Microsoft.Communication/EmailServices/Domains/SenderUsernames",
"properties": {
"dataLocation": "United States",
"username": "contosoNewsAlerts",
"displayName": "Contoso News Alerts"
}
}
},
"default": {
"body": {
"error": {
"code": "ResourceNotFound",
"message": "The requested resource was not found"
}
}
}
}
}