application_types
Creates, updates, deletes, gets or lists an application_types resource.
Overview
| Name | application_types |
| Type | Resource |
| Id | azure.service_fabric_managed_clusters.application_types |
Fields
The following fields are returned by SELECT queries:
- get
- list
| 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. |
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. |
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, subscription_id | Get a Service Fabric application type name resource created or in the process of being created in the Service Fabric managed cluster resource. | |
list | select | resource_group_name, cluster_name, subscription_id | Gets all application type name resources created or in the process of being created in the Service Fabric managed cluster resource. | |
create_or_update | insert | resource_group_name, cluster_name, application_type_name, subscription_id | Create or update a Service Fabric managed application type name resource with the specified name. | |
update | update | resource_group_name, cluster_name, application_type_name, subscription_id | Updates the tags of an application type resource of a given managed cluster. | |
create_or_update | replace | resource_group_name, cluster_name, application_type_name, subscription_id | Create or update a Service Fabric managed application type name resource with the specified name. | |
delete | delete | resource_group_name, cluster_name, application_type_name, subscription_id | Delete a Service Fabric managed 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.
| 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 |
SELECT examples
- get
- list
Get a Service Fabric application type name resource created or in the process of being created in the Service Fabric managed cluster resource.
SELECT
id,
name,
location,
provisioningState,
systemData,
tags,
type
FROM azure.service_fabric_managed_clusters.application_types
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
;
Gets all application type name resources created or in the process of being created in the Service Fabric managed cluster resource.
SELECT
id,
name,
location,
provisioningState,
systemData,
tags,
type
FROM azure.service_fabric_managed_clusters.application_types
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cluster_name = '{{ cluster_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
INSERT examples
- create_or_update
- Manifest
Create or update a Service Fabric managed application type name resource with the specified name.
INSERT INTO azure.service_fabric_managed_clusters.application_types (
properties,
tags,
location,
resource_group_name,
cluster_name,
application_type_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ tags }}',
'{{ location }}',
'{{ resource_group_name }}',
'{{ cluster_name }}',
'{{ application_type_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type
;
# Description fields are for documentation purposes
- name: application_types
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the application_types resource.
- name: cluster_name
value: "{{ cluster_name }}"
description: Required parameter for the application_types resource.
- name: application_type_name
value: "{{ application_type_name }}"
description: Required parameter for the application_types resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the application_types resource.
- name: properties
description: |
The application type name properties.
value:
provisioningState: "{{ provisioningState }}"
- 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 resource of a given managed cluster.
UPDATE azure.service_fabric_managed_clusters.application_types
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 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 name resource with the specified name.
REPLACE azure.service_fabric_managed_clusters.application_types
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 subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;
DELETE examples
- delete
Delete a Service Fabric managed application type name resource with the specified name.
DELETE FROM azure.service_fabric_managed_clusters.application_types
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
;