swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector Get Metadata Information API schemes: - https tags: - name: Get Metadata Information paths: /identity/info: get: tags: - Get Metadata Information description: Get information about AAD Metadata operationId: microsoftAzureIdentityGetinfo produces: - application/json parameters: - $ref: '#/parameters/MetadataParameter' - $ref: '#/parameters/ApiVersionParameter' responses: '200': description: Successful operation schema: $ref: '#/definitions/IdentityInfoResponse' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/IdentityErrorResponse' x-ms-examples: Get Identity Info for the VM: $ref: ./examples/GetIdentityInfo.json summary: Microsoft Azure Get Identity Info definitions: IdentityInfoResponse: type: object description: This is the response from the Identity_GetInfo operation. properties: tenantId: type: string description: This is the AAD tenantId of the identity of the system assigned managed identity. IdentityErrorResponse: type: object description: This is the response from an Identity operation in the case an error occurs. properties: error: type: string description: Error code enum: - invalid_request - unauthorized_client - access_denied - unsupported_response_type - invalid_scope - server_error - service_unavailable - bad_request - forbidden - not_found - method_not_allowed - too_many_requests x-ms-enum: name: Error modelAsString: true error_description: type: string description: Error message indicating why the operation failed. parameters: ApiVersionParameter: name: api-version in: query type: string enum: - '2018-10-01' description: This is the API version to use. required: true x-ms-enum: name: ApiVersion modelAsString: true MetadataParameter: name: Metadata in: header type: string enum: - 'true' description: This must be set to 'true'. required: true x-ms-parameter-location: method x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'