swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector Test Base Email Event API schemes: - https tags: - name: Test Base Email Event paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/emailEvents : get: tags: - Test Base Email Event operationId: microsoftAzureEmaileventsList description: Lists all the email events of a Test Base Account. parameters: - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupParameter' - $ref: '#/parameters/TestBaseAccountNameParameter' - $ref: '#/parameters/ApiVersionParameter' responses: '200': description: The operation is completed. schema: $ref: '#/definitions/EmailEventListResult' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-pageable: nextLinkName: nextLink x-ms-examples: EmailEventsList: $ref: ./examples/EmailEventsList.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Testbase Testbaseaccounts Testbaseaccountname Emailevents ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/emailEvents/{emailEventResourceName} : get: tags: - Test Base Email Event operationId: microsoftAzureEmaileventsGet description: Gets a email event of a Test Base Account. parameters: - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/ResourceGroupParameter' - $ref: '#/parameters/TestBaseAccountNameParameter' - name: emailEventResourceName in: path required: true type: string x-ms-parameter-location: method description: The resource name of an email event. - $ref: '#/parameters/ApiVersionParameter' responses: '200': description: The operation is completed. schema: $ref: '#/definitions/EmailEventResource' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-examples: EmailEventGet: $ref: ./examples/EmailEventGet.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Testbase Testbaseaccounts Testbaseaccountname Emailevents Emaileventresourcename definitions: ErrorDefinition: description: Error definition. properties: code: description: The error code. type: string readOnly: true message: description: The error message. type: string readOnly: true target: type: string description: The target of the particular error. readOnly: true details: description: The error details. type: array items: $ref: '#/definitions/ErrorDefinition' readOnly: true ErrorResponse: description: The error response send when an operation fails. properties: error: $ref: '#/definitions/ErrorDefinition' description: The error details. ProxyResource: description: The resource model definition for an ARM proxy resource. It will have everything other than required location and tags allOf: - $ref: '#/definitions/Resource' Resource: description: The Resource definition. properties: id: readOnly: true type: string description: Resource ID. name: readOnly: true type: string description: Resource name. type: readOnly: true type: string description: Resource type. x-ms-azure-resource: true EmailEventListResult: description: A list of email events. properties: value: type: array items: $ref: '#/definitions/EmailEventResource' description: The list of email events. nextLink: type: string readOnly: true description: Link to the next set of results. Not empty if value contains incomplete list of results. SystemData: description: Metadata pertaining to creation and last modification of the resource. type: object readOnly: true properties: createdBy: type: string description: The identity that created the resource. createdByType: type: string description: The type of identity that created the resource. enum: - User - Application - ManagedIdentity - Key x-ms-enum: name: createdByType modelAsString: true createdAt: type: string format: date-time description: The timestamp of resource creation (UTC). lastModifiedBy: type: string description: The identity that last modified the resource. lastModifiedByType: type: string description: The type of identity that last modified the resource. enum: - User - Application - ManagedIdentity - Key x-ms-enum: name: createdByType modelAsString: true lastModifiedAt: type: string format: date-time description: The type of identity that last modified the resource. EmailEventProperties: description: The Email Event properties. properties: eventId: type: string description: The identifier of the email event. eventName: type: string description: The name of the email event. displayName: type: string description: The display name of the email event. EmailEventResource: description: The email event resource. properties: systemData: description: The system metadata relating to this resource $ref: '#/definitions/SystemData' properties: $ref: '#/definitions/EmailEventProperties' x-ms-client-flatten: true description: Email Event properties. allOf: - $ref: '#/definitions/ProxyResource' parameters: ApiVersionParameter: name: api-version in: query required: true type: string description: The API version to be used with the HTTP request. ResourceGroupParameter: name: resourceGroupName in: path required: true type: string x-ms-parameter-location: method description: The name of the resource group that contains the resource. SubscriptionIdParameter: name: subscriptionId in: path required: true type: string description: The Azure subscription ID. This is a GUID-formatted string. TestBaseAccountNameParameter: name: testBaseAccountName in: path required: true type: string x-ms-parameter-location: method description: The resource name of the Test Base Account. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'