Skip to content

Commit ef46891

Browse files
diyakobogiromm2ms
authored andcommitted
Dev saas microsoft.saa s 2018 03 01 beta (Azure#11680)
* from local Signed-off-by: Dina Yakobovich <diyakobo@microsoft.com> * add examples * fix saasDelete * fix again saasDelete * change to lowerCase * second change to lower Case * fix parameters * update deleteOptions definition * add folder * add new line and cSpell * typing errors * change example rsponse * change response of application example * add statuses to responses * change put payload parameters name * change tag properties * add readme files * move x-ms-exaples to the right place * add defoult response * fix error responses * change operation schema * add 200 to delete response * fix worning * readme files * remove long running * add space * spelling errors * comments fixing * return operation * readonly * add suppression
1 parent 83a8261 commit ef46891

File tree

16 files changed

+1283
-0
lines changed

16 files changed

+1283
-0
lines changed

cSpell.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,14 @@
748748
"pstn",
749749
"unconfiguring"
750750
]
751+
},
752+
{
753+
"filename": "**/specification/saas/resource-manager/Microsoft.SaaS/preview/2018-03-01-beta/saas.json",
754+
"words": [
755+
"checkmoderneligibility",
756+
"saasresources",
757+
"Moderneligibility"
758+
]
751759
}
752760
]
753761
}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "bc6c2f82-a39d-41b8-a648-71527498a23e",
4+
"resourceGroupName": "myResourceGroup",
5+
"api-version": "2018-03-01-beta"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"nextLink": null,
11+
"value": [
12+
{
13+
"id": "/subscriptions/bc6c2f82-a39d-41b8-a648-71527498a23e/resourceGroups/myResourceGroup/providers/Microsoft.SaaS/applications/myapp",
14+
"location": "location",
15+
"name": "myapp",
16+
"type": "Microsoft.SaaS/applications",
17+
"properties": {
18+
"status": "Subscribed",
19+
"saasAppPlan": {
20+
"publisher": "contoso",
21+
"product": "myOffer",
22+
"name": "myPlan1"
23+
}
24+
},
25+
"tags": [
26+
{
27+
"additionalProperties": "additionalProperties"
28+
}
29+
]
30+
},
31+
{
32+
"id": "/subscriptions/bc6c2f82-a39d-41b8-a648-71527498a23e/resourceGroups/myResourceGroup/providers/Microsoft.SaaS/applications/myapp",
33+
"location": "location",
34+
"name": "myapp",
35+
"type": "Microsoft.SaaS/applications",
36+
"properties": {
37+
"status": "Subscribed",
38+
"saasAppPlan": {
39+
"publisher": "contoso",
40+
"product": "myOffer",
41+
"name": "myPlan2"
42+
}
43+
},
44+
"tags": [
45+
{
46+
"additionalProperties": "additionalProperties"
47+
}
48+
]
49+
}
50+
]
51+
}
52+
}
53+
}
54+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"api-version": "2018-03-01-beta",
4+
"subscriptionId": "bc6c2f82-a39d-41b8-a648-71527498a23e"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"id": "bc6c2f82-a39d-41b8-a648-71527498a23e",
10+
"isModern": true
11+
}
12+
}
13+
}
14+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"parameters": {
3+
"api-version": "2018-03-01-beta"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"name": "Microsoft.SaaS/register/action",
11+
"display": {
12+
"provider": "Microsoft",
13+
"resource": "SaaS Resources",
14+
"operation": "Register SaaS resource provider",
15+
"description": "Register Saas resource provider in the tenant"
16+
},
17+
"origin": null
18+
},
19+
{
20+
"name": "Microsoft.SaaS/saasresources/read",
21+
"display": {
22+
"provider": "Microsoft",
23+
"resource": "SaaS Resources",
24+
"operation": "Get SaaS Resources",
25+
"description": "Get all SaaS resources or one resource"
26+
},
27+
"origin": null
28+
},
29+
{
30+
"name": "Microsoft.SaaS/saasresources/write",
31+
"display": {
32+
"provider": "Microsoft",
33+
"resource": "SaaS Resources",
34+
"operation": "Create or Update a SaaS resource",
35+
"description": "Create or Update a SaaS resource"
36+
},
37+
"origin": null
38+
},
39+
{
40+
"name": "Microsoft.SaaS/saasresources/delete",
41+
"display": {
42+
"provider": "Microsoft",
43+
"resource": "SaaS Resources",
44+
"operation": "Delete a SaaS Resource",
45+
"description": "Delete a SaaS Resource"
46+
},
47+
"origin": null
48+
},
49+
{
50+
"name": "Microsoft.SaaS/saasresources/listaccesstoken/action",
51+
"display": {
52+
"provider": "Microsoft",
53+
"resource": "SaaS Resources",
54+
"operation": "Get the access Token",
55+
"description": "Get the access Token for a SaaS resource"
56+
},
57+
"origin": null
58+
}
59+
],
60+
"nextLink": null
61+
}
62+
}
63+
}
64+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"parameters": {
3+
"resourceId": "c825645b-e31b-9cf4-1cee-2aba9e58bc7c",
4+
"api-version": "2018-03-01-beta"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"publisherOfferBaseUri": "https://cloud.elastic.co/api/v1/marketplace/azure/common/auth",
10+
"token": "jyhAtr3AiFTXO0QsEkYizsNzqIAUJ+E0M1SXhl4E5hwAl7+GJT6t+dEwuWpSizgR0Vn6dMhzpS94JRzkUh2Xuq5L1QDgmDkDUeIikTFNviwtwxtF8CwipcB49rq5d8whmVp0CmWEjd/FzU0vvlikBRuy+asxC1UhXv6XxBkSxkZKj29AAFiGgsgRvXIld47C"
11+
}
12+
}
13+
}
14+
}
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"parameters": {
3+
"api-version": "2018-03-01-beta"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"nextLink": null,
9+
"value": [
10+
{
11+
"id": "/providers/Microsoft.SaaS/saasresources/115c3523-1fae-757f-af86-7b27cfd29805",
12+
"name": "diyakobo-transfer",
13+
"type": "Microsoft.SaaS/saasresources",
14+
"properties": {
15+
"status": "Subscribed",
16+
"saasResourceName": "diyakobo-transfer",
17+
"publisherId": "microsoft-hcb",
18+
"skuId": "free",
19+
"offerId": "microsofthealthcarebot",
20+
"quantity": null,
21+
"termId": null,
22+
"paymentChannelType": null,
23+
"paymentChannelMetadata": {
24+
"azureSubscriptionId": "155af98a-3205-47e7-883b-a2ab9db9f88d",
25+
"resourceId": "b25dba9a-1bd7-4600-9447-3d27d11a6477"
26+
},
27+
"publisherTestEnvironment": null,
28+
"term": {
29+
"termUnit": "P1M",
30+
"startDate": "2020-11-12T00:00:00Z",
31+
"endDate": "2020-12-11T00:00:00Z"
32+
},
33+
"autoRenew": null,
34+
"isFreeTrial": false,
35+
"created": "2020-10-12T05:08:40.9235607Z",
36+
"lastModified": "2020-11-12T21:25:40.2736665Z"
37+
},
38+
"tags": null
39+
},
40+
{
41+
"id": "/providers/Microsoft.SaaS/saasresources/7a4a733c-2204-ee2c-2f51-47c2dfbcb7fd",
42+
"name": "test-transfer",
43+
"type": "Microsoft.SaaS/saasresources",
44+
"properties": {
45+
"status": "Subscribed",
46+
"saasResourceName": "test-transfer",
47+
"publisherId": "microsoft-hcb",
48+
"skuId": "free",
49+
"offerId": "microsofthealthcarebot",
50+
"quantity": null,
51+
"termId": null,
52+
"paymentChannelType": null,
53+
"paymentChannelMetadata": {
54+
"azureSubscriptionId": "155af98a-3205-47e7-883b-a2ab9db9f88d",
55+
"resourceId": "f5816b76-67e3-45e1-b331-91fbb021e068"
56+
},
57+
"publisherTestEnvironment": null,
58+
"term": {
59+
"termUnit": "P1M",
60+
"startDate": "2020-10-30T00:00:00Z",
61+
"endDate": "2020-11-29T00:00:00Z"
62+
},
63+
"autoRenew": null,
64+
"isFreeTrial": false,
65+
"created": "2020-09-30T16:45:41.2981172Z",
66+
"lastModified": "2020-10-30T16:22:15.4319475Z"
67+
},
68+
"tags": null
69+
}
70+
]
71+
}
72+
}
73+
}
74+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"parameters": {
3+
"api-version": "2018-03-01-beta",
4+
"resourceId": "115c3523-1fae-757f-af86-7b27cfd29805",
5+
"parameters": {
6+
"unsubscribeOnly": true,
7+
"reasonCode": 0,
8+
"feedback": null
9+
}
10+
},
11+
"responses": {
12+
"204": {},
13+
"200": {}
14+
}
15+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"parameters": {
3+
"api-version": "2018-03-01-beta",
4+
"resourceId": "115c3523-1fae-757f-af86-7b27cfd29805"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"id": "/providers/Microsoft.SaaS/saasresources/115c3523-1fae-757f-af86-7b27cfd29805",
10+
"name": "diyakobo-transfer",
11+
"type": "Microsoft.SaaS/saasresources",
12+
"properties": {
13+
"status": "Subscribed",
14+
"saasResourceName": "diyakobo-transfer",
15+
"publisherId": "microsoft-hcb",
16+
"skuId": "free",
17+
"offerId": "microsofthealthcarebot",
18+
"quantity": null,
19+
"termId": null,
20+
"paymentChannelType": null,
21+
"paymentChannelMetadata": {
22+
"azureSubscriptionId": "155af98a-3205-47e7-883b-a2ab9db9f88d",
23+
"resourceId": "b25dba9a-1bd7-4600-9447-3d27d11a6477"
24+
},
25+
"publisherTestEnvironment": null,
26+
"term": {
27+
"termUnit": "P1M",
28+
"startDate": "2020-11-12T00:00:00Z",
29+
"endDate": "2020-12-11T00:00:00Z"
30+
},
31+
"autoRenew": null,
32+
"isFreeTrial": false,
33+
"created": "2020-10-12T05:08:40.9235607Z",
34+
"lastModified": "2020-11-12T21:25:40.2736665Z"
35+
},
36+
"tags": null
37+
}
38+
}
39+
}
40+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"parameters": {
3+
"api-version": "2018-03-01-beta",
4+
"parameters": {
5+
"properties": {
6+
"publisherId": "microsoft-hcb",
7+
"offerId": "microsofthealthcarebot",
8+
"saasResourceName": "testRunnerFromArm",
9+
"skuId": "free",
10+
"paymentChannelType": "SubscriptionDelegated",
11+
"termId": "hjdtn7tfnxcy",
12+
"paymentChannelMetadata": {
13+
"AzureSubscriptionId": "155af98a-3205-47e7-883b-a2ab9db9f88d"
14+
}
15+
}
16+
}
17+
},
18+
"responses": {
19+
"202": {}
20+
}
21+
}

0 commit comments

Comments
 (0)