VcnDnsResolverAssociation¶
- class oci.core.models.VcnDnsResolverAssociation(**kwargs)¶
Bases:
objectThe information about the VCN and the DNS resolver in the association.
Attributes:
A constant which can be used with the lifecycle_state property of a VcnDnsResolverAssociation.
A constant which can be used with the lifecycle_state property of a VcnDnsResolverAssociation.
A constant which can be used with the lifecycle_state property of a VcnDnsResolverAssociation.
A constant which can be used with the lifecycle_state property of a VcnDnsResolverAssociation.
Gets the dns_resolver_id of this VcnDnsResolverAssociation.
[Required] Gets the lifecycle_state of this VcnDnsResolverAssociation.
[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’.
- property 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
- property 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