applications
Creates, updates, deletes, gets or lists an applications
resource.
Overview
Name | applications |
Type | Resource |
Id | azure.service_fabric.applications |
Fields
The following fields are returned by SELECT
queries:
- get
- list
The operation completed successfully.
Name | Datatype | Description |
---|---|---|
id | string | Azure resource identifier. |
name | string | Azure resource name. |
etag | string | Azure resource etag. |
identity | object | Describes the managed identities for an Azure resource. |
location | string | It will be deprecated in New API, resource location depends on the parent resource. |
properties | object | The application resource properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Azure resource tags. |
type | string | Azure resource type. |
The operation completed successfully.
Name | Datatype | Description |
---|---|---|
id | string | Azure resource identifier. |
name | string | Azure resource name. |
etag | string | Azure resource etag. |
identity | object | Describes the managed identities for an Azure resource. |
location | string | It will be deprecated in New API, resource location depends on the parent resource. |
properties | object | The application resource properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Azure resource tags. |
type | string | Azure resource type. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , clusterName , applicationName | api-version | Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource. |
list | select | subscriptionId , resourceGroupName , clusterName | api-version | Gets all application resources created or in the process of being created in the Service Fabric cluster resource. |
create_or_update | insert | subscriptionId , resourceGroupName , clusterName , applicationName | api-version | Create or update a Service Fabric application resource with the specified name. |
update | update | subscriptionId , resourceGroupName , clusterName , applicationName | api-version | Update a Service Fabric application resource with the specified name. |
delete | delete | subscriptionId , resourceGroupName , clusterName , applicationName | api-version | Delete a Service Fabric application 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 |
---|---|---|
applicationName | string | The name of the application resource. |
clusterName | string | The name of the cluster resource. |
resourceGroupName | string | The name of the resource group. |
subscriptionId | string | The customer subscription identifier. |
api-version | string | The 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
- list
Get a Service Fabric application resource created or in the process of being created in the Service Fabric cluster resource.
SELECT
id,
name,
etag,
identity,
location,
properties,
systemData,
tags,
type
FROM azure.service_fabric.applications
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
AND applicationName = '{{ applicationName }}' -- required
AND api-version = '{{ api-version }}'
;
Gets all application resources created or in the process of being created in the Service Fabric cluster resource.
SELECT
id,
name,
etag,
identity,
location,
properties,
systemData,
tags,
type
FROM azure.service_fabric.applications
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND clusterName = '{{ clusterName }}' -- required
AND api-version = '{{ api-version }}'
;
INSERT
examples
- create_or_update
- Manifest
Create or update a Service Fabric application resource with the specified name.
INSERT INTO azure.service_fabric.applications (
data__identity,
data__properties,
data__location,
data__tags,
subscriptionId,
resourceGroupName,
clusterName,
applicationName,
api-version
)
SELECT
'{{ identity }}',
'{{ properties }}',
'{{ location }}',
'{{ tags }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ clusterName }}',
'{{ applicationName }}',
'{{ api-version }}'
RETURNING
id,
name,
etag,
identity,
location,
properties,
systemData,
tags,
type
;
# Description fields are for documentation purposes
- name: applications
props:
- name: subscriptionId
value: string
description: Required parameter for the applications resource.
- name: resourceGroupName
value: string
description: Required parameter for the applications resource.
- name: clusterName
value: string
description: Required parameter for the applications resource.
- name: applicationName
value: string
description: Required parameter for the applications resource.
- name: identity
value: object
description: |
Describes the managed identities for an Azure resource.
- name: properties
value: object
description: |
The application resource properties.
- name: location
value: string
description: |
It will be deprecated in New API, resource location depends on the parent resource.
- name: tags
value: object
description: |
Azure resource tags.
- name: api-version
value: string
description: The 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.
UPDATE
examples
- update
Update a Service Fabric application resource with the specified name.
UPDATE azure.service_fabric.applications
SET
data__properties = '{{ properties }}',
data__location = '{{ location }}',
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND clusterName = '{{ clusterName }}' --required
AND applicationName = '{{ applicationName }}' --required
AND api-version = '{{ api-version}}'
RETURNING
id,
name,
etag,
identity,
location,
properties,
systemData,
tags,
type;
DELETE
examples
- delete
Delete a Service Fabric application resource with the specified name.
DELETE FROM azure.service_fabric.applications
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND clusterName = '{{ clusterName }}' --required
AND applicationName = '{{ applicationName }}' --required
AND api-version = '{{ api-version }}'
;