forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Changes to fix S360 issues (Azure#17064)
* fix changes * added 202 example * Fix update * fixed issue * fixed * added type * Add example for update application Co-authored-by: Ayush <ayushdalmia@microsoft.com>
- Loading branch information
1 parent
c627fbb
commit 3dd4012
Showing
6 changed files
with
184 additions
and
2 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
...ce-manager/Microsoft.Solutions/preview/2020-08-21-preview/examples/updateApplication.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"applicationName": "myManagedApplication", | ||
"api-version": "2021-07-01", | ||
"parameters": { | ||
"properties": { | ||
"applicationDefinitionId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applicationDefinitions/myAppDef", | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG" | ||
}, | ||
"kind": "ServiceCatalog" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"name": "myManagedApplication", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applications/myManagedApplication", | ||
"type": "Microsoft.Solutions/applications", | ||
"managedBy": null, | ||
"plan": null, | ||
"identity": null, | ||
"kind": "ServiceCatalog", | ||
"sku": null, | ||
"properties": { | ||
"applicationDefinitionId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applicationDefinitions/myAppDef", | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", | ||
"outputs": null, | ||
"parameters": null, | ||
"provisioningState": "Created" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"location": "https://url.to.query" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
...es/resource-manager/Microsoft.Solutions/stable/2019-07-01/examples/updateApplication.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"applicationName": "myManagedApplication", | ||
"api-version": "2021-07-01", | ||
"parameters": { | ||
"properties": { | ||
"applicationDefinitionId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applicationDefinitions/myAppDef", | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG" | ||
}, | ||
"kind": "ServiceCatalog" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"name": "myManagedApplication", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applications/myManagedApplication", | ||
"type": "Microsoft.Solutions/applications", | ||
"managedBy": null, | ||
"plan": null, | ||
"identity": null, | ||
"kind": "ServiceCatalog", | ||
"sku": null, | ||
"properties": { | ||
"applicationDefinitionId": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Solutions/applicationDefinitions/myAppDef", | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", | ||
"outputs": null, | ||
"parameters": null, | ||
"provisioningState": "Created" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"location": "https://url.to.query" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,11 @@ | |
"provisioningState": "Created" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"location": "https://url.to.query" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters