Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev saas microsoft.saa s 2018 03 01 beta #11680

Merged
Show file tree
Hide file tree
Changes from 30 commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
e80dab3
from local
DinaYakobo Nov 15, 2020
8bafa70
add examples
DinaYakobo Nov 15, 2020
e305181
fix saasDelete
DinaYakobo Nov 15, 2020
8fca699
fix again saasDelete
DinaYakobo Nov 15, 2020
ea92f82
change to lowerCase
DinaYakobo Nov 15, 2020
3dce1e8
second change to lower Case
DinaYakobo Nov 15, 2020
0852264
fix parameters
DinaYakobo Nov 15, 2020
802dd63
update deleteOptions definition
DinaYakobo Nov 15, 2020
8812991
add folder
DinaYakobo Nov 15, 2020
7230875
add new line and cSpell
DinaYakobo Nov 16, 2020
3d65205
typing errors
DinaYakobo Nov 16, 2020
d61e1ae
change example rsponse
DinaYakobo Nov 16, 2020
0271ae1
change response of application example
DinaYakobo Nov 16, 2020
d8f2a4e
add statuses to responses
DinaYakobo Nov 16, 2020
54d61f7
change put payload parameters name
DinaYakobo Nov 16, 2020
dbc8903
change tag properties
DinaYakobo Nov 17, 2020
2f1999d
add readme files
DinaYakobo Nov 17, 2020
376d317
move x-ms-exaples to the right place
DinaYakobo Nov 17, 2020
3db9609
add defoult response
DinaYakobo Nov 17, 2020
defc193
fix error responses
DinaYakobo Nov 17, 2020
5c0b1d1
change operation schema
DinaYakobo Nov 17, 2020
1d1fb70
add 200 to delete response
DinaYakobo Nov 17, 2020
2d056f4
fix worning
DinaYakobo Nov 18, 2020
be3227e
readme files
DinaYakobo Nov 18, 2020
d5fc1b6
remove long running
DinaYakobo Nov 18, 2020
2ccd2ef
add space
DinaYakobo Nov 18, 2020
89675dc
spelling errors
DinaYakobo Nov 18, 2020
6cc9e9f
comments fixing
DinaYakobo Nov 24, 2020
56fed14
return operation
DinaYakobo Nov 24, 2020
b048b25
readonly
DinaYakobo Nov 24, 2020
a312cfd
add suppression
DinaYakobo Nov 25, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions cSpell.json
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,14 @@
"pstn",
"unconfiguring"
]
},
{
"filename": "**/specification/saas/resource-manager/Microsoft.SaaS/preview/2018-03-01-beta/saas.json",
"words": [
"checkmoderneligibility",
"saasresources",
"Moderneligibility"
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"parameters": {
"subscriptionId": "bc6c2f82-a39d-41b8-a648-71527498a23e",
"resourceGroupName": "myResourceGroup",
"api-version": "2018-03-01-beta"
},
"responses": {
"200": {
"body": {
"nextLink": null,
"value": [
{
"id": "/subscriptions/bc6c2f82-a39d-41b8-a648-71527498a23e/resourceGroups/myResourceGroup/providers/Microsoft.SaaS/applications/myapp",
"location": "location",
"name": "myapp",
"type": "Microsoft.SaaS/applications",
"properties": {
"status": "Subscribed",
"saasAppPlan": {
"publisher": "contoso",
"product": "myOffer",
"name": "myPlan1"
}
},
"tags": [
{
"additionalProperties": "additionalProperties"
}
]
},
{
"id": "/subscriptions/bc6c2f82-a39d-41b8-a648-71527498a23e/resourceGroups/myResourceGroup/providers/Microsoft.SaaS/applications/myapp",
"location": "location",
"name": "myapp",
"type": "Microsoft.SaaS/applications",
"properties": {
"status": "Subscribed",
"saasAppPlan": {
"publisher": "contoso",
"product": "myOffer",
"name": "myPlan2"
}
},
"tags": [
{
"additionalProperties": "additionalProperties"
}
]
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"api-version": "2018-03-01-beta",
"subscriptionId": "bc6c2f82-a39d-41b8-a648-71527498a23e"
},
"responses": {
"200": {
"body": {
"id": "bc6c2f82-a39d-41b8-a648-71527498a23e",
"isModern": true
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"parameters": {
"api-version": "2018-03-01-beta"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.SaaS/register/action",
"display": {
"provider": "Microsoft",
"resource": "SaaS Resources",
"operation": "Register SaaS resource provider",
"description": "Register Saas resource provider in the tenant"
},
"origin": null
},
{
"name": "Microsoft.SaaS/saasresources/read",
"display": {
"provider": "Microsoft",
"resource": "SaaS Resources",
"operation": "Get SaaS Resources",
"description": "Get all SaaS resources or one resource"
},
"origin": null
},
{
"name": "Microsoft.SaaS/saasresources/write",
"display": {
"provider": "Microsoft",
"resource": "SaaS Resources",
"operation": "Create or Update a SaaS resource",
"description": "Create or Update a SaaS resource"
},
"origin": null
},
{
"name": "Microsoft.SaaS/saasresources/delete",
"display": {
"provider": "Microsoft",
"resource": "SaaS Resources",
"operation": "Delete a SaaS Resource",
"description": "Delete a SaaS Resource"
},
"origin": null
},
{
"name": "Microsoft.SaaS/saasresources/listaccesstoken/action",
"display": {
"provider": "Microsoft",
"resource": "SaaS Resources",
"operation": "Get the access Token",
"description": "Get the access Token for a SaaS resource"
},
"origin": null
}
],
"nextLink": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"resourceId": "c825645b-e31b-9cf4-1cee-2aba9e58bc7c",
"api-version": "2018-03-01-beta"
},
"responses": {
"200": {
"body": {
"publisherOfferBaseUri": "https://cloud.elastic.co/api/v1/marketplace/azure/common/auth",
"token": "jyhAtr3AiFTXO0QsEkYizsNzqIAUJ+E0M1SXhl4E5hwAl7+GJT6t+dEwuWpSizgR0Vn6dMhzpS94JRzkUh2Xuq5L1QDgmDkDUeIikTFNviwtwxtF8CwipcB49rq5d8whmVp0CmWEjd/FzU0vvlikBRuy+asxC1UhXv6XxBkSxkZKj29AAFiGgsgRvXIld47C"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"parameters": {
"api-version": "2018-03-01-beta"
},
"responses": {
"200": {
"body": {
"nextLink": null,
"value": [
{
"id": "/providers/Microsoft.SaaS/saasresources/115c3523-1fae-757f-af86-7b27cfd29805",
"name": "diyakobo-transfer",
"type": "Microsoft.SaaS/saasresources",
"properties": {
"status": "Subscribed",
"saasResourceName": "diyakobo-transfer",
"publisherId": "microsoft-hcb",
"skuId": "free",
"offerId": "microsofthealthcarebot",
"quantity": null,
"termId": null,
"paymentChannelType": null,
"paymentChannelMetadata": {
"azureSubscriptionId": "155af98a-3205-47e7-883b-a2ab9db9f88d",
"resourceId": "b25dba9a-1bd7-4600-9447-3d27d11a6477"
},
"publisherTestEnvironment": null,
"term": {
"termUnit": "P1M",
"startDate": "2020-11-12T00:00:00Z",
"endDate": "2020-12-11T00:00:00Z"
},
"autoRenew": null,
"isFreeTrial": false,
"created": "2020-10-12T05:08:40.9235607Z",
"lastModified": "2020-11-12T21:25:40.2736665Z"
},
"tags": null
},
{
"id": "/providers/Microsoft.SaaS/saasresources/7a4a733c-2204-ee2c-2f51-47c2dfbcb7fd",
"name": "test-transfer",
"type": "Microsoft.SaaS/saasresources",
"properties": {
"status": "Subscribed",
"saasResourceName": "test-transfer",
"publisherId": "microsoft-hcb",
"skuId": "free",
"offerId": "microsofthealthcarebot",
"quantity": null,
"termId": null,
"paymentChannelType": null,
"paymentChannelMetadata": {
"azureSubscriptionId": "155af98a-3205-47e7-883b-a2ab9db9f88d",
"resourceId": "f5816b76-67e3-45e1-b331-91fbb021e068"
},
"publisherTestEnvironment": null,
"term": {
"termUnit": "P1M",
"startDate": "2020-10-30T00:00:00Z",
"endDate": "2020-11-29T00:00:00Z"
},
"autoRenew": null,
"isFreeTrial": false,
"created": "2020-09-30T16:45:41.2981172Z",
"lastModified": "2020-10-30T16:22:15.4319475Z"
},
"tags": null
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"parameters": {
"api-version": "2018-03-01-beta",
"resourceId": "115c3523-1fae-757f-af86-7b27cfd29805",
"parameters": {
"unsubscribeOnly": true,
"reasonCode": 0,
"feedback": null
}
},
"responses": {
"204": {},
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"api-version": "2018-03-01-beta",
"resourceId": "115c3523-1fae-757f-af86-7b27cfd29805"
},
"responses": {
"200": {
"body": {
"id": "/providers/Microsoft.SaaS/saasresources/115c3523-1fae-757f-af86-7b27cfd29805",
"name": "diyakobo-transfer",
"type": "Microsoft.SaaS/saasresources",
"properties": {
"status": "Subscribed",
"saasResourceName": "diyakobo-transfer",
"publisherId": "microsoft-hcb",
"skuId": "free",
"offerId": "microsofthealthcarebot",
"quantity": null,
"termId": null,
"paymentChannelType": null,
"paymentChannelMetadata": {
"azureSubscriptionId": "155af98a-3205-47e7-883b-a2ab9db9f88d",
"resourceId": "b25dba9a-1bd7-4600-9447-3d27d11a6477"
},
"publisherTestEnvironment": null,
"term": {
"termUnit": "P1M",
"startDate": "2020-11-12T00:00:00Z",
"endDate": "2020-12-11T00:00:00Z"
},
"autoRenew": null,
"isFreeTrial": false,
"created": "2020-10-12T05:08:40.9235607Z",
"lastModified": "2020-11-12T21:25:40.2736665Z"
},
"tags": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"api-version": "2018-03-01-beta",
"parameters": {
"properties": {
"publisherId": "microsoft-hcb",
"offerId": "microsofthealthcarebot",
"saasResourceName": "testRunnerFromArm",
"skuId": "free",
"paymentChannelType": "SubscriptionDelegated",
"termId": "hjdtn7tfnxcy",
"paymentChannelMetadata": {
"AzureSubscriptionId": "155af98a-3205-47e7-883b-a2ab9db9f88d"
}
}
}
},
"responses": {
"202": {}
}
}
Loading