Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
339 changes: 339 additions & 0 deletions arm-recoveryservices/2016-06-01/swagger/recoveryservices.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,339 @@
{
"swagger": "2.0",
"info": {
"version": "2016-06-01",
"title": "RecoveryServicesClient",
"x-ms-code-generation-settings": {
"internalConstructors": false
}
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}": {
"get": {
"tags": [
"Vaults"
],
"description": "Get the Vault details.",
"operationId": "Vaults_Get",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/SubscriptionId"
},
{
"$ref": "#/parameters/ResourceGroupName"
},
{
"$ref": "#/parameters/VaultName"
},
{
"$ref": "#/parameters/ApiVersion"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/Vault"
}
}
},
"deprecated": false
},
"put": {
"tags": [
"Vaults"
],
"description": "Creates or updates a Recovery Services vault.",
"operationId": "Vaults_CreateOrUpdate",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/SubscriptionId"
},
{
"$ref": "#/parameters/ResourceGroupName"
},
{
"$ref": "#/parameters/VaultName"
},
{
"$ref": "#/parameters/ApiVersion"
},
{
"name": "vault",
"in": "body",
"description": "Recovery Services Vault to be created.",
"required": true,
"schema": {
"$ref": "#/definitions/Vault"
}
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/Vault"
}
},
"201": {
"description": "Created",
"schema": {
"$ref": "#/definitions/Vault"
}
}
},
"deprecated": false
},
"delete": {
"tags": [
"Vaults"
],
"description": "Deletes a vault.",
"operationId": "Vaults_Delete",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/SubscriptionId"
},
{
"$ref": "#/parameters/ResourceGroupName"
},
{
"$ref": "#/parameters/VaultName"
},
{
"$ref": "#/parameters/ApiVersion"
}
],
"responses": {
"200": {
"description": "OK"
}
},
"deprecated": false
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults": {
"get": {
"tags": [
"Vaults"
],
"summary": "Retrieve a list of Vaults.",
"operationId": "Vaults_ListByResourceGroup",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"$ref": "#/parameters/SubscriptionId"
},
{
"$ref": "#/parameters/ResourceGroupName"
},
{
"$ref": "#/parameters/ApiVersion"
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/VaultList"
}
}
},
"deprecated": false,
"x-ms-pageable": {
"nextLinkName": "null"
}
}
}
},
"definitions": {
"Object": {
"description": "Base of all objects.",
"type": "object",
"properties": {}
},
"VaultList": {
"description": "The response model for Vault.",
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/Vault"
}
}
}
},
"Vault": {
"description": "Resource information, as returned by the resource provider.",
"required": [
"location"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Resource"
}
],
"properties": {
"etag": {
"description": "ETag of the Vault.",
"type": "string",
"readOnly": true
},
"properties": {
"$ref": "#/definitions/VaultProperties"
}
}
},
"Sku": {
"description": "Identifies the unique system identifier for each Azure resource.",
"required": [
"name"
],
"type": "object",
"properties": {
"name": {
"description": "The Sku name.",
"enum": [
"Standard",
"RS0"
],
"type": "string",
"x-ms-enum": {
"name": "SkuName",
"modelAsString": true
}
}
}
},
"VaultProperties": {
"description": "Properties of the vault.",
"type": "object",
"properties": {
"provisioningState": {
"description": "Provisioning State.",
"type": "string",
"readOnly": true
}
}
},
"Resource": {
"properties": {
"id": {
"description": "Resource Id",
"type": "string",
"readOnly": true
},
"name": {
"description": "Resource Name",
"type": "string",
"readOnly": true
},
"type": {
"description": "Resource Type",
"type": "string",
"readOnly": true
},
"location": {
"description": "Resource Location",
"type": "string"
},
"sku": {
"$ref": "#/definitions/Sku"
},
"tags": {
"description": "Resource Tags",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
},
"x-ms-azure-resource": true
}
},
"parameters": {
"SubscriptionId": {
"name": "subscriptionId",
"in": "path",
"description": "The subscription Id.",
"required": true,
"type": "string"
},
"ResourceGroupName": {
"name": "resourceGroupName",
"in": "path",
"description": "The name of the resource group where the recovery services vault is present.",
"required": true,
"x-ms-parameter-location": "method",
"type": "string"
},
"VaultName": {
"name": "vaultName",
"in": "path",
"description": "The name of the recovery services vault.",
"required": true,
"x-ms-parameter-location": "method",
"type": "string"
},
"ApiVersion": {
"name": "api-version",
"in": "query",
"description": "Client Api Version.",
"required": true,
"type": "string"
}
},
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"description": "Azure Active Directory OAuth2 Flow",
"flow": "implicit",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"scopes": {
"user_impersonation": "impersonate your user account."
}
}
},
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
]
}
Loading