다음을 통해 공유


IWithNetworkSecurityGroup.WithExistingNetworkSecurityGroup Method

Definition

Specifies the network security group for the virtual machine scale set.

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithApply WithExistingNetworkSecurityGroup (Microsoft.Azure.Management.Network.Fluent.INetworkSecurityGroup networkSecurityGroup);
abstract member WithExistingNetworkSecurityGroup : Microsoft.Azure.Management.Network.Fluent.INetworkSecurityGroup -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithApply
Public Function WithExistingNetworkSecurityGroup (networkSecurityGroup As INetworkSecurityGroup) As IWithApply

Parameters

networkSecurityGroup
INetworkSecurityGroup

The network security group to associate.

Returns

Applies to