Dela via


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.Definition.IWithCreate 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.Definition.IWithCreate
Public Function WithNewNetworkSecurityGroup (creatable As ICreatable(Of INetworkSecurityGroup)) As IWithCreate

Parameters

creatable
ICreatable<INetworkSecurityGroup>

A creatable definition for a new network security group.

Returns

Applies to