swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector ReplicationEvents API schemes: - https tags: - name: ReplicationEvents paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents : get: tags: - ReplicationEvents summary: Microsoft Azure Gets The List Of Azure Site Recovery Events description: Gets the list of Azure Site Recovery events for the vault. operationId: microsoftAzureReplicationeventsList produces: - application/json parameters: - $ref: '#/parameters/ApiVersion' - $ref: '#/parameters/ResourceName' - $ref: '#/parameters/ResourceGroupName' - $ref: '#/parameters/SubscriptionId' - name: $filter in: query description: OData filter options. required: false type: string responses: '200': description: OK schema: $ref: '#/definitions/EventCollection' x-ms-pageable: nextLinkName: nextLink x-ms-odata: '#/definitions/EventQueryParameter' x-ms-examples: Gets the list of Azure Site Recovery events.: $ref: ./examples/ReplicationEvents_List.json ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents/{eventName} : get: tags: - ReplicationEvents summary: Microsoft Azure Get The Details Of An Azure Site Recovery Event description: The operation to get the details of an Azure Site recovery event. operationId: microsoftAzureReplicationeventsGet produces: - application/json parameters: - $ref: '#/parameters/ApiVersion' - $ref: '#/parameters/ResourceName' - $ref: '#/parameters/ResourceGroupName' - $ref: '#/parameters/SubscriptionId' - name: eventName in: path description: The name of the Azure Site Recovery event. required: true type: string responses: '200': description: OK schema: $ref: '#/definitions/Event' x-ms-examples: Get the details of an Azure Site recovery event.: $ref: ./examples/ReplicationEvents_Get.json definitions: 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 EventProperties: description: The properties of a monitoring event. type: object properties: eventCode: description: The Id of the monitoring event. type: string description: description: The event name. type: string eventType: description: 'The type of the event. for example: VM Health, Server Health, Job Failure etc.' type: string affectedObjectFriendlyName: description: The friendly name of the source of the event on which it is raised (for example, VM, VMM etc). type: string affectedObjectCorrelationId: description: The affected object correlationId for the event. type: string severity: description: The severity of the event. type: string timeOfOccurrence: format: date-time description: The time of occurrence of the event. type: string fabricId: description: The ARM ID of the fabric. type: string providerSpecificDetails: $ref: '#/definitions/EventProviderSpecificDetails' description: The provider specific settings. eventSpecificDetails: $ref: '#/definitions/EventSpecificDetails' description: The event specific settings. healthErrors: description: The list of errors / warnings capturing details associated with the issue(s). type: array items: $ref: '#/definitions/HealthError' Event: description: Implements the Event class. type: object allOf: - $ref: '#/definitions/Resource' properties: properties: $ref: '#/definitions/EventProperties' description: Event related data. 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 EventSpecificDetails: description: Model class for event specific details for an event. required: - instanceType type: object properties: instanceType: description: Gets the class type. Overridden in derived classes. type: string discriminator: instanceType EventCollection: description: Collection of fabric details. type: object properties: value: description: The list of events. type: array items: $ref: '#/definitions/Event' nextLink: description: The value of next link. type: string EventProviderSpecificDetails: description: Model class for provider specific details for an event. required: - instanceType type: object properties: instanceType: description: Gets the class type. Overridden in derived classes. type: string discriminator: instanceType 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'