openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 5.18 kB
JSON
{"openapi":"3.0.0","info":{"title":"RecoveryServicesClient","version":"2016-06-01","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/recoveryservices/resource-manager/Microsoft.RecoveryServices/stable/2016-06-01/replicationusages.json","version":"2.0"}],"x-providerName":"azure.com","x-serviceName":"recoveryservices-replicationusages","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/replicationUsages":{"get":{"deprecated":false,"description":"Fetches the replication usages of the vault.","operationId":"ReplicationUsages_List","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/VaultName"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplicationUsageList"},"examples":{"Gets Replication usages of vault":{"$ref":"#/components/examples/Gets_Replication_usages_of_vault"}}}}}},"tags":["ReplicationUsages"],"x-ms-pageable":{}}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"Gets_Replication_usages_of_vault":{"value":{"value":[{"jobsSummary":{"failedJobs":0,"inProgressJobs":0,"suspendedJobs":0},"monitoringSummary":{"deprecatedProviderCount":0,"eventsCount":0,"supportedProviderCount":0,"unHealthyProviderCount":0,"unHealthyVmCount":0,"unsupportedProviderCount":0},"protectedItemCount":2,"recoveryPlanCount":1,"registeredServersCount":2}]}}},"parameters":{"ApiVersion":{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"Gets Replication usages of vault":{"value":"2016-06-01"}}},"ResourceGroupName":{"description":"The name of the resource group where the recovery services vault is present.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Gets Replication usages of vault":{"value":"avrai7517RG1"}}},"SubscriptionId":{"description":"The subscription Id.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"Gets Replication usages of vault":{"value":"6808dbbc-98c7-431f-a1b1-9580902423b7"}}},"VaultName":{"description":"The name of the recovery services vault.","in":"path","name":"vaultName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"Gets Replication usages of vault":{"value":"avrai7517Vault1"}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account."}}}}},"schemas":{"JobsSummary":{"description":"Summary of the replication job data for this vault.","properties":{"failedJobs":{"description":"Count of failed jobs.","type":"integer"},"inProgressJobs":{"description":"Count of in-progress jobs.","type":"integer"},"suspendedJobs":{"description":"Count of suspended jobs.","type":"integer"}},"type":"object"},"MonitoringSummary":{"description":"Summary of the replication monitoring data for this vault.","properties":{"deprecatedProviderCount":{"description":"Count of all deprecated recovery service providers.","type":"integer"},"eventsCount":{"description":"Count of all critical warnings.","type":"integer"},"supportedProviderCount":{"description":"Count of all the supported recovery service providers.","type":"integer"},"unHealthyProviderCount":{"description":"Count of unhealthy replication providers.","type":"integer"},"unHealthyVmCount":{"description":"Count of unhealthy VMs.","type":"integer"},"unsupportedProviderCount":{"description":"Count of all the unsupported recovery service providers.","type":"integer"}},"type":"object"},"ReplicationUsage":{"description":"Replication usages of a vault.","properties":{"jobsSummary":{"$ref":"#/components/schemas/JobsSummary"},"monitoringSummary":{"$ref":"#/components/schemas/MonitoringSummary"},"protectedItemCount":{"description":"Number of replication protected items for this vault.","type":"integer"},"recoveryPlanCount":{"description":"Number of replication recovery plans for this vault.","type":"integer"},"recoveryServicesProviderAuthType":{"description":"The authentication type of recovery service providers in the vault.","type":"integer"},"registeredServersCount":{"description":"Number of servers registered to this vault.","type":"integer"}},"type":"object"},"ReplicationUsageList":{"description":"Replication usages for vault.","properties":{"value":{"description":"The list of replication usages for the given vault.","items":{"$ref":"#/components/schemas/ReplicationUsage"},"type":"array"}},"type":"object"}}}}