StorageResourceConfiguration

class oci.demand_signal.models.StorageResourceConfiguration(**kwargs)

Bases: BaseResourceConfiguration

Configuration for STORAGE

Attributes:

RESOURCE_COMPUTE

A constant which can be used with the resource property of a BaseResourceConfiguration.

RESOURCE_EXADATA

A constant which can be used with the resource property of a BaseResourceConfiguration.

RESOURCE_NETWORK

A constant which can be used with the resource property of a BaseResourceConfiguration.

RESOURCE_STORAGE

A constant which can be used with the resource property of a BaseResourceConfiguration.

resource

[Required] Gets the resource of this BaseResourceConfiguration.

storage_type

[Required] Gets the storage_type of this StorageResourceConfiguration.

usage_type

[Required] Gets the usage_type of this StorageResourceConfiguration.

Methods:

__init__(**kwargs)

Initializes a new StorageResourceConfiguration 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 StorageResourceConfiguration object with values from keyword arguments. The default value of the resource attribute of this class is STORAGE and 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 StorageResourceConfiguration. Allowed values for this property are: “COMPUTE”, “EXADATA”, “STORAGE”, “NETWORK”

  • storage_type (str) – The value to assign to the storage_type property of this StorageResourceConfiguration.

  • usage_type (str) – The value to assign to the usage_type property of this StorageResourceConfiguration.

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

property storage_type

[Required] Gets the storage_type of this StorageResourceConfiguration. The type of storage resource.

Returns

The storage_type of this StorageResourceConfiguration.

Return type

str

property usage_type

[Required] Gets the usage_type of this StorageResourceConfiguration. The type of usage for the resource.

Returns

The usage_type of this StorageResourceConfiguration.

Return type

str