Skip to main content

user_subscriptions

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

Overview

Nameuser_subscriptions
TypeResource
Idazure.api_management.user_subscriptions

Fields

NameDatatypeDescription
allow_tracingtextfield from the properties object
created_datetextfield from the properties object
display_nametextfield from the properties object
end_datetextfield from the properties object
expiration_datetextfield from the properties object
notification_datetextfield from the properties object
owner_idtextfield from the properties object
primary_keytextfield from the properties object
resourceGroupNametextfield from the properties object
scopetextfield from the properties object
secondary_keytextfield from the properties object
serviceNametextfield from the properties object
sidtextfield from the properties object
start_datetextfield from the properties object
statetextfield from the properties object
state_commenttextfield from the properties object
subscriptionIdtextfield from the properties object
userIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, serviceName, sid, subscriptionId, userIdGets the specified Subscription entity associated with a particular user.
listSELECTresourceGroupName, serviceName, subscriptionId, userIdLists the collection of subscriptions of the specified user.

SELECT examples

Lists the collection of subscriptions of the specified user.

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 }}';