swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector EmailConfiguration API description: Email configuration Controller. schemes: - https tags: - name: EmailConfiguration description: Email configuration Controller. paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/alertSettings/{emailConfigurationName} : get: tags: - EmailConfiguration summary: Microsoft Azure Gets The Email Configuration Setting description: Gets the details of the alert configuration setting. operationId: microsoftAzureEmailconfigurationGet produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/VaultNameParameter' - $ref: '#/parameters/EmailConfigurationNameParameter' - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter responses: '200': description: Returns EmailConfiguration Model on success. schema: $ref: '#/definitions/EmailConfigurationModel' default: description: Error schema: $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse x-ms-examples: EmailConfiguration_Get: $ref: ./examples/EmailConfiguration_Get.json put: tags: - EmailConfiguration summary: Microsoft Azure Creates Email Configuration Settings description: Creates an alert configuration setting for the given vault. operationId: microsoftAzureEmailconfigurationCreate consumes: - application/json produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/VaultNameParameter' - $ref: '#/parameters/EmailConfigurationNameParameter' - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - in: body name: body description: EmailConfiguration model. schema: $ref: '#/definitions/EmailConfigurationModel' responses: '200': description: Updated schema: $ref: '#/definitions/EmailConfigurationModel' '201': description: Created schema: $ref: '#/definitions/EmailConfigurationModel' default: description: Error schema: $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse x-ms-examples: EmailConfiguration_Create: $ref: ./examples/EmailConfiguration_Create.json ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}/alertSettings : get: tags: - EmailConfiguration summary: Microsoft Azure Lists The Email Configuration Settings description: Gets the list of alert configuration settings for the given vault. operationId: microsoftAzureEmailconfigurationList produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: '#/parameters/VaultNameParameter' - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter responses: '200': description: Returns EmailConfiguration Model Collection on success. schema: $ref: '#/definitions/EmailConfigurationModelCollection' default: description: Error schema: $ref: ../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse x-ms-pageable: nextLinkName: nextLink x-ms-examples: EmailConfiguration_List: $ref: ./examples/EmailConfiguration_List.json definitions: SystemDataModel: description: System data required to be defined for Azure resources. type: object properties: createdBy: description: Gets or sets identity that created the resource. type: string createdByType: description: "Gets or sets the type of identity that created the resource: user, application,\r\nmanagedIdentity." type: string createdAt: format: date-time description: Gets or sets the timestamp of resource creation (UTC). type: string lastModifiedBy: description: Gets or sets the identity that last modified the resource. type: string lastModifiedByType: description: "Gets or sets the type of identity that last modified the resource: user, application,\r\nmanagedIdentity." type: string lastModifiedAt: format: date-time description: Gets or sets the timestamp of resource last modification (UTC). type: string EmailConfigurationModel: description: Email configuration model. required: - properties type: object properties: properties: $ref: '#/definitions/EmailConfigurationModelProperties' id: description: Gets or sets the Id of the resource. type: string readOnly: true name: description: Gets or sets the name of the resource. type: string readOnly: true type: description: Gets or sets the type of the resource. type: string readOnly: true systemData: allOf: - $ref: '#/definitions/SystemDataModel' readOnly: true x-ms-azure-resource: true EmailConfigurationModelCollection: description: Email configuration model collection. type: object properties: value: description: Gets or sets the list of email configurations. type: array items: $ref: '#/definitions/EmailConfigurationModel' x-ms-identifiers: [] nextLink: description: Gets or sets the value of next link. type: string EmailConfigurationModelProperties: description: Email configuration model properties. required: - sendToOwners type: object properties: sendToOwners: description: Gets or sets a value indicating whether to send email to subscription administrator. type: boolean customEmailAddresses: description: Gets or sets the custom email address for sending emails. type: array items: type: string locale: description: Gets or sets the locale for the email notification. type: string parameters: EmailConfigurationNameParameter: in: path name: emailConfigurationName description: The email configuration name. required: true type: string pattern: ^[a-zA-Z0-9]*$ x-ms-parameter-location: method VaultNameParameter: in: path name: vaultName description: The vault name. required: true type: string pattern: ^[a-zA-Z0-9]*$ x-ms-parameter-location: method x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'