你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

InboundSecurityRuleOperations interface

表示 InboundSecurityRuleOperations 的接口。

方法

beginCreateOrUpdate(string, string, string, InboundSecurityRule, InboundSecurityRuleCreateOrUpdateOptionalParams)

创建或更新指定的网络虚拟设备入站安全规则。

beginCreateOrUpdateAndWait(string, string, string, InboundSecurityRule, InboundSecurityRuleCreateOrUpdateOptionalParams)

创建或更新指定的网络虚拟设备入站安全规则。

get(string, string, string, InboundSecurityRuleGetOptionalParams)

检索可用的指定网络虚拟设备入站安全规则集合。

方法详细信息

beginCreateOrUpdate(string, string, string, InboundSecurityRule, InboundSecurityRuleCreateOrUpdateOptionalParams)

创建或更新指定的网络虚拟设备入站安全规则。

function beginCreateOrUpdate(resourceGroupName: string, networkVirtualApplianceName: string, ruleCollectionName: string, parameters: InboundSecurityRule, options?: InboundSecurityRuleCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<InboundSecurityRule>, InboundSecurityRule>>

参数

resourceGroupName

string

资源组的名称。

networkVirtualApplianceName

string

网络虚拟设备的名称。

ruleCollectionName

string

安全规则集合的名称。

parameters
InboundSecurityRule

为创建或更新网络虚拟设备入站安全规则操作提供的参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<InboundSecurityRule>, InboundSecurityRule>>

beginCreateOrUpdateAndWait(string, string, string, InboundSecurityRule, InboundSecurityRuleCreateOrUpdateOptionalParams)

创建或更新指定的网络虚拟设备入站安全规则。

function beginCreateOrUpdateAndWait(resourceGroupName: string, networkVirtualApplianceName: string, ruleCollectionName: string, parameters: InboundSecurityRule, options?: InboundSecurityRuleCreateOrUpdateOptionalParams): Promise<InboundSecurityRule>

参数

resourceGroupName

string

资源组的名称。

networkVirtualApplianceName

string

网络虚拟设备的名称。

ruleCollectionName

string

安全规则集合的名称。

parameters
InboundSecurityRule

为创建或更新网络虚拟设备入站安全规则操作提供的参数。

返回

get(string, string, string, InboundSecurityRuleGetOptionalParams)

检索可用的指定网络虚拟设备入站安全规则集合。

function get(resourceGroupName: string, networkVirtualApplianceName: string, ruleCollectionName: string, options?: InboundSecurityRuleGetOptionalParams): Promise<InboundSecurityRule>

参数

resourceGroupName

string

资源组的名称。

networkVirtualApplianceName

string

网络虚拟设备的名称。

ruleCollectionName

string

安全规则集合的名称。

options
InboundSecurityRuleGetOptionalParams

选项参数。

返回