InstanceConfigurationInstanceOptions

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

Bases: object

Optional mutable instance options. As a part of Instance Metadata Service Security Header, This allows user to disable the legacy imds endpoints.

Methods

__init__(**kwargs) Initializes a new InstanceConfigurationInstanceOptions object with values from keyword arguments.

Attributes

are_legacy_imds_endpoints_disabled Gets the are_legacy_imds_endpoints_disabled of this InstanceConfigurationInstanceOptions.
__init__(**kwargs)

Initializes a new InstanceConfigurationInstanceOptions 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 InstanceConfigurationInstanceOptions.
are_legacy_imds_endpoints_disabled

Gets the are_legacy_imds_endpoints_disabled of this InstanceConfigurationInstanceOptions. 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 InstanceConfigurationInstanceOptions.
Return type:bool