IWithNetworkSecurityGroup.WithExistingNetworkSecurityGroup Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.