application_accelerators
Creates, updates, deletes, gets or lists an application_accelerators resource.
Overview
| Name | application_accelerators |
| Type | Resource |
| Id | azure_extras.app_platform.application_accelerators |
Fields
The following fields are returned by SELECT queries:
- get
- list
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource Id for the resource. |
name | string | The name of the resource. |
components | array | Collection of components belong to application accelerator. |
provisioningState | string | State of the application accelerator. Known values are: "Creating", "Updating", "Succeeded", "Failed", "Deleting", and "Canceled". |
sku | object | Sku of the application accelerator resource. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the resource. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource Id for the resource. |
name | string | The name of the resource. |
components | array | Collection of components belong to application accelerator. |
provisioningState | string | State of the application accelerator. Known values are: "Creating", "Updating", "Succeeded", "Failed", "Deleting", and "Canceled". |
sku | object | Sku of the application accelerator resource. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
type | string | The type of the resource. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, service_name, application_accelerator_name, subscription_id | Get the application accelerator. | |
list | select | resource_group_name, service_name, subscription_id | Handle requests to list all application accelerator. | |
create_or_update | insert | resource_group_name, service_name, application_accelerator_name, subscription_id | Create or update the application accelerator. | |
create_or_update | replace | resource_group_name, service_name, application_accelerator_name, subscription_id | Create or update the application accelerator. | |
delete | delete | resource_group_name, service_name, application_accelerator_name, subscription_id | Delete the application accelerator. |
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_accelerator_name | string | The name of the application accelerator. Required. |
resource_group_name | string | The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required. |
service_name | string | The name of the Service resource. Required. |
subscription_id | string |
SELECT examples
- get
- list
Get the application accelerator.
SELECT
id,
name,
components,
provisioningState,
sku,
systemData,
type
FROM azure_extras.app_platform.application_accelerators
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND service_name = '{{ service_name }}' -- required
AND application_accelerator_name = '{{ application_accelerator_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
Handle requests to list all application accelerator.
SELECT
id,
name,
components,
provisioningState,
sku,
systemData,
type
FROM azure_extras.app_platform.application_accelerators
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND service_name = '{{ service_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;
INSERT examples
- create_or_update
- Manifest
Create or update the application accelerator.
INSERT INTO azure_extras.app_platform.application_accelerators (
properties,
sku,
resource_group_name,
service_name,
application_accelerator_name,
subscription_id
)
SELECT
'{{ properties }}',
'{{ sku }}',
'{{ resource_group_name }}',
'{{ service_name }}',
'{{ application_accelerator_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
sku,
systemData,
type
;
# Description fields are for documentation purposes
- name: application_accelerators
props:
- name: resource_group_name
value: "{{ resource_group_name }}"
description: Required parameter for the application_accelerators resource.
- name: service_name
value: "{{ service_name }}"
description: Required parameter for the application_accelerators resource.
- name: application_accelerator_name
value: "{{ application_accelerator_name }}"
description: Required parameter for the application_accelerators resource.
- name: subscription_id
value: "{{ subscription_id }}"
description: Required parameter for the application_accelerators resource.
- name: properties
description: |
Application accelerator properties payload.
value:
provisioningState: "{{ provisioningState }}"
components:
- name: "{{ name }}"
resourceRequests:
cpu: "{{ cpu }}"
memory: "{{ memory }}"
instanceCount: {{ instanceCount }}
instances: "{{ instances }}"
- name: sku
description: |
Sku of the application accelerator resource.
value:
name: "{{ name }}"
tier: "{{ tier }}"
capacity: {{ capacity }}
REPLACE examples
- create_or_update
Create or update the application accelerator.
REPLACE azure_extras.app_platform.application_accelerators
SET
properties = '{{ properties }}',
sku = '{{ sku }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND service_name = '{{ service_name }}' --required
AND application_accelerator_name = '{{ application_accelerator_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
sku,
systemData,
type;
DELETE examples
- delete
Delete the application accelerator.
DELETE FROM azure_extras.app_platform.application_accelerators
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND service_name = '{{ service_name }}' --required
AND application_accelerator_name = '{{ application_accelerator_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;