application_definitions
Creates, updates, deletes, gets or lists an application_definitions
resource.
Overview
Name | application_definitions |
Type | Resource |
Id | azure.managed_applications.application_definitions |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list_by_subscription
OK - Returns the managed application definition.
Name | Datatype | Description |
---|---|---|
managedBy | string | ID of the resource that manages this resource. |
properties | object | The managed application definition properties. |
sku | object | The SKU of the resource. |
OK - Returns an array of managed application definitions.
Name | Datatype | Description |
---|---|---|
managedBy | string | ID of the resource that manages this resource. |
properties | object | The managed application definition properties. |
sku | object | The SKU of the resource. |
OK - Returns an array of managed application definitions.
Name | Datatype | Description |
---|---|---|
managedBy | string | ID of the resource that manages this resource. |
properties | object | The managed application definition properties. |
sku | object | The SKU of the resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , applicationDefinitionName | Gets the managed application definition. | |
list_by_resource_group | select | subscriptionId , resourceGroupName | Lists the managed application definitions in a resource group. | |
list_by_subscription | select | subscriptionId | Lists all the application definitions within a subscription. | |
create_or_update | insert | subscriptionId , resourceGroupName , applicationDefinitionName , data__properties | Creates or updates a managed application definition. | |
update | update | subscriptionId , resourceGroupName , applicationDefinitionName | Updates the managed application definition. | |
delete | delete | subscriptionId , resourceGroupName , applicationDefinitionName | Deletes the managed application definition. |
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 |
---|---|---|
applicationDefinitionName | string | The name of the managed application definition. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- get
- list_by_resource_group
- list_by_subscription
Gets the managed application definition.
SELECT
managedBy,
properties,
sku
FROM azure.managed_applications.application_definitions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND applicationDefinitionName = '{{ applicationDefinitionName }}' -- required
;
Lists the managed application definitions in a resource group.
SELECT
managedBy,
properties,
sku
FROM azure.managed_applications.application_definitions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;
Lists all the application definitions within a subscription.
SELECT
managedBy,
properties,
sku
FROM azure.managed_applications.application_definitions
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create_or_update
- Manifest
Creates or updates a managed application definition.
INSERT INTO azure.managed_applications.application_definitions (
data__properties,
data__managedBy,
data__sku,
subscriptionId,
resourceGroupName,
applicationDefinitionName
)
SELECT
'{{ properties }}' /* required */,
'{{ managedBy }}',
'{{ sku }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ applicationDefinitionName }}'
RETURNING
managedBy,
properties,
sku
;
# Description fields are for documentation purposes
- name: application_definitions
props:
- name: subscriptionId
value: string
description: Required parameter for the application_definitions resource.
- name: resourceGroupName
value: string
description: Required parameter for the application_definitions resource.
- name: applicationDefinitionName
value: string
description: Required parameter for the application_definitions resource.
- name: properties
value: object
description: |
The managed application definition properties.
- name: managedBy
value: string
description: |
ID of the resource that manages this resource.
- name: sku
value: object
description: |
The SKU of the resource.
UPDATE
examples
- update
Updates the managed application definition.
UPDATE azure.managed_applications.application_definitions
SET
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND applicationDefinitionName = '{{ applicationDefinitionName }}' --required
RETURNING
managedBy,
properties,
sku;
DELETE
examples
- delete
Deletes the managed application definition.
DELETE FROM azure.managed_applications.application_definitions
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND applicationDefinitionName = '{{ applicationDefinitionName }}' --required
;