-
Notifications
You must be signed in to change notification settings - Fork 5k
/
createAlias.json
35 lines (35 loc) · 1.08 KB
/
createAlias.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
33
34
35
{
"parameters": {
"aliasName": "aliasForNewSub",
"api-version": "2020-09-01",
"body": {
"properties": {
"displayName": "Contoso MCA subscription",
"billingScope": "/providers/Microsoft.Billing/billingAccounts/e879cf0f-2b4d-5431-109a-f72fc9868693:024cabf4-7321-4cf9-be59-df0c77ca51de_2019-05-31/billingProfiles/PE2Q-NOIT-BG7-TGB/invoiceSections/MTT4-OBS7-PJA-TGB",
"workload": "Production"
}
}
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.Subscription/aliases/aliasForNewSub",
"name": "aliasForNewSub",
"type": "Microsoft.Subscription/aliases",
"properties": {
"subscriptionId": "subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05"
}
}
},
"201": {
"body": {
"id": "/providers/Microsoft.Subscription/aliases/aliasForNewSub",
"name": "aliasForNewSub",
"type": "Microsoft.Subscription/aliases",
"properties": {
"subscriptionId": "subscriptions/291bba3f-e0a5-47bc-a099-3bdcb2a50a05"
}
}
}
}
}