{ "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}/replicationUsages": { "get": { "tags": [ "ReplicationUsages" ], "description": "Fetches the replication usages of the vault.", "operationId": "ReplicationUsages_List", "produces": [ "application/json" ], "parameters": [ { "$ref": "#/parameters/SubscriptionId" }, { "$ref": "#/parameters/ApiVersion" }, { "$ref": "#/parameters/ResourceGroupName" }, { "$ref": "#/parameters/VaultName" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/ReplicationUsageList" } } }, "deprecated": false, "x-ms-pageable": { "nextLinkName": null }, "x-ms-examples": { "Gets Replication usages of vault": { "$ref": "./examples/ListReplicationUsages.json" } } } } }, "definitions": { "JobsSummary": { "description": "Summary of the replication job data for this vault.", "type": "object", "properties": { "failedJobs": { "description": "Count of failed jobs.", "type": "integer" }, "suspendedJobs": { "description": "Count of suspended jobs.", "type": "integer" }, "inProgressJobs": { "description": "Count of in-progress jobs.", "type": "integer" } } }, "MonitoringSummary": { "description": "Summary of the replication monitoring data for this vault.", "type": "object", "properties": { "unHealthyVmCount": { "description": "Count of unhealthy VMs.", "type": "integer" }, "unHealthyProviderCount": { "description": "Count of unhealthy replication providers.", "type": "integer" }, "eventsCount": { "description": "Count of all critical warnings.", "type": "integer" }, "deprecatedProviderCount": { "description": "Count of all deprecated recovery service providers.", "type": "integer" }, "supportedProviderCount": { "description": "Count of all the supported recovery service providers.", "type": "integer" }, "unsupportedProviderCount": { "description": "Count of all the unsupported recovery service providers.", "type": "integer" } } }, "ReplicationUsage": { "description": "Replication usages of a vault.", "type": "object", "properties": { "monitoringSummary": { "$ref": "#/definitions/MonitoringSummary", "description": "Summary of the replication monitoring data for this vault." }, "jobsSummary": { "$ref": "#/definitions/JobsSummary", "description": "Summary of the replication jobs data for this vault." }, "protectedItemCount": { "description": "Number of replication protected items for this vault.", "type": "integer" }, "recoveryPlanCount": { "description": "Number of replication recovery plans for this vault.", "type": "integer" }, "registeredServersCount": { "description": "Number of servers registered to this vault.", "type": "integer" }, "recoveryServicesProviderAuthType": { "description": "The authentication type of recovery service providers in the vault.", "type": "integer" } } }, "ReplicationUsageList": { "description": "Replication usages for vault.", "type": "object", "properties": { "value": { "description": "The list of replication usages for the given vault.", "type": "array", "items": { "$ref": "#/definitions/ReplicationUsage" } } } } }, "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" ] } ] }