software_inventories
Creates, updates, deletes, gets or lists a software_inventories resource.
Overview
| Name | software_inventories |
| Type | Resource |
| Id | azure.security.software_inventories |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_extended_resource
- list_by_subscription
| Name | Datatype | Description |
|---|---|---|
id | string (arm-id) | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | string | The name of the resource |
properties | object | Properties of the Software Inventory resource |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
| Name | Datatype | Description |
|---|---|---|
id | string (arm-id) | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | string | The name of the resource |
properties | object | Properties of the Software Inventory resource |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
| Name | Datatype | Description |
|---|---|---|
id | string (arm-id) | Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
name | string | The name of the resource |
properties | object | Properties of the Software Inventory resource |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, resourceGroupName, resourceNamespace, resourceType, resourceName, softwareName | api-version | Gets a single software data of the virtual machine. |
list_by_extended_resource | select | subscriptionId, resourceGroupName, resourceNamespace, resourceType, resourceName | api-version | Gets the software inventory of the virtual machine. |
list_by_subscription | select | subscriptionId | api-version | Gets the software inventory of all virtual machines in the subscriptions. |
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 |
|---|---|---|
resourceGroupName | string | The name of the resource group within the user's subscription. The name is case insensitive. |
resourceName | string | Name of the resource. |
resourceNamespace | string | The namespace of the resource. |
resourceType | string | The type of the resource. |
softwareName | string | Name of the installed software. |
subscriptionId | string | Azure subscription ID |
api-version | string | API version for the operation |
SELECT examples
- get
- list_by_extended_resource
- list_by_subscription
Gets a single software data of the virtual machine.
SELECT
id,
name,
properties,
systemData,
type
FROM azure.security.software_inventories
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND resourceNamespace = '{{ resourceNamespace }}' -- required
AND resourceType = '{{ resourceType }}' -- required
AND resourceName = '{{ resourceName }}' -- required
AND softwareName = '{{ softwareName }}' -- required
AND api-version = '{{ api-version }}'
;
Gets the software inventory of the virtual machine.
SELECT
id,
name,
properties,
systemData,
type
FROM azure.security.software_inventories
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND resourceNamespace = '{{ resourceNamespace }}' -- required
AND resourceType = '{{ resourceType }}' -- required
AND resourceName = '{{ resourceName }}' -- required
AND api-version = '{{ api-version }}'
;
Gets the software inventory of all virtual machines in the subscriptions.
SELECT
id,
name,
properties,
systemData,
type
FROM azure.security.software_inventories
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND api-version = '{{ api-version }}'
;