VcnDnsResolverAssociation¶
-
class
oci.vn_monitoring.models.VcnDnsResolverAssociation(**kwargs)¶ Bases:
objectThe information about the VCN and the DNS resolver in the association.
Attributes
LIFECYCLE_STATE_AVAILABLEA constant which can be used with the lifecycle_state property of a VcnDnsResolverAssociation. LIFECYCLE_STATE_PROVISIONINGA constant which can be used with the lifecycle_state property of a VcnDnsResolverAssociation. LIFECYCLE_STATE_TERMINATEDA constant which can be used with the lifecycle_state property of a VcnDnsResolverAssociation. LIFECYCLE_STATE_TERMINATINGA constant which can be used with the lifecycle_state property of a VcnDnsResolverAssociation. dns_resolver_idGets 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”
-
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”
Returns: The lifecycle_state of this VcnDnsResolverAssociation. Return type: str
-