共用方式為


IWithRule.DefineRule(String) Method

Definition

Starts the definition of a new security rule.

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

Parameters

name
String

The name for the new security rule.

Returns

Applies to