application_type_versions
Creates, updates, deletes, gets or lists an application_type_versions resource.
Overview
| Name | application_type_versions |
| Type | Resource |
| Id | azure.service_fabric_managed_clusters.application_type_versions |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_application_types
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
appPackageUrl | string | The URL to the application package. Required. |
location | string | The geo-location where the resource lives. |
provisioningState | string | The current deployment or provisioning state, which only appears in the response. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
appPackageUrl | string | The URL to the application package. Required. |
location | string | The geo-location where the resource lives. |
provisioningState | string | The current deployment or provisioning state, which only appears in the response. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
tags | object | Resource tags. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, cluster_name, application_type_name, version, subscription_id | 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. | |
list_by_application_types | select | resource_group_name, cluster_name, application_type_name, subscription_id | Gets all application type version resources created or in the process of being created in the Service Fabric managed application type name resource. | |
create_or_update | insert | resource_group_name, cluster_name, application_type_name, version, subscription_id | Create or update a Service Fabric managed application type version resource with the specified name. | |
update | update | resource_group_name, cluster_name, application_type_name, version, subscription_id | Updates the tags of an application type version resource of a given managed cluster. | |
create_or_update | replace | resource_group_name, cluster_name, application_type_name, version, subscription_id | Create or update a Service Fabric managed application type version resource with the specified name. | |
delete | delete | resource_group_name, cluster_name, application_type_name, version, subscription_id | Delete 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.
| Name | Datatype | Description |
|---|---|---|
application_type_name | string | The name of the application type name resource. Required. |
cluster_name | string | The name of the cluster resource. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string | |
version | string | The application type version. Required. |
SELECT examples
- get
- list_by_application_types
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
;
Gets all application type version resources 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 subscription_id = '{{ subscription_id }}' -- required
;
INSERT examples
- create_or_update
- Manifest
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
;
# Description fields are for documentation purposes
- name: application_type_versions
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the application_type_versions resource.
- name: cluster_name
value: "{{ cluster_name }}"
description: Required parameter for the application_type_versions resource.
- name: application_type_name
value: "{{ application_type_name }}"
description: Required parameter for the application_type_versions resource.
- name: version
value: "{{ version }}"
description: Required parameter for the application_type_versions resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the application_type_versions resource.
- name: properties
description: |
The properties of the application type version resource.
value:
provisioningState: "{{ provisioningState }}"
appPackageUrl: "{{ appPackageUrl }}"
- name: tags
value: "{{ tags }}"
description: |
Resource tags.
- name: location
value: "{{ location }}"
description: |
The geo-location where the resource lives.
UPDATE examples
- update
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
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
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
;