application_type_versions
Creates, updates, deletes, gets or lists a application_type_versions
resource.
Overview
Name | application_type_versions |
Type | Resource |
Id | azure.service_fabric.application_type_versions |
Fields
- vw_application_type_versions
- application_type_versions
Name | Datatype | Description |
---|---|---|
id | text | Azure resource identifier. |
name | text | Azure resource name. |
app_package_url | text | field from the properties object |
applicationTypeName | text | field from the properties object |
clusterName | text | field from the properties object |
default_parameter_list | text | field from the properties object |
etag | text | Azure resource etag. |
location | text | It will be deprecated in New API, resource location depends on the parent resource. |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | Azure resource tags. |
type | text | Azure resource type. |
version | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Azure resource identifier. |
name | string | Azure resource name. |
etag | string | Azure resource etag. |
location | string | It will be deprecated in New API, resource location depends on the parent resource. |
properties | object | The properties of the application type version resource. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Azure resource tags. |
type | string | Azure resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | applicationTypeName, clusterName, resourceGroupName, subscriptionId, version | Get a Service Fabric application type version resource created or in the process of being created in the Service Fabric application type name resource. |
list | SELECT | applicationTypeName, clusterName, resourceGroupName, subscriptionId | Gets all application type version resources created or in the process of being created in the Service Fabric application type name resource. |
create_or_update | INSERT | applicationTypeName, clusterName, resourceGroupName, subscriptionId, version | Create or update a Service Fabric application type version resource with the specified name. |
delete | DELETE | applicationTypeName, clusterName, resourceGroupName, subscriptionId, version | Delete a Service Fabric application type version resource with the specified name. |
SELECT
examples
Gets all application type version resources created or in the process of being created in the Service Fabric application type name resource.
- vw_application_type_versions
- application_type_versions
SELECT
id,
name,
app_package_url,
applicationTypeName,
clusterName,
default_parameter_list,
etag,
location,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data,
tags,
type,
version
FROM azure.service_fabric.vw_application_type_versions
WHERE applicationTypeName = '{{ applicationTypeName }}'
AND clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
etag,
location,
properties,
systemData,
tags,
type
FROM azure.service_fabric.application_type_versions
WHERE applicationTypeName = '{{ applicationTypeName }}'
AND clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new application_type_versions
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.service_fabric.application_type_versions (
applicationTypeName,
clusterName,
resourceGroupName,
subscriptionId,
version,
properties,
location,
tags,
systemData
)
SELECT
'{{ applicationTypeName }}',
'{{ clusterName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ version }}',
'{{ properties }}',
'{{ location }}',
'{{ tags }}',
'{{ systemData }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: string
- name: appPackageUrl
value: string
- name: defaultParameterList
value: []
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: location
value: string
- name: tags
value: object
- name: etag
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
DELETE
example
Deletes the specified application_type_versions
resource.
/*+ delete */
DELETE FROM azure.service_fabric.application_type_versions
WHERE applicationTypeName = '{{ applicationTypeName }}'
AND clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND version = '{{ version }}';