az databricks workspace vnet-peering
Commands to manage databricks workspace vnet peering.
Commands
az databricks workspace vnet-peering create |
Create a vnet peering for a workspace. |
az databricks workspace vnet-peering delete |
Delete the vnet peering. |
az databricks workspace vnet-peering list |
List vnet peerings under a workspace. |
az databricks workspace vnet-peering show |
Show the vnet peering. |
az databricks workspace vnet-peering update |
Update the vnet peering. |
az databricks workspace vnet-peering wait |
Place the CLI in a waiting state until a condition of the Databricks workspace vnet peering is met. |
az databricks workspace vnet-peering create
Create a vnet peering for a workspace.
az databricks workspace vnet-peering create --name
--remote-vnet
--resource-group
--workspace-name
[--allow-forwarded-traffic {false, true}]
[--allow-gateway-transit {false, true}]
[--allow-virtual-network-access {false, true}]
[--no-wait]
[--use-remote-gateways {false, true}]
Examples
Create a vnet peering for a workspace
az databricks workspace vnet-peering create --resource-group MyResourceGroup --workspace-name MyWorkspace \
-n MyPeering --remote-vnet /subscriptions/000000-0000-0000/resourceGroups/MyRG/providers/Microsoft.Network/virtualNetworks/MyVNet
Required Parameters
The name of the vnet peering.
The remote virtual network name or Resource ID.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the workspace.
Optional Parameters
Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
If gateway links can be used in remote virtual networking to link to this virtual network.
Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
Do not wait for the long-running operation to finish.
If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
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 databricks workspace vnet-peering delete
Delete the vnet peering.
az databricks workspace vnet-peering delete --name
--resource-group
--workspace-name
[--no-wait]
Examples
Delete the vnet peering.
az databricks workspace vnet-peering delete --resource-group MyResourceGroup --workspace-name MyWorkspace -n MyPeering
Required Parameters
The name of the vnet peering.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the workspace.
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 databricks workspace vnet-peering list
List vnet peerings under a workspace.
az databricks workspace vnet-peering list --resource-group
--workspace-name
Examples
List vnet peerings under a workspace.
az databricks workspace vnet-peering list --resource-group MyResourceGroup --workspace-name MyWorkspace
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the workspace.
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 databricks workspace vnet-peering show
Show the vnet peering.
az databricks workspace vnet-peering show --name
--resource-group
--workspace-name
Examples
Show the vnet peering
az databricks workspace vnet-peering show --resource-group MyResourceGroup --workspace-name MyWorkspace -n MyPeering
Required Parameters
The name of the vnet peering.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the workspace.
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 databricks workspace vnet-peering update
Update the vnet peering.
az databricks workspace vnet-peering update --name
--resource-group
--workspace-name
[--allow-forwarded-traffic {false, true}]
[--allow-gateway-transit {false, true}]
[--allow-virtual-network-access {false, true}]
[--no-wait]
[--use-remote-gateways {false, true}]
Examples
Update the vnet peering (enable gateway transit and disable virtual network access).
az databricks workspace vnet-peering update --resource-group MyResourceGroup --workspace-name MyWorkspace \
-n MyPeering --allow-gateway-transit --allow-virtual-network-access false
Required Parameters
The name of the vnet peering.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the workspace.
Optional Parameters
Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network.
If gateway links can be used in remote virtual networking to link to this virtual network.
Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space.
Do not wait for the long-running operation to finish.
If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway.
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 databricks workspace vnet-peering wait
Place the CLI in a waiting state until a condition of the Databricks workspace vnet peering is met.
az databricks workspace vnet-peering wait --name
--resource-group
--workspace-name
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Examples
Pause executing next line of CLI script until the Databricks workspace vnet peering is successfully provisioned.
az databricks workspace vnet-peering wait --resource-group MyResourceGroup --workspace-name MyWorkspace \ --name MyPeering --created
Required Parameters
The name of the vnet peering.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the workspace.
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.