IWithNetworkSecurityGroup.WithExistingNetworkSecurityGroupId(String) Method

Definition

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

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

Parameters

networkSecurityGroupId
System.String

The network security group to associate.

Returns

IWithCreate

Applies to