Skip to main content

application_type_versions

Creates, updates, deletes, gets or lists an application_type_versions resource.

Overview

Nameapplication_type_versions
TypeResource
Idazure.service_fabric_managed_clusters.application_type_versions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
appPackageUrlstringThe URL to the application package. Required.
locationstringThe geo-location where the resource lives.
provisioningStatestringThe current deployment or provisioning state, which only appears in the response.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, cluster_name, application_type_name, version, subscription_idGet a Service Fabric managed application type version resource created or in the process of being created in the Service Fabric managed application type name resource.
list_by_application_typesselectresource_group_name, cluster_name, application_type_name, subscription_idGets all application type version resources created or in the process of being created in the Service Fabric managed application type name resource.
create_or_updateinsertresource_group_name, cluster_name, application_type_name, version, subscription_idCreate or update a Service Fabric managed application type version resource with the specified name.
updateupdateresource_group_name, cluster_name, application_type_name, version, subscription_idUpdates the tags of an application type version resource of a given managed cluster.
create_or_updatereplaceresource_group_name, cluster_name, application_type_name, version, subscription_idCreate or update a Service Fabric managed application type version resource with the specified name.
deletedeleteresource_group_name, cluster_name, application_type_name, version, subscription_idDelete a Service Fabric managed application type version resource with the specified name.

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
application_type_namestringThe name of the application type name resource. Required.
cluster_namestringThe name of the cluster resource. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
versionstringThe application type version. Required.

SELECT examples

Get a Service Fabric managed application type version resource created or in the process of being created in the Service Fabric managed application type name resource.

SELECT
id,
name,
appPackageUrl,
location,
provisioningState,
systemData,
tags,
type
FROM azure.service_fabric_managed_clusters.application_type_versions
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cluster_name = '{{ cluster_name }}' -- required
AND application_type_name = '{{ application_type_name }}' -- required
AND version = '{{ version }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Create or update a Service Fabric managed application type version resource with the specified name.

INSERT INTO azure.service_fabric_managed_clusters.application_type_versions (
properties,
tags,
location,
resource_group_name,
cluster_name,
application_type_name,
version,
subscription_id
)
SELECT
'{{ properties }}',
'{{ tags }}',
'{{ location }}',
'{{ resource_group_name }}',
'{{ cluster_name }}',
'{{ application_type_name }}',
'{{ version }}',
'{{ subscription_id }}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type
;

UPDATE examples

Updates the tags of an application type version resource of a given managed cluster.

UPDATE azure.service_fabric_managed_clusters.application_type_versions
SET
tags = '{{ tags }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND application_type_name = '{{ application_type_name }}' --required
AND version = '{{ version }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;

REPLACE examples

Create or update a Service Fabric managed application type version resource with the specified name.

REPLACE azure.service_fabric_managed_clusters.application_type_versions
SET
properties = '{{ properties }}',
tags = '{{ tags }}',
location = '{{ location }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND application_type_name = '{{ application_type_name }}' --required
AND version = '{{ version }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;

DELETE examples

Delete a Service Fabric managed application type version resource with the specified name.

DELETE FROM azure.service_fabric_managed_clusters.application_type_versions
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND cluster_name = '{{ cluster_name }}' --required
AND application_type_name = '{{ application_type_name }}' --required
AND version = '{{ version }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;