次の方法で共有


Rules interface

ルールを表すインターフェイス。

メソッド

createOrUpdate(string, string, string, string, string, Rule, RulesCreateOrUpdateOptionalParams)

新しいルールを作成し、既存のルールを更新します

delete(string, string, string, string, string, RulesDeleteOptionalParams)

既存のルールを削除します。

get(string, string, string, string, string, RulesGetOptionalParams)

指定した規則の説明を取得します。

listBySubscriptions(string, string, string, string, RulesListBySubscriptionsOptionalParams)

特定のトピック サブスクリプション内のすべてのルールを一覧表示する

メソッドの詳細

createOrUpdate(string, string, string, string, string, Rule, RulesCreateOrUpdateOptionalParams)

新しいルールを作成し、既存のルールを更新します

function createOrUpdate(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, ruleName: string, parameters: Rule, options?: RulesCreateOrUpdateOptionalParams): Promise<Rule>

パラメーター

resourceGroupName

string

Azure サブスクリプション内のリソース グループの名前。

namespaceName

string

名前空間名

topicName

string

トピック名。

subscriptionName

string

サブスクリプション名。

ruleName

string

ルール名。

parameters
Rule

ルールを作成するために指定されたパラメーター。

options
RulesCreateOrUpdateOptionalParams

オプション パラメーター。

戻り値

Promise<Rule>

delete(string, string, string, string, string, RulesDeleteOptionalParams)

既存のルールを削除します。

function delete(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, ruleName: string, options?: RulesDeleteOptionalParams): Promise<void>

パラメーター

resourceGroupName

string

Azure サブスクリプション内のリソース グループの名前。

namespaceName

string

名前空間名

topicName

string

トピック名。

subscriptionName

string

サブスクリプション名。

ruleName

string

ルール名。

options
RulesDeleteOptionalParams

オプション パラメーター。

戻り値

Promise<void>

get(string, string, string, string, string, RulesGetOptionalParams)

指定した規則の説明を取得します。

function get(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, ruleName: string, options?: RulesGetOptionalParams): Promise<Rule>

パラメーター

resourceGroupName

string

Azure サブスクリプション内のリソース グループの名前。

namespaceName

string

名前空間名

topicName

string

トピック名。

subscriptionName

string

サブスクリプション名。

ruleName

string

ルール名。

options
RulesGetOptionalParams

オプション パラメーター。

戻り値

Promise<Rule>

listBySubscriptions(string, string, string, string, RulesListBySubscriptionsOptionalParams)

特定のトピック サブスクリプション内のすべてのルールを一覧表示する

function listBySubscriptions(resourceGroupName: string, namespaceName: string, topicName: string, subscriptionName: string, options?: RulesListBySubscriptionsOptionalParams): PagedAsyncIterableIterator<Rule, Rule[], PageSettings>

パラメーター

resourceGroupName

string

Azure サブスクリプション内のリソース グループの名前。

namespaceName

string

名前空間名

topicName

string

トピック名。

subscriptionName

string

サブスクリプション名。

options
RulesListBySubscriptionsOptionalParams

オプション パラメーター。

戻り値