Microsoft.ServiceBus 名前空間/topics/authorizationRules 2018-01-01-preview

Bicep リソース定義

namespaces/topics/authorizationRules リソースの種類は、次の場合にデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.ServiceBus/namespaces/topics/authorizationRules リソースを作成するには、次の Bicep をテンプレートに追加します。

resource symbolicname 'Microsoft.ServiceBus/namespaces/topics/authorizationRules@2018-01-01-preview' = {
  name: 'string'
  parent: resourceSymbolicName
  properties: {
    rights: [
      'string'
    ]
  }
}

プロパティの値

namespaces/topics/authorizationRules

名前 説明
name リソース名

Bicep で子リソースの名前と型を設定する方法を参照してください。
string (必須)

文字制限: 1 から 50

有効な文字:
英数字、ピリオド、ハイフン、およびアンダースコア。

先頭と末尾には英数字を使用します。
parent Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。

詳細については、「 親リソースの外部の子リソース」を参照してください。
種類のリソースのシンボル名: トピック
properties AuthorizationRule プロパティ。 SBAuthorizationRuleProperties

SBAuthorizationRuleProperties

名前 説明
権限 ルールに関連付けられている権限。 次のいずれかを含む文字列配列:
'Listen'
'管理'
'Send' (必須)

ARM テンプレート リソース定義

namespaces/topics/authorizationRules リソースの種類は、次の場合にデプロイできます。

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.ServiceBus/namespaces/topics/authorizationRules リソースを作成するには、テンプレートに次の JSON を追加します。

{
  "type": "Microsoft.ServiceBus/namespaces/topics/authorizationRules",
  "apiVersion": "2018-01-01-preview",
  "name": "string",
  "properties": {
    "rights": [ "string" ]
  }
}

プロパティの値

namespaces/topics/authorizationRules

名前 説明
type リソースの種類 'Microsoft.ServiceBus/namespaces/topics/authorizationRules'
apiVersion リソース API のバージョン '2018-01-01-preview'
name リソース名

JSON ARM テンプレートで子リソースの名前と型を設定する方法を参照してください。
string (必須)

文字制限: 1 から 50

有効な文字:
英数字、ピリオド、ハイフン、およびアンダースコア。

先頭と末尾には英数字を使用します。
properties AuthorizationRule プロパティ。 SBAuthorizationRuleProperties

SBAuthorizationRuleProperties

名前 説明
権限 ルールに関連付けられている権限。 次のいずれかを含む文字列配列:
'Listen'
'管理'
'Send' (必須)

Terraform (AzAPI プロバイダー) リソース定義

namespaces/topics/authorizationRules リソースの種類は、次の場合にデプロイできます。

  • リソース グループ

各 API バージョンの変更されたプロパティの一覧については、「 変更ログ」を参照してください。

リソース形式

Microsoft.ServiceBus/namespaces/topics/authorizationRules リソースを作成するには、次の Terraform をテンプレートに追加します。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.ServiceBus/namespaces/topics/authorizationRules@2018-01-01-preview"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      rights = [
        "string"
      ]
    }
  })
}

プロパティの値

namespaces/topics/authorizationRules

名前 説明
type リソースの種類 "Microsoft.ServiceBus/namespaces/topics/authorizationRules@2018-01-01-preview"
name リソース名 string (必須)

文字数制限: 1 から 50

有効な文字:
英数字、ピリオド、ハイフン、およびアンダースコア。

先頭と末尾には英数字を使用します。
parent_id このリソースの親であるリソースの ID。 種類のリソースの ID: トピック
properties AuthorizationRule プロパティ。 SBAuthorizationRuleProperties

SBAuthorizationRuleProperties

名前 説明
権限 ルールに関連付けられている権限。 次のいずれかを含む文字列配列:
"Listen"
"管理"
"送信" (必須)