共用方式為


IWithRule.DefineRule(String) Method

Definition

Begins the definition of a new security rule to be added to this network security group.

public Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.UpdateDefinition.IBlank<Microsoft.Azure.Management.Network.Fluent.NetworkSecurityGroup.Update.IUpdate> DefineRule (string name);
abstract member DefineRule : string -> Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.UpdateDefinition.IBlank<Microsoft.Azure.Management.Network.Fluent.NetworkSecurityGroup.Update.IUpdate>
Public Function DefineRule (name As String) As IBlank(Of IUpdate)

Parameters

name
String

The name of the new security rule.

Returns

Applies to