|
| 1 | +{ |
| 2 | + "parameters": { |
| 3 | + "subscriptionId": "c825645b-e31b-9cf4-1cee-2aba9e58bc7c", |
| 4 | + "resourceGroupName": "my-ps-rg", |
| 5 | + "resourceName": "MyContosoPS", |
| 6 | + "api-version": "2023-07-01-preview", |
| 7 | + "parameters": { |
| 8 | + "location": "global", |
| 9 | + "name": "MyContosoPS", |
| 10 | + "properties": { |
| 11 | + "publisherId": "microsoft-contoso", |
| 12 | + "offerId": "testprofservice", |
| 13 | + "skuId": "ff051f4f-a6d9-4cbc-8d9a-2a41bd468abc", |
| 14 | + "quoteId": "quoteabc", |
| 15 | + "termUnit": "P3Y", |
| 16 | + "billingPeriod": "P1Y" |
| 17 | + } |
| 18 | + } |
| 19 | + }, |
| 20 | + "responses": { |
| 21 | + "200": { |
| 22 | + "body": { |
| 23 | + "id": "/subscriptions/c825645b-e31b-9cf4-1cee-2aba9e58bc7c/resourceGroups/my-ps-rg/providers/Microsoft.ProfessionalService/resources/MyContosoPS", |
| 24 | + "name": "MyContosoPS", |
| 25 | + "type": "Microsoft.ProfessionalService/resources", |
| 26 | + "properties": { |
| 27 | + "status": "Subscribed", |
| 28 | + "publisherId": "microsoft-contoso", |
| 29 | + "skuId": "free", |
| 30 | + "offerId": "contosoOfferPS", |
| 31 | + "paymentChannelType": "SubscriptionDelegated", |
| 32 | + "paymentChannelMetadata": { |
| 33 | + "azureSubscriptionId": "c825645b-e31b-9cf4-1cee-2aba9e58bc7c", |
| 34 | + "resourceId": "263ebe8c-3621-4ac0-a6ba-f1419bfb9166" |
| 35 | + }, |
| 36 | + "term": { |
| 37 | + "termUnit": "P1Y", |
| 38 | + "startDate": "2023-02-01T00:00:00Z", |
| 39 | + "endDate": "2024-01-31T00:00:00Z" |
| 40 | + }, |
| 41 | + "billingPeriod": "P1M", |
| 42 | + "autoRenew": false, |
| 43 | + "isFreeTrial": false, |
| 44 | + "created": "2023-02-01T08:30:10.1234567Z", |
| 45 | + "lastModified": "2023-02-01T08:35:05.7654321Z" |
| 46 | + }, |
| 47 | + "tags": {} |
| 48 | + } |
| 49 | + }, |
| 50 | + "202": { |
| 51 | + "headers": { |
| 52 | + "Location": "https://management.azure.com/providers/Microsoft.ProfessionalService/operationResults/cf7f95c9-af6b-41dd-a622-e6f4fc60c3ee?api-version=2020-05-01", |
| 53 | + "Retry-After": "10" |
| 54 | + } |
| 55 | + } |
| 56 | + } |
| 57 | +} |
0 commit comments