共用方式為


IWithNetworkSecurityGroup.WithExistingNetworkSecurityGroupId(String) Method

Definition

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

public Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithApply WithExistingNetworkSecurityGroupId (string networkSecurityGroupId);
abstract member WithExistingNetworkSecurityGroupId : string -> Microsoft.Azure.Management.Compute.Fluent.VirtualMachineScaleSet.Update.IWithApply
Public Function WithExistingNetworkSecurityGroupId (networkSecurityGroupId As String) As IWithApply

Parameters

networkSecurityGroupId
String

The network security group to associate.

Returns

Applies to