marketplace_subscriptions
Creates, updates, deletes, gets or lists a marketplace_subscriptions
resource.
Overview
Name | marketplace_subscriptions |
Type | Resource |
Id | azure.ml_services.marketplace_subscriptions |
Fields
- vw_marketplace_subscriptions
- marketplace_subscriptions
Name | Datatype | Description |
---|---|---|
name | text | field from the properties object |
marketplace_plan | text | field from the properties object |
marketplace_subscription_status | text | field from the properties object |
model_id | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
workspaceName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | name, resourceGroupName, subscriptionId, workspaceName | |
list | SELECT | resourceGroupName, subscriptionId, workspaceName | |
create_or_update | INSERT | name, resourceGroupName, subscriptionId, workspaceName, data__properties | |
delete | DELETE | name, resourceGroupName, subscriptionId, workspaceName |
SELECT
examples
- vw_marketplace_subscriptions
- marketplace_subscriptions
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 }}';
SELECT
properties
FROM azure.ml_services.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.ml_services.marketplace_subscriptions (
name,
resourceGroupName,
subscriptionId,
workspaceName,
data__properties,
properties
)
SELECT
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: marketplacePlan
value:
- name: offerId
value: string
- name: planId
value: string
- name: publisherId
value: string
- name: marketplaceSubscriptionStatus
value: []
- name: modelId
value: string
- name: provisioningState
value: []
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 }}';