UpdateResolverVnicEndpointDetails

class oci.dns.models.UpdateResolverVnicEndpointDetails(**kwargs)

Bases: oci.dns.models.update_resolver_endpoint_details.UpdateResolverEndpointDetails

The body for updating an existing resolver VNIC endpoint.

Warning: Oracle recommends that you avoid using any confidential information when you supply string values using the API.

Attributes

ENDPOINT_TYPE_VNIC str(object=’’) -> str
endpoint_type Gets the endpoint_type of this UpdateResolverEndpointDetails.
nsg_ids Gets the nsg_ids of this UpdateResolverVnicEndpointDetails.

Methods

__init__(**kwargs) Initializes a new UpdateResolverVnicEndpointDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
ENDPOINT_TYPE_VNIC = 'VNIC'
__init__(**kwargs)

Initializes a new UpdateResolverVnicEndpointDetails object with values from keyword arguments. The default value of the endpoint_type attribute of this class is VNIC and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • endpoint_type (str) – The value to assign to the endpoint_type property of this UpdateResolverVnicEndpointDetails. Allowed values for this property are: “VNIC”
  • nsg_ids (list[str]) – The value to assign to the nsg_ids property of this UpdateResolverVnicEndpointDetails.
endpoint_type

Gets the endpoint_type of this UpdateResolverEndpointDetails. The type of resolver endpoint. VNIC is currently the only supported type.

Allowed values for this property are: “VNIC”

Returns:The endpoint_type of this UpdateResolverEndpointDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

nsg_ids

Gets the nsg_ids of this UpdateResolverVnicEndpointDetails. An array of NSG OCIDs for the resolver endpoint.

Returns:The nsg_ids of this UpdateResolverVnicEndpointDetails.
Return type:list[str]