content_package
Creates, updates, deletes, gets or lists a content_package resource.
Overview
| Name | content_package |
| Type | Resource |
| Id | azure.security_insight.content_package |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
uninstall | delete | resource_group_name, workspace_name, package_id, subscription_id | Uninstall a package from the workspace. | |
install | exec | resource_group_name, workspace_name, package_id, subscription_id | Install a package to the workspace. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
package_id | string | package Id. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string | |
workspace_name | string | The name of the monitor workspace. Required. |
DELETE examples
- uninstall
Uninstall a package from the workspace.
DELETE FROM azure.security_insight.content_package
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND workspace_name = '{{ workspace_name }}' --required
AND package_id = '{{ package_id }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;
Lifecycle Methods
- install
Install a package to the workspace.
EXEC azure.security_insight.content_package.install
@resource_group_name='{{ resource_group_name }}' --required,
@workspace_name='{{ workspace_name }}' --required,
@package_id='{{ package_id }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"properties": "{{ properties }}",
"etag": "{{ etag }}"
}'
;