Skip to main content

marketplace_subscriptions

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

Overview

Namemarketplace_subscriptions
TypeResource
Idazure.ml_services.marketplace_subscriptions

Fields

NameDatatypeDescription
nametextfield from the properties object
marketplace_plantextfield from the properties object
marketplace_subscription_statustextfield from the properties object
model_idtextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTname, resourceGroupName, subscriptionId, workspaceName
listSELECTresourceGroupName, subscriptionId, workspaceName
create_or_updateINSERTname, resourceGroupName, subscriptionId, workspaceName, data__properties
deleteDELETEname, resourceGroupName, subscriptionId, workspaceName

SELECT examples

SELECT
name,
marketplace_plan,
marketplace_subscription_status,
model_id,
provisioning_state,
resourceGroupName,
subscriptionId,
workspaceName
FROM azure.ml_services.vw_marketplace_subscriptions
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

INSERT example

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

/*+ create */
INSERT INTO azure.ml_services.marketplace_subscriptions (
name,
resourceGroupName,
subscriptionId,
workspaceName,
data__properties,
properties
)
SELECT
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified marketplace_subscriptions resource.

/*+ delete */
DELETE FROM azure.ml_services.marketplace_subscriptions
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';