Skip to main content

product_packages

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

Overview

Nameproduct_packages
TypeResource
Idazure.sentinel.product_packages

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
etagstringEtag of the azure resource
propertiesobjectpackage properties

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, workspaceName, packageIdGets a package by its identifier from the catalog.
listselectsubscriptionId, resourceGroupName, workspaceName$filter, $orderby, $top, $skipTokenGets all packages from the catalog.
Expandable properties:
- properties/installed
- properties/packagedContent

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
packageIdstringpackage Id
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
workspaceNamestringThe name of the workspace.
$filterstringFilters the results, based on a Boolean condition. Optional.
$orderbystringSorts the results. Optional.
$skipTokenstringSkiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls. Optional.
$topinteger (int32)Returns only the first n results. Optional.

SELECT examples

Gets a package by its identifier from the catalog.

SELECT
etag,
properties
FROM azure.sentinel.product_packages
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND packageId = '{{ packageId }}' -- required
;