InstanceOptions

class oci.core.models.InstanceOptions(**kwargs)

Bases: object

Optional mutable instance options

Methods:

__init__(**kwargs)

Initializes a new InstanceOptions object with values from keyword arguments.

Attributes:

are_legacy_imds_endpoints_disabled

Gets the are_legacy_imds_endpoints_disabled of this InstanceOptions.

__init__(**kwargs)

Initializes a new InstanceOptions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters

are_legacy_imds_endpoints_disabled (bool) – The value to assign to the are_legacy_imds_endpoints_disabled property of this InstanceOptions.

property are_legacy_imds_endpoints_disabled

Gets the are_legacy_imds_endpoints_disabled of this InstanceOptions. Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false.

Returns

The are_legacy_imds_endpoints_disabled of this InstanceOptions.

Return type

bool