IWithNetworkSecurityGroup.WithNewNetworkSecurityGroup Method

Definition

Create a new network security group to associate with network interface, based on the provided definition.

public Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Update.IUpdate WithNewNetworkSecurityGroup (Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.INetworkSecurityGroup> creatable);
abstract member WithNewNetworkSecurityGroup : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Network.Fluent.INetworkSecurityGroup> -> Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Update.IUpdate
Public Function WithNewNetworkSecurityGroup (creatable As ICreatable(Of INetworkSecurityGroup)) As IUpdate

Parameters

creatable
ICreatable<INetworkSecurityGroup>

A creatable definition for a new network security group.

Returns

Applies to