Skip to main content

application_types

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

Overview

Nameapplication_types
TypeResource
Idazure.service_fabric.application_types

Fields

The following fields are returned by SELECT queries:

The operation completed successfully.

NameDatatypeDescription
idstringAzure resource identifier.
namestringAzure resource name.
etagstringAzure resource etag.
locationstringIt will be deprecated in New API, resource location depends on the parent resource.
propertiesobjectThe application type name properties
systemDataobjectMetadata pertaining to creation and last modification of the resource.
tagsobjectAzure resource tags.
typestringAzure resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, clusterName, applicationTypeNameapi-versionGet a Service Fabric application type name resource created or in the process of being created in the Service Fabric cluster resource.
listselectsubscriptionId, resourceGroupName, clusterNameapi-versionGets all application type name resources created or in the process of being created in the Service Fabric cluster resource.
create_or_updateinsertsubscriptionId, resourceGroupName, clusterName, applicationTypeNameapi-versionCreate or update a Service Fabric application type name resource with the specified name.
deletedeletesubscriptionId, resourceGroupName, clusterName, applicationTypeNameapi-versionDelete a Service Fabric application type name 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
applicationTypeNamestringThe name of the application type name resource.
clusterNamestringThe name of the cluster resource.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstringThe customer subscription identifier.
api-versionstringThe version of the Service Fabric resource provider API. This is a required parameter and it's value must be "2021-06-01" for this specification.

SELECT examples

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

SELECT
id,
name,
etag,
location,
properties,
systemData,
tags,
type
FROM azure.service_fabric.application_types
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
AND applicationTypeName = '{{ applicationTypeName }}' -- required
AND api-version = '{{ api-version }}'
;

INSERT examples

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

INSERT INTO azure.service_fabric.application_types (
data__properties,
data__location,
data__tags,
subscriptionId,
resourceGroupName,
clusterName,
applicationTypeName,
api-version
)
SELECT
'{{ properties }}',
'{{ location }}',
'{{ tags }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ clusterName }}',
'{{ applicationTypeName }}',
'{{ api-version }}'
RETURNING
id,
name,
etag,
location,
properties,
systemData,
tags,
type
;

DELETE examples

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

DELETE FROM azure.service_fabric.application_types
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND clusterName = '{{ clusterName }}' --required
AND applicationTypeName = '{{ applicationTypeName }}' --required
AND api-version = '{{ api-version }}'
;