SubnetResourceSettings.withNetworkSecurityGroup(NsgReference networkSecurityGroup) Method

Definition

Set the networkSecurityGroup property: Defines reference to NSG.

public SubnetResourceSettings withNetworkSecurityGroup(NsgReference networkSecurityGroup)

Parameters

networkSecurityGroup
NsgReference

the networkSecurityGroup value to set.

Returns

the SubnetResourceSettings object itself.

Applies to