UpdateResolverVnicEndpointDetails¶
- class oci.dns.models.UpdateResolverVnicEndpointDetails(**kwargs)¶
Bases:
UpdateResolverEndpointDetailsThe 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:
A constant which can be used with the endpoint_type property of a UpdateResolverEndpointDetails.
Gets the defined_tags of this UpdateResolverEndpointDetails.
Gets the endpoint_type of this UpdateResolverEndpointDetails.
Gets the freeform_tags of this UpdateResolverEndpointDetails.
Gets the nsg_ids of this UpdateResolverVnicEndpointDetails.
Gets the security_attributes 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'¶
A constant which can be used with the endpoint_type property of a UpdateResolverEndpointDetails. This constant has a value of “VNIC”
- __init__(**kwargs)¶
Initializes a new UpdateResolverVnicEndpointDetails object with values from keyword arguments. The default value of the
endpoint_typeattribute of this class isVNICand 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”
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateResolverVnicEndpointDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateResolverVnicEndpointDetails.
nsg_ids (list[str]) – The value to assign to the nsg_ids property of this UpdateResolverVnicEndpointDetails.
security_attributes (dict(str, dict(str, object))) – The value to assign to the security_attributes property of this UpdateResolverVnicEndpointDetails.
- property defined_tags¶
Gets the defined_tags of this UpdateResolverEndpointDetails.
- Returns
The defined_tags of this UpdateResolverEndpointDetails.
- Return type
dict(str, dict(str, object))
- property 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
- property freeform_tags¶
Gets the freeform_tags of this UpdateResolverEndpointDetails.
- Returns
The freeform_tags of this UpdateResolverEndpointDetails.
- Return type
dict(str, 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.
- property nsg_ids¶
Gets the nsg_ids of this UpdateResolverVnicEndpointDetails. An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of.
- Returns
The nsg_ids of this UpdateResolverVnicEndpointDetails.
- Return type
list[str]
- property security_attributes¶
Gets the security_attributes of this UpdateResolverVnicEndpointDetails.
- Returns
The security_attributes of this UpdateResolverVnicEndpointDetails.
- Return type
dict(str, dict(str, object))