Editar

Compartilhar via


Update-AzSynapseManagedVirtualNetworkConfig

Updates managed virtual network configuration to workspace.

Syntax

Update-AzSynapseManagedVirtualNetworkConfig
      -WorkspaceObject <PSSynapseWorkspace>
      [-PreventDataExfiltration <Boolean>]
      [-AllowedAadTenantIdsForLinking <String[]>]
      [-DefaultProfile <IAzureContextContainer>]
      [<CommonParameters>]

Description

The Update-AzSynapseManagedVirtualNetworkConfig cmdlet updates managed virtual network configuration to workspace.

Examples

Example 1

$ws = Get-AzSynapseWorkspace -ResourceGroupName ContosoResourceGroup -WorkspaceName ContosoWorkspace 
$ws = $ws | Update-AzSynapseManagedVirtualNetworkConfig -AllowedAadTenantIdsForLinking 00001111-aaaa-2222-bbbb-3333cccc4444 
$ws | Update-AzSynapseWorkspace

The first command retrieves a workspace object. The second command updates the allowed AAD tenant IDs. The third command updates the workspace.

Parameters

-AllowedAadTenantIdsForLinking

The allowed AAD tenant IDs for linking.

Type:String[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PreventDataExfiltration

Indicates whether to prevent data exfiltration.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WorkspaceObject

workspace input object, usually passed through the pipeline.

Type:PSSynapseWorkspace
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

PSSynapseWorkspace

Outputs

PSSynapseWorkspace