applications
Creates, updates, deletes, gets or lists an applications
resource.
Overview
Name | applications |
Type | Resource |
Id | azure.security.applications |
Fields
The following fields are returned by SELECT
queries:
- get
- list
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 a security application |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
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 a security application |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
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 , applicationId | api-version | Get a specific application for the requested scope by applicationId |
list | select | subscriptionId | api-version | Get a list of all relevant applications over a subscription level scope |
create_or_update | insert | subscriptionId , applicationId | api-version | Creates or update a security application on the given subscription. |
delete | delete | subscriptionId , applicationId | api-version | Delete an Application over a given scope |
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 |
---|---|---|
applicationId | string | The security Application key - unique key for the standard application |
subscriptionId | string | Azure subscription ID |
api-version | string | API version for the operation |
SELECT
examples
- get
- list
Get a specific application for the requested scope by applicationId
SELECT
id,
name,
properties,
systemData,
type
FROM azure.security.applications
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND applicationId = '{{ applicationId }}' -- required
AND api-version = '{{ api-version }}'
;
Get a list of all relevant applications over a subscription level scope
SELECT
id,
name,
properties,
systemData,
type
FROM azure.security.applications
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND api-version = '{{ api-version }}'
;
INSERT
examples
- create_or_update
- Manifest
Creates or update a security application on the given subscription.
INSERT INTO azure.security.applications (
data__properties,
subscriptionId,
applicationId,
api-version
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ applicationId }}',
'{{ api-version }}'
RETURNING
id,
name,
properties,
systemData,
type
;
# Description fields are for documentation purposes
- name: applications
props:
- name: subscriptionId
value: string
description: Required parameter for the applications resource.
- name: applicationId
value: string
description: Required parameter for the applications resource.
- name: properties
value: object
description: |
Properties of a security application
- name: api-version
value: string
description: API version for the operation
DELETE
examples
- delete
Delete an Application over a given scope
DELETE FROM azure.security.applications
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND applicationId = '{{ applicationId }}' --required
AND api-version = '{{ api-version }}'
;