swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector ReplicationVaultHealth API schemes: - https tags: - name: ReplicationVaultHealth paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultHealth : get: tags: - ReplicationVaultHealth summary: Microsoft Azure Gets The Health Summary For The Vault description: Gets the health details of the vault. operationId: microsoftAzureReplicationvaulthealthGet produces: - application/json parameters: - $ref: '#/parameters/ApiVersion' - $ref: '#/parameters/ResourceName' - $ref: '#/parameters/ResourceGroupName' - $ref: '#/parameters/SubscriptionId' responses: '200': description: OK schema: $ref: '#/definitions/VaultHealthDetails' x-ms-examples: Gets the health summary for the vault.: $ref: ./examples/ReplicationVaultHealth_Get.json ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationVaultHealth/default/refresh : post: tags: - ReplicationVaultHealth summary: Microsoft Azure Refreshes Health Summary Of The Vault operationId: microsoftAzureReplicationvaulthealthRefresh produces: - application/json parameters: - $ref: '#/parameters/ApiVersion' - $ref: '#/parameters/ResourceName' - $ref: '#/parameters/ResourceGroupName' - $ref: '#/parameters/SubscriptionId' responses: '200': description: OK schema: $ref: '#/definitions/VaultHealthDetails' '202': description: Accepted x-ms-long-running-operation: true x-ms-examples: Refreshes health summary of the vault.: $ref: ./examples/ReplicationVaultHealth_Refresh.json description: Needs a more full description created. definitions: VaultHealthDetails: description: Vault health details definition. type: object allOf: - $ref: '#/definitions/Resource' properties: properties: $ref: '#/definitions/VaultHealthProperties' description: The vault health related data. VaultHealthProperties: description: class to define the health summary of the Vault. type: object properties: vaultErrors: description: The list of errors on the vault. type: array items: $ref: '#/definitions/HealthError' protectedItemsHealth: $ref: '#/definitions/ResourceHealthSummary' description: The list of the health detail of the protected items in the vault. fabricsHealth: $ref: '#/definitions/ResourceHealthSummary' description: The list of the health detail of the fabrics in the vault. containersHealth: $ref: '#/definitions/ResourceHealthSummary' description: The list of the health detail of the containers in the vault. ResourceHealthSummary: description: Base class to define the health summary of the resources contained under an Arm resource. type: object properties: resourceCount: format: int32 description: The count of total resources under the container. type: integer issues: description: The list of summary of health errors across the resources under the container. type: array items: $ref: '#/definitions/HealthErrorSummary' categorizedResourceCounts: description: The categorized resource counts. type: object additionalProperties: format: int32 type: integer InnerHealthError: description: Implements InnerHealthError class. HealthError object has a list of InnerHealthErrors as child errors. InnerHealthError is used because this will prevent an infinite loop of structures when Hydra tries to auto-generate the contract. We are exposing the related health errors as inner health errors and all API consumers can utilize this in the same fashion as Exception -> InnerException. type: object properties: errorSource: description: Source of error. type: string errorType: description: Type of error. type: string errorLevel: description: Level of error. type: string errorCategory: description: Category of error. type: string errorCode: description: Error code. type: string summaryMessage: description: Summary message of the entity. type: string errorMessage: description: Error message. type: string possibleCauses: description: Possible causes of error. type: string recommendedAction: description: Recommended action to resolve error. type: string creationTimeUtc: format: date-time description: Error creation time (UTC). type: string recoveryProviderErrorMessage: description: DRA error message. type: string entityId: description: ID of the entity. type: string errorId: description: The health error unique id. type: string customerResolvability: description: Value indicating whether the health error is customer resolvable. enum: - Allowed - NotAllowed type: string x-ms-enum: name: HealthErrorCustomerResolvability modelAsString: true Resource: description: Azure resource. type: object 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 x-ms-azure-resource: true HealthErrorSummary: description: class to define the summary of the health error details. type: object properties: summaryCode: description: The code of the health error. type: string category: description: The category of the health error. enum: - None - Replication - TestFailover - Configuration - FabricInfrastructure - VersionExpiry - AgentAutoUpdateInfra - AgentAutoUpdateArtifactDeleted - AgentAutoUpdateRunAsAccount - AgentAutoUpdateRunAsAccountExpiry - AgentAutoUpdateRunAsAccountExpired type: string x-ms-enum: name: HealthErrorCategory modelAsString: true severity: description: Severity of error. enum: - NONE - Warning - Error - Info type: string x-ms-enum: name: Severity modelAsString: true summaryMessage: description: The summary message of the health error. type: string affectedResourceType: description: The type of affected ARM resource. type: string affectedResourceSubtype: description: The sub type of any subcomponent within the ARM resource that this might be applicable. Value remains null if not applicable. type: string affectedResourceCorrelationIds: description: The list of affected resource correlation Ids. This can be used to uniquely identify the count of items affected by a specific category and severity as well as count of item affected by an specific issue. type: array items: type: string HealthError: description: Health Error. type: object properties: innerHealthErrors: description: The inner health errors. HealthError having a list of HealthError as child errors is problematic. InnerHealthError is used because this will prevent an infinite loop of structures when Hydra tries to auto-generate the contract. We are exposing the related health errors as inner health errors and all API consumers can utilize this in the same fashion as Exception -> InnerException. type: array items: $ref: '#/definitions/InnerHealthError' errorSource: description: Source of error. type: string errorType: description: Type of error. type: string errorLevel: description: Level of error. type: string errorCategory: description: Category of error. type: string errorCode: description: Error code. type: string summaryMessage: description: Summary message of the entity. type: string errorMessage: description: Error message. type: string possibleCauses: description: Possible causes of error. type: string recommendedAction: description: Recommended action to resolve error. type: string creationTimeUtc: format: date-time description: Error creation time (UTC). type: string recoveryProviderErrorMessage: description: DRA error message. type: string entityId: description: ID of the entity. type: string errorId: description: The health error unique id. type: string customerResolvability: description: Value indicating whether the health error is customer resolvable. enum: - Allowed - NotAllowed type: string x-ms-enum: name: HealthErrorCustomerResolvability modelAsString: true parameters: ResourceGroupName: name: resourceGroupName in: path description: The name of the resource group where the recovery services vault is present. required: true type: string x-ms-parameter-location: client ResourceName: name: resourceName in: path description: The name of the recovery services vault. required: true type: string x-ms-parameter-location: client ApiVersion: name: api-version in: query description: Client Api Version. required: true type: string SubscriptionId: name: subscriptionId in: path description: The subscription Id. required: true type: string x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'