PatchSubnetInstruction¶
-
class
oci.core.models.PatchSubnetInstruction(**kwargs)¶ Bases:
objectA single instruction to be included as part of PatchSubnet request content.
Attributes
OPERATION_REPLACEA constant which can be used with the operation property of a PatchSubnetInstruction. operation[Required] Gets the operation of this PatchSubnetInstruction. selection[Required] Gets the selection of this PatchSubnetInstruction. Methods
__init__(**kwargs)Initializes a new PatchSubnetInstruction 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. -
OPERATION_REPLACE= 'REPLACE'¶ A constant which can be used with the operation property of a PatchSubnetInstruction. This constant has a value of “REPLACE”
-
__init__(**kwargs)¶ Initializes a new PatchSubnetInstruction object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - operation (str) – The value to assign to the operation property of this PatchSubnetInstruction. Allowed values for this property are: “REPLACE”
- selection (str) – The value to assign to the selection property of this PatchSubnetInstruction.
-
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.
-
operation¶ [Required] Gets the operation of this PatchSubnetInstruction. The operation to apply. Values are capitalized per OCI convention but should be compared case-insensitively.
Allowed values for this property are: “REPLACE”
Returns: The operation of this PatchSubnetInstruction. Return type: str
-
selection¶ [Required] Gets the selection of this PatchSubnetInstruction. The set of values to which the operation applies as a JMESPath expression for evaluation against the Subnet resource representation. The PatchSubnet operation restricts supported selections (see PatchSubnet documentation). Example: “ipv6CidrBlocks”
Returns: The selection of this PatchSubnetInstruction. Return type: str
-