az datashare provider-share-subscription
Commands for providers to manage datashare share subscriptions.
Commands
az datashare provider-share-subscription list |
List share subscriptions in a provider share. |
az datashare provider-share-subscription reinstate |
Reinstate a share subscription in a provider share. |
az datashare provider-share-subscription revoke |
Revoke a share subscription in a provider share. |
az datashare provider-share-subscription show |
Show a share subscription in a provider share. |
az datashare provider-share-subscription wait |
Place the CLI in a waiting state until a condition of the datashare provider share subscription is met. |
az datashare provider-share-subscription list
List share subscriptions in a provider share.
az datashare provider-share-subscription list --account-name
--resource-group
--share-name
Examples
List share subscriptions
az datashare provider-share-subscription list --account-name MyAccount --resource-group MyResourceGroup --share-name MyShare
Required Parameters
The name of the share account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the share.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az datashare provider-share-subscription reinstate
Reinstate a share subscription in a provider share.
az datashare provider-share-subscription reinstate --account-name
--resource-group
--share-name
--share-subscription
Examples
Reinstate a share subscription
az datashare provider-share-subscription reinstate --account-name MyAccount --share-subscription 00000000-0000-0000-0000-000000000000 --resource-group MyResourceGroup --share-name MyShare
Required Parameters
The name of the share account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the share.
To locate share subscription.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az datashare provider-share-subscription revoke
Revoke a share subscription in a provider share.
az datashare provider-share-subscription revoke --account-name
--resource-group
--share-name
--share-subscription
[--no-wait]
Examples
Revoke a share subscription
az datashare provider-share-subscription revoke --account-name MyAccount --share-subscription 00000000-0000-0000-0000-000000000000 --resource-group MyResourceGroup --share-name MyShare
Required Parameters
The name of the share account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the share.
To locate share subscription.
Optional Parameters
Do not wait for the long-running operation to finish.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az datashare provider-share-subscription show
Show a share subscription in a provider share.
az datashare provider-share-subscription show --account-name
--resource-group
--share-name
--share-subscription
Examples
Show a share subscription
az datashare provider-share-subscription show --account-name MyAccount --share-subscription 00000000-0000-0000-0000-000000000000 --resource-group MyResourceGroup --share-name MyShare
Required Parameters
The name of the share account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the share.
To locate share subscription.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.
az datashare provider-share-subscription wait
Place the CLI in a waiting state until a condition of the datashare provider share subscription is met.
az datashare provider-share-subscription wait --account-name
--resource-group
--share-name
--share-subscription
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Examples
Pause executing next line of CLI script until the datashare provider share subscription is successfully provisioned.
az datashare provider-share-subscription wait --account-name MyAccount --share-subscription 00000000-0000-0000-0000-000000000000 --resource-group MyResourceGroup --share-name MyShare --created
Required Parameters
The name of the share account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the share.
To locate share subscription.
Optional Parameters
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
Polling interval in seconds.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Increase logging verbosity. Use --debug for full debug logs.