swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector Attested API schemes: - https tags: - name: Attested paths: /attested/document: get: operationId: microsoftAzureAttestedGetdocument description: Get Attested Data for the Virtual Machine. parameters: - $ref: '#/parameters/ApiVersionParameter' - name: nonce in: query required: false type: string description: This is a string of up to 32 random alphanumeric characters. - $ref: '#/parameters/MetadataParameter' responses: '200': description: OK schema: $ref: '#/definitions/AttestedData' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/ErrorResponse' x-ms-examples: Get Attested Data for the VM: $ref: ./examples/GetAttestedData.json summary: Microsoft Azure Get Attested Document tags: - Attested definitions: ErrorResponse: description: This is the response from an operation in the case an error occurs. type: object properties: error: description: Error message indicating why the operation failed. type: string AttestedData: type: object description: This is the response from the Attested_GetDocument operation. properties: signature: type: string description: This is the encoded string containing the VM ID, SKU, plan information, public key, timestamp, and nonce value. encoding: type: string description: This is the encoding scheme of the signature. parameters: MetadataParameter: name: Metadata in: header type: string enum: - 'true' description: This must be set to 'true'. required: true x-ms-parameter-location: method 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 x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'