Skip to main content

content_package

Creates, updates, deletes, gets or lists a content_package resource.

Overview

Namecontent_package
TypeResource
Idazure.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:

NameAccessible byRequired ParamsOptional ParamsDescription
uninstalldeleteresource_group_name, workspace_name, package_id, subscription_idUninstall a package from the workspace.
installexecresource_group_name, workspace_name, package_id, subscription_idInstall 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.

NameDatatypeDescription
package_idstringpackage Id. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
workspace_namestringThe name of the monitor workspace. Required.

DELETE examples

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 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 }}"
}'
;