Skip to content

Commit 59d57d4

Browse files
ariehfArieh Faiga 🙂
authored andcommitted
[Hub Generated] Review request for Microsoft.ProfessionalService to add version preview/2023-07-01-preview (Azure#22748)
* Generate new Service for professionalservice * Initial Professional Services version * fixes * Fixes2 * Fixes3 * fixes4 * fix5 * fix6 * prettier fixes * Remove ResourceMove and ValidateResourceMove * remove non required readme files --------- Co-authored-by: Arieh Faiga 🙂 <[email protected]>
1 parent 10ee8ed commit 59d57d4

15 files changed

+1406
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-07-01-preview",
4+
"operationId": "2499e7c2-d251-4a54-9b0f-7673fe325283"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"id": "/providers/Microsoft.ProfessionalService/resources/testprofservice",
10+
"name": "testprofservice",
11+
"type": "Microsoft.ProfessionalService/resources",
12+
"properties": {
13+
"status": "Subscribed",
14+
"publisherId": "profservicepublisher",
15+
"skuId": "ff051f4f-a6d9-4cbc-8d9a-2a41bd468abc",
16+
"offerId": "testprofservice",
17+
"paymentChannelMetadata": {
18+
"billingAccountId": "5c78bfbb-bd8b-4185-8080-0a981c668ae7",
19+
"organizationId": "2303dbd1-469a-40ea-8fa0-7a456237ebdc_2018-09-30"
20+
},
21+
"term": {
22+
"termUnit": "P1Y",
23+
"startDate": "2023-06-28T00:00:00Z",
24+
"endDate": "2024-06-27T00:00:00Z"
25+
},
26+
"billingPeriod": "P1M",
27+
"autoRenew": false,
28+
"isFreeTrial": false,
29+
"created": "2023-06-28T05:08:40.9235607Z",
30+
"lastModified": "2023-06-29T21:25:40.2736665Z"
31+
},
32+
"tags": {}
33+
}
34+
},
35+
"202": {}
36+
}
37+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-07-01-preview"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"name": "Microsoft.ProfessionalService/register/action",
11+
"display": {
12+
"provider": "Microsoft",
13+
"resource": "Professional Service Resources",
14+
"operation": "Register Professional Service resource provider",
15+
"description": "Register Professional Service resource provider in the tenant"
16+
},
17+
"origin": null
18+
},
19+
{
20+
"name": "Microsoft.ProfessionalService/resources/read",
21+
"display": {
22+
"provider": "Microsoft",
23+
"resource": "Professional Service resources",
24+
"operation": "Get a Professional Service resource",
25+
"description": "Get a Professional Service resource"
26+
},
27+
"origin": null
28+
},
29+
{
30+
"name": "Microsoft.ProfessionalService/resources/write",
31+
"display": {
32+
"provider": "Microsoft",
33+
"resource": "ProfessionalService resources",
34+
"operation": "Create or Update a Professional Service resource",
35+
"description": "Create or Update a Professional Service resource"
36+
},
37+
"origin": null
38+
},
39+
{
40+
"name": "Microsoft.ProfessionalService/resources/delete",
41+
"display": {
42+
"provider": "Microsoft",
43+
"resource": "Professional Service resources",
44+
"operation": "Delete a Professional Service resource",
45+
"description": "Delete a Professional Service resource"
46+
},
47+
"origin": null
48+
}
49+
],
50+
"nextLink": null
51+
}
52+
}
53+
}
54+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
},
8+
"responses": {
9+
"200": {},
10+
"202": {
11+
"headers": {
12+
"Location": "https://management.azure.com/providers/Microsoft.ProfessionalService/operationResults/cf8f95c9-af6b-41dd-a622-e6f4fc60c3ee?api-version=2023-07-01-preview",
13+
"Retry-After": "10"
14+
}
15+
},
16+
"204": {}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "c825645b-e31b-9cf4-1cee-2aba9e58bc7c",
4+
"resourceGroupName": "my-ps-rg",
5+
"resourceName": "ps_subscription",
6+
"api-version": "2023-07-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/c825645b-e31b-9cf4-1cee-2aba9e58bc7c/resourceGroups/my-ps-rg/providers/Microsoft.ProfessionalService/resources/ps_subscription",
12+
"name": "ps_subscription",
13+
"type": "Microsoft.ProfessionalService/resources",
14+
"properties": {
15+
"status": "Subscribed",
16+
"publisherId": "microsoft-contoso",
17+
"skuId": "free",
18+
"offerId": "contosoOfferPS",
19+
"paymentChannelType": "SubscriptionDelegated",
20+
"paymentChannelMetadata": {
21+
"azureSubscriptionId": "c825645b-e31b-9cf4-1cee-2aba9e58bc7c",
22+
"resourceId": "263ebe8c-3621-4ac0-a6ba-f1419bfb9166"
23+
},
24+
"term": {
25+
"termUnit": "P1Y",
26+
"startDate": "2023-02-01T00:00:00Z",
27+
"endDate": "2024-01-31T00:00:00Z"
28+
},
29+
"billingPeriod": "P1M",
30+
"autoRenew": false,
31+
"isFreeTrial": false,
32+
"created": "2023-02-01T08:30:10.1234567Z",
33+
"lastModified": "2023-02-01T08:35:05.7654321Z"
34+
},
35+
"tags": {}
36+
}
37+
}
38+
}
39+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "c825645b-e31b-9cf4-1cee-2aba9e58bc7c",
4+
"api-version": "2023-07-01-preview"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"nextLink": null,
10+
"value": [
11+
{
12+
"id": "/subscriptions/c825645b-e31b-9cf4-1cee-2aba9e58bc7c/resourceGroups/my-ps-rg/providers/Microsoft.ProfessionalService/resources/MyContosoPS",
13+
"name": "MyContosoPS",
14+
"type": "Microsoft.ProfessionalService/resources",
15+
"properties": {
16+
"status": "Subscribed",
17+
"publisherId": "microsoft-contoso",
18+
"skuId": "free",
19+
"offerId": "contosoOfferPS",
20+
"paymentChannelType": "SubscriptionDelegated",
21+
"paymentChannelMetadata": {
22+
"azureSubscriptionId": "c825645b-e31b-9cf4-1cee-2aba9e58bc7c",
23+
"resourceId": "263ebe8c-3621-4ac0-a6ba-f1419bfb9166"
24+
},
25+
"term": {
26+
"termUnit": "P1Y",
27+
"startDate": "2023-02-01T00:00:00Z",
28+
"endDate": "2024-01-31T00:00:00Z"
29+
},
30+
"billingPeriod": "P1M",
31+
"autoRenew": false,
32+
"isFreeTrial": false,
33+
"created": "2023-02-01T08:30:10.1234567Z",
34+
"lastModified": "2023-02-01T08:35:05.7654321Z"
35+
},
36+
"tags": {}
37+
}
38+
]
39+
}
40+
}
41+
}
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "c825645b-e31b-9cf4-1cee-2aba9e58bc7c",
4+
"resourceGroupName": "my-ps-rg",
5+
"api-version": "2023-07-01-preview"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"nextLink": null,
11+
"value": [
12+
{
13+
"id": "/subscriptions/c825645b-e31b-9cf4-1cee-2aba9e58bc7c/resourceGroups/my-ps-rg/providers/Microsoft.ProfessionalService/resources/MyContosoPS",
14+
"name": "MyContosoPS",
15+
"type": "Microsoft.ProfessionalService/resources",
16+
"properties": {
17+
"status": "Subscribed",
18+
"publisherId": "microsoft-contoso",
19+
"skuId": "free",
20+
"offerId": "contosoOfferPS",
21+
"paymentChannelType": "SubscriptionDelegated",
22+
"paymentChannelMetadata": {
23+
"azureSubscriptionId": "c825645b-e31b-9cf4-1cee-2aba9e58bc7c",
24+
"resourceId": "263ebe8c-3621-4ac0-a6ba-f1419bfb9166"
25+
},
26+
"term": {
27+
"termUnit": "P1Y",
28+
"startDate": "2023-02-01T00:00:00Z",
29+
"endDate": "2024-01-31T00:00:00Z"
30+
},
31+
"billingPeriod": "P1M",
32+
"autoRenew": false,
33+
"isFreeTrial": false,
34+
"created": "2023-02-01T08:30:10.1234567Z",
35+
"lastModified": "2023-02-01T08:35:05.7654321Z"
36+
},
37+
"tags": {}
38+
}
39+
]
40+
}
41+
}
42+
}
43+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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+
}
16+
}
17+
},
18+
"responses": {
19+
"200": {
20+
"body": {
21+
"id": "/subscriptions/c825645b-e31b-9cf4-1cee-2aba9e58bc7c/resourceGroups/my-ps-rg/providers/Microsoft.ProfessionalService/resources/MyContosoPS",
22+
"name": "MyContosoPS",
23+
"type": "Microsoft.ProfessionalService/resources",
24+
"properties": {
25+
"status": "Subscribed",
26+
"publisherId": "microsoft-contoso",
27+
"skuId": "free",
28+
"offerId": "contosoOfferPS",
29+
"paymentChannelType": "SubscriptionDelegated",
30+
"paymentChannelMetadata": {
31+
"azureSubscriptionId": "c825645b-e31b-9cf4-1cee-2aba9e58bc7c",
32+
"resourceId": "263ebe8c-3621-4ac0-a6ba-f1419bfb9166"
33+
},
34+
"term": null,
35+
"billingPeriod": null,
36+
"autoRenew": false,
37+
"isFreeTrial": false,
38+
"created": "2023-02-01T08:30:10.1234567Z",
39+
"lastModified": "2023-02-01T08:35:05.7654321Z"
40+
},
41+
"tags": {}
42+
}
43+
},
44+
"202": {
45+
"headers": {
46+
"Location": "https://management.azure.com/providers/Microsoft.ProfessionalService/operationResults/cf7f95c9-af6b-41dd-a622-e6f4fc60c3ee?api-version=2020-05-01",
47+
"Retry-After": "10"
48+
}
49+
}
50+
}
51+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
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+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
"unsubscribeOnly": true,
9+
"reasonCode": 0,
10+
"feedback": "No longer need this ProfessionalService"
11+
}
12+
},
13+
"responses": {
14+
"200": {},
15+
"202": {
16+
"headers": {
17+
"Location": "https://management.azure.com/providers/Microsoft.ProfessionalService/operationResults/cf7f95c3-af6b-41dd-a622-e6f4fc60c3ee?api-version=2020-05-01",
18+
"Retry-After": "10"
19+
}
20+
},
21+
"204": {}
22+
}
23+
}

0 commit comments

Comments
 (0)