SystemFormatResourceTypeMetadataDetails¶
- class oci.stack_monitoring.models.SystemFormatResourceTypeMetadataDetails(**kwargs)¶
Bases:
ResourceTypeMetadataDetailsThe resource type metadata is defined in machine friendly format.
Attributes:
A constant which can be used with the format property of a ResourceTypeMetadataDetails.
Gets the agent_properties of this SystemFormatResourceTypeMetadataDetails.
[Required] Gets the format of this ResourceTypeMetadataDetails.
Gets the required_properties of this SystemFormatResourceTypeMetadataDetails.
Gets the unique_property_sets of this SystemFormatResourceTypeMetadataDetails.
Gets the valid_properties_for_create of this SystemFormatResourceTypeMetadataDetails.
Gets the valid_properties_for_update of this SystemFormatResourceTypeMetadataDetails.
Gets the valid_property_values of this SystemFormatResourceTypeMetadataDetails.
Gets the valid_sub_resource_types of this SystemFormatResourceTypeMetadataDetails.
Methods:
__init__(**kwargs)Initializes a new SystemFormatResourceTypeMetadataDetails 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 SystemFormatResourceTypeMetadataDetails object with values from keyword arguments. The default value of the
formatattribute of this class isSYSTEM_FORMATand it should not be changed. 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 SystemFormatResourceTypeMetadataDetails. Allowed values for this property are: “SYSTEM_FORMAT”
required_properties (list[str]) – The value to assign to the required_properties property of this SystemFormatResourceTypeMetadataDetails.
agent_properties (list[str]) – The value to assign to the agent_properties property of this SystemFormatResourceTypeMetadataDetails.
valid_properties_for_create (list[str]) – The value to assign to the valid_properties_for_create property of this SystemFormatResourceTypeMetadataDetails.
valid_properties_for_update (list[str]) – The value to assign to the valid_properties_for_update property of this SystemFormatResourceTypeMetadataDetails.
unique_property_sets (list[oci.stack_monitoring.models.UniquePropertySet]) – The value to assign to the unique_property_sets property of this SystemFormatResourceTypeMetadataDetails.
valid_property_values (dict(str, list[str])) – The value to assign to the valid_property_values property of this SystemFormatResourceTypeMetadataDetails.
valid_sub_resource_types (list[str]) – The value to assign to the valid_sub_resource_types property of this SystemFormatResourceTypeMetadataDetails.
- property agent_properties¶
Gets the agent_properties of this SystemFormatResourceTypeMetadataDetails. List of properties needed by the agent for monitoring the resource. Valid only if resource type is OCI management agent based. When specified, these properties are passed to the management agent during resource create or update.
- Returns
The agent_properties of this SystemFormatResourceTypeMetadataDetails.
- Return type
list[str]
- 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.
- property required_properties¶
Gets the required_properties of this SystemFormatResourceTypeMetadataDetails. List of required properties for resource type.
- Returns
The required_properties of this SystemFormatResourceTypeMetadataDetails.
- Return type
list[str]
- property unique_property_sets¶
Gets the unique_property_sets of this SystemFormatResourceTypeMetadataDetails. List of property sets used to uniquely identify the resources. This check is made during create or update of stack monitoring resource. The resource has to pass unique check for each set in the list. For example, database can have user, password and SID as one unique set. Another unique set would be user, password and service name.
- Returns
The unique_property_sets of this SystemFormatResourceTypeMetadataDetails.
- Return type
- property valid_properties_for_create¶
Gets the valid_properties_for_create of this SystemFormatResourceTypeMetadataDetails. List of valid properties for resource type while creating the monitored resource. If resources of this type specifies any other properties during create operation, the operation will fail.
- Returns
The valid_properties_for_create of this SystemFormatResourceTypeMetadataDetails.
- Return type
list[str]
- property valid_properties_for_update¶
Gets the valid_properties_for_update of this SystemFormatResourceTypeMetadataDetails. List of valid properties for resource type while updating the monitored resource. If resources of this type specifies any other properties during update operation, the operation will fail.
- Returns
The valid_properties_for_update of this SystemFormatResourceTypeMetadataDetails.
- Return type
list[str]
- property valid_property_values¶
Gets the valid_property_values of this SystemFormatResourceTypeMetadataDetails. List of valid values for the properties. This is useful when resource type wants to restrict only certain values for some properties. For instance for ‘osType’ property, supported values can be restricted to be either Linux or Windows. Example: { “osType”: [“Linux”,”Windows”,”Solaris”]}
- Returns
The valid_property_values of this SystemFormatResourceTypeMetadataDetails.
- Return type
dict(str, list[str])
- property valid_sub_resource_types¶
Gets the valid_sub_resource_types of this SystemFormatResourceTypeMetadataDetails. List of valid sub-resource types for a composite resource type. The sub-resource types will be obtained from the valid association pairs corresponding to the composite resource types. It will be empty for non composite resource types
- Returns
The valid_sub_resource_types of this SystemFormatResourceTypeMetadataDetails.
- Return type
list[str]