Skip to content

Commit

Permalink
Added Microsoft.BackupSolutions swagger spec. (#5320)
Browse files Browse the repository at this point in the history
* 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
vayada authored Nov 11, 2021
1 parent 4ed9e32 commit 7235277
Show file tree
Hide file tree
Showing 14 changed files with 1,697 additions and 0 deletions.
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"
}
}
}
}
}
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": {}
}
}
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"
}
}
}
}
}
}
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": {}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
]
}
}
}
}
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": {}
}
}
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"
}
}
}
}
}
Loading

0 comments on commit 7235277

Please sign in to comment.