-
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.
Wandisco.Fusion Add 2021-05-01-preview API (Refactoring of 2021-02-01…
…-preview) (#4228) * Copy of 2021-02-01-preview to 2021-05-01-preview * Introduced Wandisco.Fusion 2021-05-01-preview API. This is a refactoring of 2021-02-01-preview, but remains functionally equivalent. * Addressed Avocado errors from Azure pipeline for Wandisco.Fusion. * Wandisco.Fusion syncing swagger definitions
- Loading branch information
Showing
101 changed files
with
10,901 additions
and
1 deletion.
There are no files selected for viewing
199 changes: 199 additions & 0 deletions
199
...ation/fusion/resource-manager/Wandisco.Fusion/preview/2021-05-01-preview/commonTypes.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,199 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "WANDisco Fusion", | ||
"description": "WANDisco Fusion", | ||
"version": "2021-05-01-preview" | ||
}, | ||
"host": "management.azure.com", | ||
"schemes": [ | ||
"https" | ||
], | ||
"consumes": [ | ||
"application/json" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"security": [ | ||
{ | ||
"azure_auth": [ | ||
"user_impersonation" | ||
] | ||
} | ||
], | ||
"securityDefinitions": { | ||
"azure_auth": { | ||
"type": "oauth2", | ||
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
"flow": "implicit", | ||
"description": "Azure Active Directory OAuth2 Flow.", | ||
"scopes": { | ||
"user_impersonation": "impersonate your user account" | ||
} | ||
} | ||
}, | ||
"paths": {}, | ||
"definitions": { | ||
"TagsUpdate": { | ||
"description": "Resource tags", | ||
"type": "object", | ||
"properties": { | ||
"tags": { | ||
"description": "resource tags.", | ||
"type": "object", | ||
"readOnly": false, | ||
"additionalProperties": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
}, | ||
"FrpResource": { | ||
"description": "An Azure resource.", | ||
"type": "object", | ||
"allOf": [ | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" | ||
} | ||
], | ||
"properties": { | ||
"location": { | ||
"description": "Location of the resource.", | ||
"type": "string", | ||
"readOnly": false, | ||
"x-ms-mutability": [ | ||
"read", | ||
"create" | ||
] | ||
}, | ||
"tags": { | ||
"description": "resource tags.", | ||
"type": "object", | ||
"readOnly": false, | ||
"additionalProperties": { | ||
"type": "string" | ||
} | ||
}, | ||
"systemData": { | ||
"title": "SystemData", | ||
"description": "System metadata for Resource", | ||
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", | ||
"readOnly": true | ||
} | ||
}, | ||
"x-ms-azure-resource": true | ||
}, | ||
"FrpProxyResource": { | ||
"title": "Proxy resource type", | ||
"description": "An azure proxy resource", | ||
"type": "object", | ||
"allOf": [ | ||
{ | ||
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource" | ||
} | ||
], | ||
"properties": { | ||
"systemData": { | ||
"title": "SystemData", | ||
"description": "System metadata for Resource", | ||
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", | ||
"readOnly": true | ||
} | ||
}, | ||
"x-ms-azure-resource": true | ||
}, | ||
"Allowance": { | ||
"description": "The remaining allowance included as part of any plan for a resource", | ||
"type": "object", | ||
"properties": { | ||
"remainingData": { | ||
"description": "The number of MBs remaining", | ||
"type": "integer", | ||
"format": "int64", | ||
"readOnly": true | ||
} | ||
} | ||
}, | ||
"ProvisioningState": { | ||
"type": "string", | ||
"description": "The possible Provisioning States", | ||
"enum": [ | ||
"Accepted", | ||
"Canceled", | ||
"Succeeded", | ||
"Failed", | ||
"Deleting", | ||
"NotSpecified" | ||
], | ||
"x-ms-enum": { | ||
"name": "ProvisioningState", | ||
"modelAsString": false | ||
}, | ||
"readOnly": true | ||
}, | ||
"Plan": { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"type": "string", | ||
"description": "A user defined name of the 3rd Party Artifact that is being procured." | ||
}, | ||
"publisher": { | ||
"type": "string", | ||
"description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" | ||
}, | ||
"product": { | ||
"type": "string", | ||
"description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding. " | ||
}, | ||
"promotionCode": { | ||
"type": "string", | ||
"description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." | ||
}, | ||
"version": { | ||
"type": "string", | ||
"description": "The version of the desired product/artifact." | ||
} | ||
}, | ||
"description": "Plan for the resource.", | ||
"required": [ | ||
"name", | ||
"publisher", | ||
"product" | ||
] | ||
} | ||
}, | ||
"parameters": { | ||
"SubscriptionIdParameter": { | ||
"name": "subscriptionId", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"description": "The Azure subscription ID." | ||
}, | ||
"ApiVersionParameter": { | ||
"name": "api-version", | ||
"in": "query", | ||
"required": true, | ||
"type": "string", | ||
"description": "Client Api Version." | ||
}, | ||
"ResourceGroupNameParameter": { | ||
"name": "resourceGroupName", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"description": "The name of the resource group.", | ||
"x-ms-parameter-location": "method" | ||
}, | ||
"LocationNameParameter": { | ||
"name": "locationName", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"description": "The name of the location", | ||
"x-ms-parameter-location": "method" | ||
} | ||
} | ||
} |
79 changes: 79 additions & 0 deletions
79
...ager/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneCreate.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,79 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "fusionGroupTestRG", | ||
"fusionGroupName": "fusionGroupName", | ||
"api-version": "2021-05-01-preview", | ||
"azureZoneName": "azureZoneCreate", | ||
"azureZone": { | ||
"location": "East US", | ||
"properties": { | ||
"virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", | ||
"subnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/DEV/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/azureZoneSub", | ||
"vmSize": "Small", | ||
"storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", | ||
"storageAccessKey": "azureStorageAccessKey", | ||
"storageContainer": "azureZoneStorageContainer" | ||
}, | ||
"tags": { | ||
"tagKey1": "TagValue1" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName", | ||
"name": "azureZoneCreate", | ||
"properties": { | ||
"virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", | ||
"subnet": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/DEV/providers/Microsoft.Network/virtualNetworks/my-vnet/subnets/azureZoneSub", | ||
"vmSize": "Small", | ||
"storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", | ||
"storageContainer": "azureZoneStorageContainer", | ||
"provisioningState": "Accepted" | ||
}, | ||
"location": "East US", | ||
"type": "Wandisco.Fusion/fusionGroups/azureZones", | ||
"tags": { | ||
"tagKey1": "TagValue1" | ||
}, | ||
"systemData": { | ||
"createdBy": "00000000-1111-2222-3333-444444444444", | ||
"createdByType": "User", | ||
"createdAt": "2021-01-13T18:40:37.4690314Z", | ||
"lastModifiedBy": "00000000-1111-2222-3333-444444444444", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-01-13T18:40:37.4690314Z" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName", | ||
"name": "azureZoneCreate", | ||
"properties": { | ||
"virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", | ||
"subnet": "azureZoneSub", | ||
"vmSize": "Small", | ||
"storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", | ||
"storageContainer": "azureZoneStorageContainer", | ||
"provisioningState": "Accepted" | ||
}, | ||
"location": "East US", | ||
"type": "Wandisco.Fusion/fusionGroups/azureZones", | ||
"tags": { | ||
"tagKey1": "TagValue1" | ||
}, | ||
"systemData": { | ||
"createdBy": "00000000-1111-2222-3333-444444444444", | ||
"createdByType": "User", | ||
"createdAt": "2021-01-13T18:40:37.4690314Z", | ||
"lastModifiedBy": "00000000-1111-2222-3333-444444444444", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-01-13T18:40:37.4690314Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
...er/Wandisco.Fusion/preview/2021-05-01-preview/examples/FusionGroup/AzureZoneCreateHA.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,66 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "fusionGroupTestRG", | ||
"fusionGroupName": "fusionGroupName", | ||
"api-version": "2021-05-01-preview", | ||
"azureZoneName": "azureZoneCreate", | ||
"azureZone": { | ||
"location": "East US", | ||
"properties": { | ||
"virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", | ||
"subnet": "azureZoneSub", | ||
"vmSize": "Small", | ||
"storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", | ||
"storageAccessKey": "azureStorageAccessKey", | ||
"storageContainer": "azureZoneStorageContainer", | ||
"nodeCount": 3 | ||
}, | ||
"tags": { | ||
"tagKey1": "TagValue1" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName", | ||
"name": "azureZoneCreate", | ||
"properties": { | ||
"virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", | ||
"subnet": "azureZoneSub", | ||
"vmSize": "Small", | ||
"storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", | ||
"storageContainer": "azureZoneStorageContainer", | ||
"nodeCount": 3, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"location": "East US", | ||
"type": "Wandisco.Fusion/fusionGroups/azureZones", | ||
"tags": { | ||
"tagKey1": "TagValue1" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Wandisco.Fusion/fusionGroups/fusionGroupName/azureZones/azureZoneName", | ||
"name": "azureZoneCreate", | ||
"properties": { | ||
"virtualNetworkId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Network/virtualNetworks/my-vnet", | ||
"subnet": "azureZoneSub", | ||
"vmSize": "Small", | ||
"storageAccountId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/fusionGroupTestRG/providers/Microsoft.Storage/storageAccounts/myStorageAccount", | ||
"storageContainer": "azureZoneStorageContainer", | ||
"nodeCount": 3, | ||
"provisioningState": "Accepted" | ||
}, | ||
"location": "East US", | ||
"type": "Wandisco.Fusion/fusionGroups/azureZones", | ||
"tags": { | ||
"tagKey1": "TagValue1" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.