GET api/OfflineEnvironments

Returns all offline environments. Only 100 offline environments can be returned at a time. The following OData query options are allowed: $filter, $orderby, $select, $skip, $top.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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) - All found offline environments are successfully returned.
  • BadRequest (400) - The OData query is invalid.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "adb5e267-8100-45de-aeaf-e9cf4a818651",
    "TpmSupported": true,
    "EncryptedMasterEncryptionKey": "sample string 3",
    "EncryptedMasterEncryptionIv": "sample string 4",
    "EncryptedEncryptionKey": "QEA=",
    "Created": "2024-09-11T10:50:24.7070864+00:00"
  },
  {
    "Id": "adb5e267-8100-45de-aeaf-e9cf4a818651",
    "TpmSupported": true,
    "EncryptedMasterEncryptionKey": "sample string 3",
    "EncryptedMasterEncryptionIv": "sample string 4",
    "EncryptedEncryptionKey": "QEA=",
    "Created": "2024-09-11T10:50:24.7070864+00:00"
  }
]