user_subscriptions
Creates, updates, deletes, gets or lists a user_subscriptions
resource.
Overview
Name | user_subscriptions |
Type | Resource |
Id | azure.api_management.user_subscriptions |
Fields
- vw_user_subscriptions
- user_subscriptions
Name | Datatype | Description |
---|---|---|
allow_tracing | text | field from the properties object |
created_date | text | field from the properties object |
display_name | text | field from the properties object |
end_date | text | field from the properties object |
expiration_date | text | field from the properties object |
notification_date | text | field from the properties object |
owner_id | text | field from the properties object |
primary_key | text | field from the properties object |
resourceGroupName | text | field from the properties object |
scope | text | field from the properties object |
secondary_key | text | field from the properties object |
serviceName | text | field from the properties object |
sid | text | field from the properties object |
start_date | text | field from the properties object |
state | text | field from the properties object |
state_comment | text | field from the properties object |
subscriptionId | text | field from the properties object |
userId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Subscription details. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, serviceName, sid, subscriptionId, userId | Gets the specified Subscription entity associated with a particular user. |
list | SELECT | resourceGroupName, serviceName, subscriptionId, userId | Lists the collection of subscriptions of the specified user. |
SELECT
examples
Lists the collection of subscriptions of the specified user.
- vw_user_subscriptions
- user_subscriptions
SELECT
allow_tracing,
created_date,
display_name,
end_date,
expiration_date,
notification_date,
owner_id,
primary_key,
resourceGroupName,
scope,
secondary_key,
serviceName,
sid,
start_date,
state,
state_comment,
subscriptionId,
userId
FROM azure.api_management.vw_user_subscriptions
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND userId = '{{ userId }}';
SELECT
properties
FROM azure.api_management.user_subscriptions
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND userId = '{{ userId }}';