MetadataDependencies Class
Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies.
Constructor
MetadataDependencies(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
content_id
|
Id of the content item we depend on. |
|
kind
|
Type of the content item we depend on. Known values are: "DataConnector", "DataType", "Workbook", "WorkbookTemplate", "Playbook", "PlaybookTemplate", "AnalyticsRuleTemplate", "AnalyticsRule", "HuntingQuery", "InvestigationQuery", "Parser", "Watchlist", "WatchlistTemplate", "Solution", "AzureFunction", "LogicAppsCustomConnector", "AutomationRule", "ResourcesDataConnector", "Notebook", "Standalone", "SummaryRule", and "CustomDetection". |
|
version
|
Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required. |
|
name
|
Name of the content item. |
|
operator
|
Operator used for list of dependencies in criteria array. Known values are: "Equals", "NotEquals", "LessThan", "LessThanEqual", "GreaterThan", "GreaterThanEqual", "StringContains", "StringNotContains", "StringStartsWith", "StringNotStartsWith", "StringEndsWith", "StringNotEndsWith", "StringIsEmpty", "IsNull", "IsTrue", "IsFalse", "ArrayContains", "ArrayNotContains", "OnOrAfterRelative", "AfterRelative", "OnOrBeforeRelative", "BeforeRelative", "OnOrAfterAbsolute", "AfterAbsolute", "OnOrBeforeAbsolute", and "BeforeAbsolute". |
|
criteria
|
This is the list of dependencies we must fulfill, according to the AND/OR operator. |
Attributes
content_id
Id of the content item we depend on.
content_id: str | None
criteria
This is the list of dependencies we must fulfill, according to the AND/OR operator.
criteria: list['_models.MetadataDependencies'] | None
kind
"DataConnector", "DataType", "Workbook", "WorkbookTemplate", "Playbook", "PlaybookTemplate", "AnalyticsRuleTemplate", "AnalyticsRule", "HuntingQuery", "InvestigationQuery", "Parser", "Watchlist", "WatchlistTemplate", "Solution", "AzureFunction", "LogicAppsCustomConnector", "AutomationRule", "ResourcesDataConnector", "Notebook", "Standalone", "SummaryRule", and "CustomDetection".
kind: str | _models.Kind | None
name
Name of the content item.
name: str | None
operator
"Equals", "NotEquals", "LessThan", "LessThanEqual", "GreaterThan", "GreaterThanEqual", "StringContains", "StringNotContains", "StringStartsWith", "StringNotStartsWith", "StringEndsWith", "StringNotEndsWith", "StringIsEmpty", "IsNull", "IsTrue", "IsFalse", "ArrayContains", "ArrayNotContains", "OnOrAfterRelative", "AfterRelative", "OnOrBeforeRelative", "BeforeRelative", "OnOrAfterAbsolute", "AfterAbsolute", "OnOrBeforeAbsolute", and "BeforeAbsolute".
operator: str | _models.Operator | None
version
Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required.
version: str | None