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": "09e242b0-d99e-4f7d-8409-73e3454cc9db",
  "TpmSupported": true,
  "EncryptedMasterEncryptionKey": "sample string 3",
  "EncryptedMasterEncryptionIv": "sample string 4",
  "EncryptedEncryptionKey": "QEA=",
  "Created": "2024-09-24T02:23:49.0630429+00:00"
}