GET api/OfflineEnvironments/{id}

Returns a offline environment.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of the offline environment to return.

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

OfflineEnvironment
NameDescriptionTypeAdditional information
Id

The ID of the offline environment.

globally unique identifier

Required

TpmSupported

Indicates if offline environment is for a TPM supported environment.

boolean

Required

EncryptedMasterEncryptionKey

If TpmSupported is true, then this field is present and has a constant value of [EXPORTABLE] which indicates a master encryption key can be exported.

string

None.

EncryptedMasterEncryptionIv

If TpmSupported is true, then this field is present and has a constant value of [EXPORTABLE] which indicates a master encryption IV can be exported.

string

Required

EncryptedEncryptionKey

The encrypted offline environment encryption key.

Collection of byte

Required

Created

The date when the offline environment was created (in the ISO 8601 format).

date

Required

Status Codes

All HTTP status codes must be expected, but the following status codes are the most probable:

  • OK (200) - The offline environment is found and returned.
  • BadRequest (400) - The ID of an offline environment is invalid.
  • NotFound (404) - The offline environment with the specified ID is not found.

Response Formats

application/json, text/json

Sample:
{
  "Id": "ee767486-bb8d-40fe-872e-4cd8ad6e85a3",
  "TpmSupported": true,
  "EncryptedMasterEncryptionKey": "sample string 3",
  "EncryptedMasterEncryptionIv": "sample string 4",
  "EncryptedEncryptionKey": "QEA=",
  "Created": "2024-09-11T10:50:27.1756084+00:00"
}