swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector EnrollmentAccounts API schemes: - https tags: - name: EnrollmentAccounts paths: /providers/Microsoft.Billing/enrollmentAccounts: get: tags: - EnrollmentAccounts x-ms-examples: EnrollmentAccountsList: $ref: ./examples/EnrollmentAccountsList.json operationId: microsoftAzureEnrollmentaccountsList description: Lists the enrollment accounts the caller has access to. parameters: - $ref: '#/parameters/apiVersionParameter' responses: '200': description: OK. The request has succeeded. schema: $ref: '#/definitions/EnrollmentAccountListResult' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-pageable: nextLinkName: nextLink summary: Microsoft Azure Get Providers Microsoft Billing Enrollmentaccounts /providers/Microsoft.Billing/enrollmentAccounts/{name}: get: tags: - EnrollmentAccounts x-ms-examples: EnrollmentAccountsGet: $ref: ./examples/EnrollmentAccountsGet.json operationId: microsoftAzureEnrollmentaccountsGet description: Gets a enrollment account by name. parameters: - name: name in: path description: Enrollment Account name. required: true type: string - $ref: '#/parameters/apiVersionParameter' responses: '200': description: OK. The request has succeeded. schema: $ref: '#/definitions/EnrollmentAccountSummary' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' summary: Microsoft Azure Get Providers Microsoft Billing Enrollmentaccounts Name definitions: ErrorResponse: description: Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message. type: object properties: error: description: The details of the error. $ref: '#/definitions/ErrorDetails' EnrollmentAccountSummaryProperties: description: The properties of the enrollment account. properties: principalName: description: The account owner's principal name. type: string readOnly: true ErrorSubDetails: type: array items: type: object properties: code: description: Error code. type: string readOnly: true message: description: Error message indicating why the operation failed. type: string readOnly: true target: description: The target of the particular error. type: string readOnly: true Resource: description: The Resource model 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 EnrollmentAccountListResult: description: Result of listing enrollment accounts. properties: value: description: The list of enrollment accounts. type: array readOnly: true items: $ref: '#/definitions/EnrollmentAccountSummary' nextLink: description: The link (url) to the next page of results. type: string readOnly: true ErrorDetails: description: The details of the error. properties: code: description: Error code. type: string readOnly: true message: description: Error message indicating why the operation failed. type: string readOnly: true target: description: The target of the particular error. type: string readOnly: true details: description: The sub details of the error. readOnly: true $ref: '#/definitions/ErrorSubDetails' EnrollmentAccountSummary: description: An enrollment account resource. type: object allOf: - $ref: '#/definitions/Resource' properties: properties: description: An enrollment account. x-ms-client-flatten: true $ref: '#/definitions/EnrollmentAccountSummaryProperties' parameters: apiVersionParameter: name: api-version in: query required: true type: string description: Version of the API to be used with the client request. The current version is 2018-03-01-preview. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'