Skip to main content

applications

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

Overview

Nameapplications
TypeResource
Idazure.managed_applications.applications

Fields

NameDatatypeDescription
applicationIdtextfield from the properties object
applicationNametextfield from the properties object
application_definition_idtextfield from the properties object
artifactstextfield from the properties object
authorizationstextfield from the properties object
billing_detailstextfield from the properties object
created_bytextfield from the properties object
customer_supporttextfield from the properties object
identitytextIdentity for the resource.
jit_access_policytextfield from the properties object
kindtextThe kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.
managed_bytextfield from the properties object
managed_resource_group_idtextfield from the properties object
management_modetextfield from the properties object
outputstextfield from the properties object
parameterstextfield from the properties object
plantextPlan for the managed application.
provisioning_statetextfield from the properties object
publisher_tenant_idtextfield from the properties object
resourceGroupNametextfield from the properties object
skutextSKU for the resource.
subscriptionIdtextfield from the properties object
support_urlstextfield from the properties object
updated_bytextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTapplicationName, resourceGroupName, subscriptionIdGets the managed application.
get_by_idSELECTapplicationIdGets the managed application.
list_allowed_upgrade_plansSELECTapplicationName, resourceGroupName, subscriptionIdList allowed upgrade plans for application.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists all the applications within a resource group.
list_by_subscriptionSELECTsubscriptionIdLists all the applications within a subscription.
create_or_updateINSERTapplicationName, resourceGroupName, subscriptionId, data__kind, data__propertiesCreates or updates a managed application.
deleteDELETEapplicationName, resourceGroupName, subscriptionIdDeletes the managed application.
delete_by_idDELETEapplicationIdDeletes the managed application.
updateUPDATEapplicationName, resourceGroupName, subscriptionIdUpdates an existing managed application.
refresh_permissionsEXECapplicationName, resourceGroupName, subscriptionIdRefresh Permissions for application.
update_by_idEXECapplicationIdUpdates an existing managed application.

SELECT examples

Gets the managed application.

SELECT
applicationId,
applicationName,
application_definition_id,
artifacts,
authorizations,
billing_details,
created_by,
customer_support,
identity,
jit_access_policy,
kind,
managed_by,
managed_resource_group_id,
management_mode,
outputs,
parameters,
plan,
provisioning_state,
publisher_tenant_id,
resourceGroupName,
sku,
subscriptionId,
support_urls,
updated_by
FROM azure.managed_applications.vw_applications
WHERE applicationId = '{{ applicationId }}';

INSERT example

Use the following StackQL query and manifest file to create a new applications resource.

/*+ create */
INSERT INTO azure.managed_applications.applications (
applicationName,
resourceGroupName,
subscriptionId,
data__kind,
data__properties,
properties,
plan,
kind,
identity,
managedBy,
sku
)
SELECT
'{{ applicationName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__kind }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ plan }}',
'{{ kind }}',
'{{ identity }}',
'{{ managedBy }}',
'{{ sku }}'
;

UPDATE example

Updates a applications resource.

/*+ update */
UPDATE azure.managed_applications.applications
SET
properties = '{{ properties }}',
plan = '{{ plan }}',
kind = '{{ kind }}',
identity = '{{ identity }}',
managedBy = '{{ managedBy }}',
sku = '{{ sku }}'
WHERE
applicationName = '{{ applicationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified applications resource.

/*+ delete */
DELETE FROM azure.managed_applications.applications
WHERE applicationId = '{{ applicationId }}';