swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector ReplicationAlertSettings API schemes: - https tags: - name: ReplicationAlertSettings paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings : get: tags: - ReplicationAlertSettings summary: Microsoft Azure Gets The List Of Configured Email Notification Alert Configurations description: Gets the list of email notification(alert) configurations for the vault. operationId: microsoftAzureReplicationalertsettingsList produces: - application/json parameters: - $ref: '#/parameters/ApiVersion' - $ref: '#/parameters/ResourceName' - $ref: '#/parameters/ResourceGroupName' - $ref: '#/parameters/SubscriptionId' responses: '200': description: OK schema: $ref: '#/definitions/AlertCollection' x-ms-pageable: nextLinkName: nextLink x-ms-examples: Gets the list of configured email notification(alert) configurations.: $ref: ./examples/ReplicationAlertSettings_List.json ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationAlertSettings/{alertSettingName} : get: tags: - ReplicationAlertSettings summary: Microsoft Azure Gets An Email Notification Alert Configuration description: Gets the details of the specified email notification(alert) configuration. operationId: microsoftAzureReplicationalertsettingsGet produces: - application/json parameters: - $ref: '#/parameters/ApiVersion' - $ref: '#/parameters/ResourceName' - $ref: '#/parameters/ResourceGroupName' - $ref: '#/parameters/SubscriptionId' - name: alertSettingName in: path description: The name of the email notification configuration. required: true type: string responses: '200': description: OK schema: $ref: '#/definitions/Alert' x-ms-examples: Gets an email notification(alert) configuration.: $ref: ./examples/ReplicationAlertSettings_Get.json put: tags: - ReplicationAlertSettings summary: Microsoft Azure Configures Email Notifications For This Vault description: Create or update an email notification(alert) configuration. operationId: microsoftAzureReplicationalertsettingsCreate consumes: - application/json produces: - application/json parameters: - $ref: '#/parameters/ApiVersion' - $ref: '#/parameters/ResourceName' - $ref: '#/parameters/ResourceGroupName' - $ref: '#/parameters/SubscriptionId' - name: alertSettingName in: path description: The name of the email notification(alert) configuration. required: true type: string - name: request in: body description: The input to configure the email notification(alert). required: true schema: $ref: '#/definitions/ConfigureAlertRequest' responses: '200': description: OK schema: $ref: '#/definitions/Alert' x-ms-examples: Configures email notifications for this vault.: $ref: ./examples/ReplicationAlertSettings_Create.json definitions: 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 ConfigureAlertRequest: description: Request to configure alerts for the system. type: object properties: properties: $ref: '#/definitions/ConfigureAlertRequestProperties' description: The properties of a configure alert request. AlertProperties: description: The properties of an alert. type: object properties: sendToOwners: description: A value indicating whether to send email to subscription administrator. type: string customEmailAddresses: description: The custom email address for sending emails. type: array items: type: string locale: description: The locale for the email notification. type: string ConfigureAlertRequestProperties: description: Properties of a configure alert request. type: object properties: sendToOwners: description: A value indicating whether to send email to subscription administrator. type: string customEmailAddresses: description: The custom email address for sending emails. type: array items: type: string locale: description: The locale for the email notification. type: string AlertCollection: description: Collection of alerts. type: object properties: value: description: The list of alerts. type: array items: $ref: '#/definitions/Alert' nextLink: description: The value of next link. type: string Alert: description: Implements the Alert class. type: object allOf: - $ref: '#/definitions/Resource' properties: properties: $ref: '#/definitions/AlertProperties' description: Alert related data. 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'