VcnDnsResolverAssociation¶
-
class
oci.core.models.
VcnDnsResolverAssociation
(**kwargs)¶ Bases:
object
The information about the VCN and the DNS resolver in the association.
Attributes
LIFECYCLE_STATE_AVAILABLE
A constant which can be used with the lifecycle_state property of a VcnDnsResolverAssociation. LIFECYCLE_STATE_PROVISIONING
A constant which can be used with the lifecycle_state property of a VcnDnsResolverAssociation. LIFECYCLE_STATE_TERMINATED
A constant which can be used with the lifecycle_state property of a VcnDnsResolverAssociation. LIFECYCLE_STATE_TERMINATING
A constant which can be used with the lifecycle_state property of a VcnDnsResolverAssociation. dns_resolver_id
Gets the dns_resolver_id of this VcnDnsResolverAssociation. lifecycle_state
[Required] Gets the lifecycle_state of this VcnDnsResolverAssociation. vcn_id
[Required] Gets the vcn_id of this VcnDnsResolverAssociation. Methods
__init__
(**kwargs)Initializes a new VcnDnsResolverAssociation object with values from keyword arguments. -
LIFECYCLE_STATE_AVAILABLE
= 'AVAILABLE'¶ A constant which can be used with the lifecycle_state property of a VcnDnsResolverAssociation. This constant has a value of “AVAILABLE”
-
LIFECYCLE_STATE_PROVISIONING
= 'PROVISIONING'¶ A constant which can be used with the lifecycle_state property of a VcnDnsResolverAssociation. This constant has a value of “PROVISIONING”
-
LIFECYCLE_STATE_TERMINATED
= 'TERMINATED'¶ A constant which can be used with the lifecycle_state property of a VcnDnsResolverAssociation. This constant has a value of “TERMINATED”
-
LIFECYCLE_STATE_TERMINATING
= 'TERMINATING'¶ A constant which can be used with the lifecycle_state property of a VcnDnsResolverAssociation. This constant has a value of “TERMINATING”
-
__init__
(**kwargs)¶ Initializes a new VcnDnsResolverAssociation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - vcn_id (str) – The value to assign to the vcn_id property of this VcnDnsResolverAssociation.
- dns_resolver_id (str) – The value to assign to the dns_resolver_id property of this VcnDnsResolverAssociation.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this VcnDnsResolverAssociation. Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “TERMINATING”, “TERMINATED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
dns_resolver_id
¶ Gets the dns_resolver_id of this VcnDnsResolverAssociation. The OCID of the DNS resolver in the association.
Returns: The dns_resolver_id of this VcnDnsResolverAssociation. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this VcnDnsResolverAssociation. The current state of the association.
Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “TERMINATING”, “TERMINATED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this VcnDnsResolverAssociation. Return type: str
-