Skip to main content

provider_share_subscriptions

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

Overview

Nameprovider_share_subscriptions
TypeResource
Idazure.data_share.provider_share_subscriptions

Fields

NameDatatypeDescription
idtextThe resource id of the azure resource
nametextName of the azure resource
accountNametextfield from the properties object
consumer_emailtextfield from the properties object
consumer_nametextfield from the properties object
consumer_tenant_nametextfield from the properties object
created_attextfield from the properties object
expiration_datetextfield from the properties object
providerShareSubscriptionIdtextfield from the properties object
provider_emailtextfield from the properties object
provider_nametextfield from the properties object
resourceGroupNametextfield from the properties object
shareNametextfield from the properties object
share_subscription_object_idtextfield from the properties object
share_subscription_statustextfield from the properties object
shared_attextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextType of the azure resource

Methods

NameAccessible byRequired ParamsDescription
get_by_shareSELECTaccountName, providerShareSubscriptionId, resourceGroupName, shareName, subscriptionIdGet share subscription in a provider share
list_by_shareSELECTaccountName, resourceGroupName, shareName, subscriptionIdList share subscriptions in a provider share
adjustEXECaccountName, providerShareSubscriptionId, resourceGroupName, shareName, subscriptionIdAdjust a share subscription's expiration date in a provider share
reinstateEXECaccountName, providerShareSubscriptionId, resourceGroupName, shareName, subscriptionIdReinstate share subscription in a provider share
revokeEXECaccountName, providerShareSubscriptionId, resourceGroupName, shareName, subscriptionIdRevoke share subscription in a provider share

SELECT examples

List share subscriptions in a provider share

SELECT
id,
name,
accountName,
consumer_email,
consumer_name,
consumer_tenant_name,
created_at,
expiration_date,
providerShareSubscriptionId,
provider_email,
provider_name,
resourceGroupName,
shareName,
share_subscription_object_id,
share_subscription_status,
shared_at,
subscriptionId,
system_data,
type
FROM azure.data_share.vw_provider_share_subscriptions
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND shareName = '{{ shareName }}'
AND subscriptionId = '{{ subscriptionId }}';