marketplace_gallery_images
Creates, updates, deletes, gets or lists a marketplace_gallery_images
resource.
Overview
Name | marketplace_gallery_images |
Type | Resource |
Id | azure_stack.azure_stack_hci.marketplace_gallery_images |
Fields
- vw_marketplace_gallery_images
- marketplace_gallery_images
Name | Datatype | Description |
---|---|---|
cloud_init_data_source | text | field from the properties object |
container_id | text | field from the properties object |
extended_location | text | field from the properties object |
hyper_v_generation | text | field from the properties object |
identifier | text | field from the properties object |
location | text | The geo-location where the resource lives |
marketplaceGalleryImageName | text | field from the properties object |
os_type | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
status | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
version | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
extendedLocation | object | The complex type of the extended location. |
location | string | The geo-location where the resource lives |
properties | object | Properties under the marketplace gallery image resource |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | marketplaceGalleryImageName, resourceGroupName, subscriptionId | Gets a marketplace gallery image |
list | SELECT | resourceGroupName, subscriptionId | Lists all of the marketplace gallery images in the specified resource group. Use the nextLink property in the response to get the next page of marketplace gallery images. |
list_all | SELECT | subscriptionId | Lists all of the marketplace gallery images in the specified subscription. Use the nextLink property in the response to get the next page of marketplace gallery images. |
create_or_update | INSERT | marketplaceGalleryImageName, resourceGroupName, subscriptionId | The operation to create or update a marketplace gallery image. Please note some properties can be set only during marketplace gallery image creation. |
delete | DELETE | marketplaceGalleryImageName, resourceGroupName, subscriptionId | The operation to delete a marketplace gallery image. |
update | UPDATE | marketplaceGalleryImageName, resourceGroupName, subscriptionId | The operation to update a marketplace gallery image. |
SELECT
examples
Lists all of the marketplace gallery images in the specified subscription. Use the nextLink property in the response to get the next page of marketplace gallery images.
- vw_marketplace_gallery_images
- marketplace_gallery_images
SELECT
cloud_init_data_source,
container_id,
extended_location,
hyper_v_generation,
identifier,
location,
marketplaceGalleryImageName,
os_type,
provisioning_state,
resourceGroupName,
status,
subscriptionId,
tags,
version
FROM azure_stack.azure_stack_hci.vw_marketplace_gallery_images
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
extendedLocation,
location,
properties,
tags
FROM azure_stack.azure_stack_hci.marketplace_gallery_images
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new marketplace_gallery_images
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_stack.azure_stack_hci.marketplace_gallery_images (
marketplaceGalleryImageName,
resourceGroupName,
subscriptionId,
properties,
extendedLocation,
tags,
location
)
SELECT
'{{ marketplaceGalleryImageName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ extendedLocation }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: containerId
value: string
- name: osType
value: string
- name: cloudInitDataSource
value: string
- name: hyperVGeneration
value: string
- name: identifier
value:
- name: publisher
value: string
- name: offer
value: string
- name: sku
value: string
- name: version
value:
- name: name
value: string
- name: properties
value:
- name: storageProfile
value:
- name: osDiskImage
value:
- name: sizeInMB
value: integer
- name: provisioningState
value: string
- name: status
value:
- name: errorCode
value: string
- name: errorMessage
value: string
- name: provisioningStatus
value:
- name: operationId
value: string
- name: status
value: string
- name: downloadStatus
value:
- name: downloadSizeInMB
value: integer
- name: progressPercentage
value: integer
- name: extendedLocation
value:
- name: name
value: string
- name: type
value: []
- name: tags
value: object
- name: location
value: string
UPDATE
example
Updates a marketplace_gallery_images
resource.
/*+ update */
UPDATE azure_stack.azure_stack_hci.marketplace_gallery_images
SET
tags = '{{ tags }}'
WHERE
marketplaceGalleryImageName = '{{ marketplaceGalleryImageName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified marketplace_gallery_images
resource.
/*+ delete */
DELETE FROM azure_stack.azure_stack_hci.marketplace_gallery_images
WHERE marketplaceGalleryImageName = '{{ marketplaceGalleryImageName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';