az managedservices definition
Manage the registration definitions in Azure.
Commands
Name | Description | Type | Status |
---|---|---|---|
az managedservices definition create |
Create a registration definition. |
Core | GA |
az managedservices definition delete |
Delete a registration definition. |
Core | GA |
az managedservices definition list |
List all the registration definitions under the default scope or under the subscription provided. |
Core | GA |
az managedservices definition show |
Show the registration definition details. |
Core | GA |
az managedservices definition wait |
Place the CLI in a waiting state until a condition is met. |
Core | GA |
az managedservices definition create
Create a registration definition.
az managedservices definition create --name
--principal-id
--role-definition-id
--tenant-id
[--definition-id]
[--description]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--plan-name]
[--plan-product]
[--plan-publisher]
[--plan-version]
Examples
Create a registration definition under the default subscription scope with the required parameters.
az managedservices definition create --name mydef --tenant-id dab3375b-6197-4a15-a44b-16c41faa91d7 --principal-id b6f6c88a-5b7a-455e-ba40-ce146d4d3671 --role-definition-id ccdd72a7-3385-48ef-bd42-f606fba81ae7
Required Parameters
Name of the registration definition.
The principal id.
The role definition id.
Id of the managedBy tenant.
Optional Parameters
Guid of the registration definition.
Description of the registration definition.
Do not wait for the long-running operation to finish.
The plan name.
The product code.
The publisher ID.
The plan's version.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az managedservices definition delete
Delete a registration definition.
az managedservices definition delete --definition
[--yes]
Examples
Delete the registration definition given its identifier under the default subscription scope.
az managedservices definition delete --definition af8772a0-fd9c-4ddc-8ad0-7d4b3913d7dd
Delete the registration definition given its fully qualified resource id.
az managedservices definition delete --definition /subscriptions/39033314-9b39-4c7b-84fd-0e26e55f15dc/providers/Microsoft.ManagedServices/registrationDefinitions/1d693e4f-9e79-433a-b3a2-afce1f8b61ec
Required Parameters
Guid of the registration definition.
Optional Parameters
Do not prompt for confirmation.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az managedservices definition list
List all the registration definitions under the default scope or under the subscription provided.
az managedservices definition list [--max-items]
[--next-token]
Examples
List all the registration definitions under the default subscription scope.
az managedservices definition list
Optional Parameters
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az managedservices definition show
Show the registration definition details.
az managedservices definition show --definition
Examples
Show the registration definition given its identifier under the default subscription scope.
az managedservices definition show --definition af8772a0-fd9c-4ddc-8ad0-7d4b3913d7dd
Show the registration definition given its fully qualified resource id.
az managedservices definition show --definition /subscriptions/39033314-9b39-4c7b-84fd-0e26e55f15dc/providers/Microsoft.ManagedServices/registrationDefinitions/1d693e4f-9e79-433a-b3a2-afce1f8b61ec
Required Parameters
Guid of the registration definition.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az managedservices definition wait
Place the CLI in a waiting state until a condition is met.
az managedservices definition wait --definition
--scope
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Required Parameters
Guid of the registration definition.
Scope of the resource.
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'.
Global Parameters
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.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI