swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector Test Base Customer Notification Events API schemes: - https tags: - name: Test Base Customer Notification Events paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TestBase/testBaseAccounts/{testBaseAccountName}/customerEvents : get: tags: - Test Base Customer Notification Events operationId: microsoftAzureCustomereventsListbytestbaseaccount description: Lists all notification events subscribed under 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/CustomerEventListResult' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-pageable: nextLinkName: nextLink x-ms-examples: CustomerEventsList: $ref: ./examples/CustomerEventsList.json summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Testbase Testbaseaccounts Testbaseaccountname Customerevents 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. UserObjectReceiverValue: description: The user object receiver value. properties: userObjectIds: type: array items: type: string description: user object ids. CustomerEventListResult: description: A list of Test Base Customer Events. properties: value: type: array items: $ref: '#/definitions/CustomerEventResource' description: The list of Test Base Customer Events. nextLink: type: string readOnly: true description: Link to the next set of results. Not empty if value contains incomplete list of results. 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 CustomerEventProperties: description: A notification events subscribed to be received by customer. properties: eventName: type: string description: The name of the event subscribed to. receivers: type: array items: $ref: '#/definitions/NotificationEventReceiver' description: The notification event receivers. required: - eventName - receivers SubscriptionReceiverValue: description: The subscription role receiver value. properties: subscriptionId: type: string description: The subscription id of the notification receiver. subscriptionName: type: string description: The subscription name of the notification receiver. role: type: string description: The role of the notification receiver. NotificationEventReceiver: description: A notification event receivers. properties: receiverType: type: string description: The type of the notification event receiver. receiverValue: description: The notification event receiver value. $ref: '#/definitions/NotificationReceiverValue' 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. CustomerEventResource: description: The Customer Notification Event resource. properties: systemData: description: The system metadata relating to this resource $ref: '#/definitions/SystemData' properties: $ref: '#/definitions/CustomerEventProperties' x-ms-client-flatten: true description: Customer Notification Event properties. allOf: - $ref: '#/definitions/ProxyResource' NotificationReceiverValue: description: A notification event receiver value. properties: userObjectReceiverValue: description: The user object receiver value. $ref: '#/definitions/UserObjectReceiverValue' subscriptionReceiverValue: description: The user object receiver value. $ref: '#/definitions/SubscriptionReceiverValue' distributionGroupListReceiverValue: description: The user object receiver value. $ref: '#/definitions/DistributionGroupListReceiverValue' DistributionGroupListReceiverValue: description: The user object receiver value. properties: distributionGroups: type: array items: type: string description: The list of distribution groups. 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'