SystemFormatResourceTypeMetadataDetails

class oci.stack_monitoring.models.SystemFormatResourceTypeMetadataDetails(**kwargs)

Bases: oci.stack_monitoring.models.resource_type_metadata_details.ResourceTypeMetadataDetails

The resource type metadata is defined in machine friendly format.

Attributes

FORMAT_SYSTEM_FORMAT str(object=’’) -> str
agent_properties Gets the agent_properties of this SystemFormatResourceTypeMetadataDetails.
format [Required] Gets the format of this ResourceTypeMetadataDetails.
required_properties Gets the required_properties of this SystemFormatResourceTypeMetadataDetails.
unique_property_sets Gets the unique_property_sets of this SystemFormatResourceTypeMetadataDetails.
valid_properties_for_create Gets the valid_properties_for_create of this SystemFormatResourceTypeMetadataDetails.
valid_properties_for_update Gets the valid_properties_for_update of this SystemFormatResourceTypeMetadataDetails.
valid_property_values Gets the valid_property_values 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'
__init__(**kwargs)

Initializes a new SystemFormatResourceTypeMetadataDetails object with values from keyword arguments. The default value of the format attribute of this class is SYSTEM_FORMAT and 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.
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]
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.

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]
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:list[oci.stack_monitoring.models.UniquePropertySet]
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]
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]
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])