NetworkResourceConfiguration¶
- class oci.demand_signal.models.NetworkResourceConfiguration(**kwargs)¶
Bases:
BaseResourceConfigurationConfiguration for NETWORK
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.
Gets the link_role of this NetworkResourceConfiguration.
[Required] Gets the provider of this NetworkResourceConfiguration.
[Required] Gets the resource of this BaseResourceConfiguration.
[Required] Gets the usage_type of this NetworkResourceConfiguration.
Methods:
__init__(**kwargs)Initializes a new NetworkResourceConfiguration 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 NetworkResourceConfiguration object with values from keyword arguments. The default value of the
resourceattribute of this class isNETWORKand it should not be changed. 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 NetworkResourceConfiguration. Allowed values for this property are: “COMPUTE”, “EXADATA”, “STORAGE”, “NETWORK”
usage_type (str) – The value to assign to the usage_type property of this NetworkResourceConfiguration.
provider (str) – The value to assign to the provider property of this NetworkResourceConfiguration.
link_role (str) – The value to assign to the link_role property of this NetworkResourceConfiguration.
- 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 link_role¶
Gets the link_role of this NetworkResourceConfiguration. The role of the link in the network.
- Returns
The link_role of this NetworkResourceConfiguration.
- Return type
str
- property provider¶
[Required] Gets the provider of this NetworkResourceConfiguration. The provider of the network service.
- Returns
The provider of this NetworkResourceConfiguration.
- Return type
str
- 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
- property usage_type¶
[Required] Gets the usage_type of this NetworkResourceConfiguration. The type of usage for the resource.
- Returns
The usage_type of this NetworkResourceConfiguration.
- Return type
str