Skip to main content

downloaded_products

Creates, updates, deletes, gets or lists a downloaded_products resource.

Overview

Namedownloaded_products
TypeResource
Idazure_stack.azure_bridge_admin.downloaded_products

Fields

NameDatatypeDescription
idtextURI of the resource.
nametextName of the resource.
descriptiontextfield from the properties object
activationNametextfield from the properties object
billing_part_numbertextfield from the properties object
compatibilitytextfield from the properties object
display_nametextfield from the properties object
gallery_item_identitytextfield from the properties object
gallery_package_blob_sas_uritextfield from the properties object
icon_uristextfield from the properties object
legal_termstextfield from the properties object
linkstextfield from the properties object
locationtextLocation of the resource
offertextfield from the properties object
offer_versiontextfield from the properties object
payload_lengthtextfield from the properties object
privacy_policytextfield from the properties object
productNametextfield from the properties object
product_details_propertiestextfield from the properties object
product_kindtextfield from the properties object
product_propertiestextfield from the properties object
provisioning_statetextfield from the properties object
publisher_display_nametextfield from the properties object
publisher_identifiertextfield from the properties object
resourceGroupNametextfield from the properties object
skutextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextList of key value pairs.
typetextType of resource.
vm_extension_typetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTactivationName, productName, resourceGroupName, subscriptionIdGet a downloaded product.
listSELECTactivationName, resourceGroupName, subscriptionIdGet a list of downloaded products.
createINSERTactivationName, productName, resourceGroupName, subscriptionIdCreates a downloaded product.
deleteDELETEactivationName, productName, resourceGroupName, subscriptionIdDelete a downloaded product.

SELECT examples

Get a list of downloaded products.

SELECT
id,
name,
description,
activationName,
billing_part_number,
compatibility,
display_name,
gallery_item_identity,
gallery_package_blob_sas_uri,
icon_uris,
legal_terms,
links,
location,
offer,
offer_version,
payload_length,
privacy_policy,
productName,
product_details_properties,
product_kind,
product_properties,
provisioning_state,
publisher_display_name,
publisher_identifier,
resourceGroupName,
sku,
subscriptionId,
tags,
type,
vm_extension_type
FROM azure_stack.azure_bridge_admin.vw_downloaded_products
WHERE activationName = '{{ activationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new downloaded_products resource.

/*+ create */
INSERT INTO azure_stack.azure_bridge_admin.downloaded_products (
activationName,
productName,
resourceGroupName,
subscriptionId,
properties,
id,
name,
type
)
SELECT
'{{ activationName }}',
'{{ productName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ id }}',
'{{ name }}',
'{{ type }}'
;

DELETE example

Deletes the specified downloaded_products resource.

/*+ delete */
DELETE FROM azure_stack.azure_bridge_admin.downloaded_products
WHERE activationName = '{{ activationName }}'
AND productName = '{{ productName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';