CmdID

CmdID / az / az relationship / az relationship dependency-of-by-service-group

az relationship dependency-of-by-service-group create

Create a DependencyOfRelationship Azure CLI extensions reference

1 example 4 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Create a dependency between Service Groups

az relationship dependency-of-by-service-group create --service-group-name sourceSG --name myDependency --target-id "/providers/Microsoft.Management/serviceGroups/targetSG"Identify
--service-group-nameThe name of the service group.
--nameName of dependencyOf relationship.
--target-idThe relationship target resource id.

Options

4 in the Azure CLI extensions reference
--nameName of dependencyOf relationship.
--service-group-nameThe name of the service group.
--target-idThe relationship target resource id.
--target-tenantThe relationship target tenant id.