NameConstraintSubtreeNode

class oci.certificates_management.models.NameConstraintSubtreeNode(**kwargs)

Bases: object

An object that imposes restrictions on specific name constraint types based on the name constraint value.

Attributes

TYPE_DIRECTORY_NAME A constant which can be used with the type property of a NameConstraintSubtreeNode.
TYPE_DNS A constant which can be used with the type property of a NameConstraintSubtreeNode.
TYPE_IP A constant which can be used with the type property of a NameConstraintSubtreeNode.
type [Required] Gets the type of this NameConstraintSubtreeNode.
value [Required] Gets the value of this NameConstraintSubtreeNode.

Methods

__init__(**kwargs) Initializes a new NameConstraintSubtreeNode object with values from keyword arguments.
TYPE_DIRECTORY_NAME = 'DIRECTORY_NAME'

A constant which can be used with the type property of a NameConstraintSubtreeNode. This constant has a value of “DIRECTORY_NAME”

TYPE_DNS = 'DNS'

A constant which can be used with the type property of a NameConstraintSubtreeNode. This constant has a value of “DNS”

TYPE_IP = 'IP'

A constant which can be used with the type property of a NameConstraintSubtreeNode. This constant has a value of “IP”

__init__(**kwargs)

Initializes a new NameConstraintSubtreeNode object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this NameConstraintSubtreeNode. Allowed values for this property are: “DIRECTORY_NAME”, “DNS”, “IP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • value (str) – The value to assign to the value property of this NameConstraintSubtreeNode.
type

[Required] Gets the type of this NameConstraintSubtreeNode. The type of name constraint.

Allowed values for this property are: “DIRECTORY_NAME”, “DNS”, “IP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this NameConstraintSubtreeNode.
Return type:str
value

[Required] Gets the value of this NameConstraintSubtreeNode. Name restrictions for the corresponding type of name constraint.

Returns:The value of this NameConstraintSubtreeNode.
Return type:str