BaseResourceConfiguration¶
- class oci.demand_signal.models.BaseResourceConfiguration(**kwargs)¶
Bases:
objectConfiguration for a given ‘resource’
Attributes:
A constant which can be used with the resource property of a BaseResourceConfiguration.
A constant which can be used with the resource property of a BaseResourceConfiguration.
A constant which can be used with the resource property of a BaseResourceConfiguration.
A constant which can be used with the resource property of a BaseResourceConfiguration.
[Required] Gets the resource of this BaseResourceConfiguration.
Methods:
__init__(**kwargs)Initializes a new BaseResourceConfiguration 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.
- RESOURCE_COMPUTE = 'COMPUTE'¶
A constant which can be used with the resource property of a BaseResourceConfiguration. This constant has a value of “COMPUTE”
- RESOURCE_EXADATA = 'EXADATA'¶
A constant which can be used with the resource property of a BaseResourceConfiguration. This constant has a value of “EXADATA”
- RESOURCE_NETWORK = 'NETWORK'¶
A constant which can be used with the resource property of a BaseResourceConfiguration. This constant has a value of “NETWORK”
- RESOURCE_STORAGE = 'STORAGE'¶
A constant which can be used with the resource property of a BaseResourceConfiguration. This constant has a value of “STORAGE”
- __init__(**kwargs)¶
Initializes a new BaseResourceConfiguration 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
resource (str) – The value to assign to the resource property of this BaseResourceConfiguration. Allowed values for this property are: “COMPUTE”, “EXADATA”, “STORAGE”, “NETWORK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- 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.
- property resource¶
[Required] Gets the resource of this BaseResourceConfiguration. Resources like COMPUTE, STORAGE, EXADATA etc.
Allowed values for this property are: “COMPUTE”, “EXADATA”, “STORAGE”, “NETWORK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The resource of this BaseResourceConfiguration.
- Return type
str