ResourceTypeMetadataDetails¶
- class oci.stack_monitoring.models.ResourceTypeMetadataDetails(**kwargs)¶
Bases:
objectThe metadata details for resource type.
Attributes:
A constant which can be used with the format property of a ResourceTypeMetadataDetails.
[Required] Gets the format of this ResourceTypeMetadataDetails.
Methods:
__init__(**kwargs)Initializes a new ResourceTypeMetadataDetails 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.
- FORMAT_SYSTEM_FORMAT = 'SYSTEM_FORMAT'¶
A constant which can be used with the format property of a ResourceTypeMetadataDetails. This constant has a value of “SYSTEM_FORMAT”
- __init__(**kwargs)¶
Initializes a new ResourceTypeMetadataDetails 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
format (str) – The value to assign to the format property of this ResourceTypeMetadataDetails. Allowed values for this property are: “SYSTEM_FORMAT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property format¶
[Required] Gets the format of this ResourceTypeMetadataDetails. ResourceType metadata format to be used. Currently supports only one format. Possible values - SYSTEM_FORMAT. * SYSTEM_FORMAT - The resource type metadata is defined in machine friendly format.
Allowed values for this property are: “SYSTEM_FORMAT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The format of this ResourceTypeMetadataDetails.
- Return type
str
- 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.