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.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.
defaultParameterListobjectList of application type parameters that can be overridden when creating or updating the application.
etagstringAzure resource etag.
locationstringIt will be deprecated in New API, resource location depends on the parent resource.
provisioningStatestringThe current deployment or provisioning state, which only appears in the response.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectAzure resource 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_idGets a Service Fabric application type version resource. Get a Service Fabric application type version resource created or in the process of being created in the Service Fabric application type name resource.
listselectresource_group_name, cluster_name, application_type_name, subscription_idGets the list of application type version resources created in the specified Service Fabric application type name resource. Gets all application type version resources created or in the process of being created in the Service Fabric application type name resource.
create_or_updateinsertresource_group_name, cluster_name, application_type_name, version, subscription_idCreates or updates a Service Fabric application type version resource. Create or update a Service Fabric application type version resource with the specified name.
create_or_updatereplaceresource_group_name, cluster_name, application_type_name, version, subscription_idCreates or updates a Service Fabric application type version resource. Create or update a Service Fabric application type version resource with the specified name.
deletedeleteresource_group_name, cluster_name, application_type_name, version, subscription_idDeletes a Service Fabric application type version resource. Delete a Service Fabric 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

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

SELECT
id,
name,
appPackageUrl,
defaultParameterList,
etag,
location,
provisioningState,
systemData,
tags,
type
FROM azure.service_fabric.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

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

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

REPLACE examples

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

REPLACE azure.service_fabric.application_type_versions
SET
properties = '{{ properties }}',
location = '{{ location }}',
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,
etag,
location,
properties,
systemData,
tags,
type;

DELETE examples

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

DELETE FROM azure.service_fabric.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
;