gallery_application_versions
Creates, updates, deletes, gets or lists a gallery_application_versions
resource.
Overview
Name | gallery_application_versions |
Type | Resource |
Id | azure.compute.gallery_application_versions |
Fields
- vw_gallery_application_versions
- gallery_application_versions
Name | Datatype | Description |
---|---|---|
id | text | Resource Id |
name | text | Resource name |
galleryApplicationName | text | field from the properties object |
galleryApplicationVersionName | text | field from the properties object |
galleryName | text | field from the properties object |
location | text | Resource location |
provisioning_state | text | field from the properties object |
publishing_profile | text | field from the properties object |
replication_status | text | field from the properties object |
resourceGroupName | text | field from the properties object |
safety_profile | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags |
type | text | Resource type |
Name | Datatype | Description |
---|---|---|
id | string | Resource Id |
name | string | Resource name |
location | string | Resource location |
properties | object | Describes the properties of a gallery image version. |
tags | object | Resource tags |
type | string | Resource type |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | galleryApplicationName, galleryApplicationVersionName, galleryName, resourceGroupName, subscriptionId | Retrieves information about a gallery Application Version. |
list_by_gallery_application | SELECT | galleryApplicationName, galleryName, resourceGroupName, subscriptionId | List gallery Application Versions in a gallery Application Definition. |
create_or_update | INSERT | galleryApplicationName, galleryApplicationVersionName, galleryName, resourceGroupName, subscriptionId | Create or update a gallery Application Version. |
delete | DELETE | galleryApplicationName, galleryApplicationVersionName, galleryName, resourceGroupName, subscriptionId | Delete a gallery Application Version. |
update | UPDATE | galleryApplicationName, galleryApplicationVersionName, galleryName, resourceGroupName, subscriptionId | Update a gallery Application Version. |
SELECT
examples
List gallery Application Versions in a gallery Application Definition.
- vw_gallery_application_versions
- gallery_application_versions
SELECT
id,
name,
galleryApplicationName,
galleryApplicationVersionName,
galleryName,
location,
provisioning_state,
publishing_profile,
replication_status,
resourceGroupName,
safety_profile,
subscriptionId,
tags,
type
FROM azure.compute.vw_gallery_application_versions
WHERE galleryApplicationName = '{{ galleryApplicationName }}'
AND galleryName = '{{ galleryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure.compute.gallery_application_versions
WHERE galleryApplicationName = '{{ galleryApplicationName }}'
AND galleryName = '{{ galleryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new gallery_application_versions
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.compute.gallery_application_versions (
galleryApplicationName,
galleryApplicationVersionName,
galleryName,
resourceGroupName,
subscriptionId,
properties,
location,
tags
)
SELECT
'{{ galleryApplicationName }}',
'{{ galleryApplicationVersionName }}',
'{{ galleryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ location }}',
'{{ tags }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: publishingProfile
value:
- name: source
value:
- name: mediaLink
value: string
- name: defaultConfigurationLink
value: string
- name: manageActions
value:
- name: install
value: string
- name: remove
value: string
- name: update
value: string
- name: settings
value:
- name: packageFileName
value: string
- name: configFileName
value: string
- name: advancedSettings
value: object
- name: enableHealthCheck
value: boolean
- name: customActions
value:
- - name: name
value: string
- name: script
value: string
- name: description
value: string
- name: parameters
value:
- - name: name
value: string
- name: required
value: boolean
- name: type
value: string
- name: defaultValue
value: string
- name: description
value: string
- name: targetRegions
value:
- - name: name
value: string
- name: regionalReplicaCount
value: integer
- name: storageAccountType
value: string
- name: encryption
value:
- name: osDiskImage
value:
- name: securityProfile
value:
- name: confidentialVMEncryptionType
value: string
- name: secureVMDiskEncryptionSetId
value: string
- name: diskEncryptionSetId
value: string
- name: dataDiskImages
value:
- - name: lun
value: integer
- name: diskEncryptionSetId
value: string
- name: excludeFromLatest
value: boolean
- name: replicaCount
value: integer
- name: excludeFromLatest
value: boolean
- name: publishedDate
value: string
- name: endOfLifeDate
value: string
- name: storageAccountType
value: string
- name: replicationMode
value: string
- name: targetExtendedLocations
value:
- - name: name
value: string
- name: extendedLocation
value:
- name: name
value: string
- name: type
value: []
- name: extendedLocationReplicaCount
value: integer
- name: storageAccountType
value: string
- name: safetyProfile
value:
- name: allowDeletionOfReplicatedLocations
value: boolean
- name: provisioningState
value: []
- name: replicationStatus
value:
- name: aggregatedState
value: string
- name: summary
value:
- - name: region
value: string
- name: state
value: string
- name: details
value: string
- name: progress
value: integer
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: location
value: string
- name: tags
value: object
UPDATE
example
Updates a gallery_application_versions
resource.
/*+ update */
UPDATE azure.compute.gallery_application_versions
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
galleryApplicationName = '{{ galleryApplicationName }}'
AND galleryApplicationVersionName = '{{ galleryApplicationVersionName }}'
AND galleryName = '{{ galleryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified gallery_application_versions
resource.
/*+ delete */
DELETE FROM azure.compute.gallery_application_versions
WHERE galleryApplicationName = '{{ galleryApplicationName }}'
AND galleryApplicationVersionName = '{{ galleryApplicationVersionName }}'
AND galleryName = '{{ galleryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';