-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Microsoft.BackupSolutions swagger spec. (#5320)
* Microsoft.BackupSolutions swagger spec. * Microsoft.BackupSolutions swagger spec. * Microsoft.BackupSolutions swagger spec. * Microsoft.BackupSolutions swagger spec. * Fixed example name. * Addressed review comments for go and ruby. * Corrected go sdk output folder. * Corrected go sdk output folder. * Corrected go sdk output folder. * Corrected go sdk output folder.
- Loading branch information
Showing
14 changed files
with
1,697 additions
and
0 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
...rosoft.BackupSolutions/preview/2021-02-01-preview/examples/createOrUpdateApplication.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,54 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"applicationName": "myManagedApplication", | ||
"api-version": "2021-02-01-preview", | ||
"parameters": { | ||
"properties": { | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG" | ||
}, | ||
"kind": "MarketPlace" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"name": "myManagedApplication", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.BackupSolutions/VMwareApplications/myManagedApplication", | ||
"type": "Microsoft.BackupSolutions/VMwareApplications", | ||
"managedBy": null, | ||
"plan": null, | ||
"identity": null, | ||
"kind": "MarketPlace", | ||
"sku": null, | ||
"properties": { | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", | ||
"outputs": null, | ||
"parameters": null, | ||
"provisioningState": "Created" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": {}, | ||
"body": { | ||
"name": "myManagedApplication", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.BackupSolutions/VMwareApplications/myManagedApplication", | ||
"type": "Microsoft.BackupSolutions/VMwareApplications", | ||
"managedBy": null, | ||
"plan": null, | ||
"identity": null, | ||
"kind": "MarketPlace", | ||
"sku": null, | ||
"properties": { | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", | ||
"outputs": null, | ||
"parameters": null, | ||
"provisioningState": "Created" | ||
} | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...ager/Microsoft.BackupSolutions/preview/2021-02-01-preview/examples/deleteApplication.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,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"applicationName": "myManagedApplication", | ||
"api-version": "2021-02-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
52 changes: 52 additions & 0 deletions
52
...manager/Microsoft.BackupSolutions/preview/2021-02-01-preview/examples/getApplication.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,52 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"applicationName": "myManagedApplication", | ||
"api-version": "2021-02-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"name": "myManagedApplication", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.BackupSolutions/VMwareApplications/myManagedApplication", | ||
"type": "Microsoft.BackupSolutions/VMwareApplications", | ||
"managedBy": null, | ||
"plan": null, | ||
"identity": null, | ||
"kind": "MarketPlace", | ||
"sku": null, | ||
"properties": { | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", | ||
"outputs": null, | ||
"parameters": null, | ||
"provisioningState": "Created", | ||
"billingDetails": null, | ||
"jitAccessPolicy": null, | ||
"publisherTenantId": null, | ||
"authorizations": [ | ||
{ | ||
"principalId": "validprincipalguid", | ||
"roleDefinitionId": "validroleguid" | ||
} | ||
], | ||
"managementMode": "Managed", | ||
"customerSupport": null, | ||
"supportUrls": null, | ||
"artifacts": [], | ||
"createdBy": { | ||
"oid": "ClientOid", | ||
"puid": "ClientPuid", | ||
"applicationId": "ClientApplicationId" | ||
}, | ||
"updatedBy": { | ||
"oid": "ClientOid", | ||
"puid": "ClientPuid", | ||
"applicationId": "ClientApplicationId" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...icrosoft.BackupSolutions/preview/2021-02-01-preview/examples/listAllowedUpgradePlans.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,11 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"applicationName": "myVMwareApplication", | ||
"api-version": "2021-02-01-preview" | ||
}, | ||
"responses": { | ||
"200": {} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...icrosoft.BackupSolutions/preview/2021-02-01-preview/examples/listSolutionsOperations.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,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-02-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "SolutionsOpeartion1", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "Microsoft.ResourceProvider", | ||
"resource": "Resource1", | ||
"operation": "Read", | ||
"description": "Description of the operation" | ||
} | ||
}, | ||
{ | ||
"name": "SolutionssOpeartion2", | ||
"isDataAction": false, | ||
"display": { | ||
"provider": "Microsoft.ResourceProvider", | ||
"resource": "Resource2", | ||
"operation": "Write", | ||
"description": "Description of the operation" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
...kupSolutions/preview/2021-02-01-preview/examples/listVMWareApplicationsResourceGroup.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,48 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"api-version": "2021-02-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "myManagedApplication", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.BackupSolutions/VMwareApplications/myManagedApplication", | ||
"type": "Microsoft.BackupSolutions/VMwareApplications", | ||
"managedBy": null, | ||
"plan": null, | ||
"identity": null, | ||
"kind": "ServiceCatalog", | ||
"sku": null, | ||
"properties": { | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", | ||
"outputs": null, | ||
"parameters": null, | ||
"provisioningState": "Created" | ||
} | ||
}, | ||
{ | ||
"name": "myManagedApplication2", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.BackupSolutions/VMwareApplications/myManagedApplication2", | ||
"type": "Microsoft.BackupSolutions/VMwareApplications", | ||
"managedBy": null, | ||
"plan": null, | ||
"identity": null, | ||
"kind": "ServiceCatalog", | ||
"sku": null, | ||
"properties": { | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", | ||
"outputs": null, | ||
"parameters": null, | ||
"provisioningState": "Created" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...ft.BackupSolutions/preview/2021-02-01-preview/examples/refreshApplicationPermissions.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,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"applicationName": "myManagedApplication", | ||
"api-version": "2021-02-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...ager/Microsoft.BackupSolutions/preview/2021-02-01-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,35 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg", | ||
"applicationName": "myManagedApplication", | ||
"api-version": "2021-02-01-preview", | ||
"parameters": { | ||
"properties": { | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG" | ||
}, | ||
"kind": "MarketPlace" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"name": "myManagedApplication", | ||
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.BackupSolutions/VMwareApplications/myManagedApplication", | ||
"type": "Microsoft.BackupSolutions/VMwareApplications", | ||
"managedBy": null, | ||
"plan": null, | ||
"identity": null, | ||
"kind": "MarketPlace", | ||
"sku": null, | ||
"properties": { | ||
"managedResourceGroupId": "/subscriptions/subid/resourceGroups/myManagedRG", | ||
"outputs": null, | ||
"parameters": null, | ||
"provisioningState": "Created" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.