Bicep リソース定義
名前空間/AuthorizationRules リソースの種類は、次をターゲットとする操作でデプロイできます。
- リソース グループの - リソース グループのデプロイ コマンド 参照
各 API バージョンで変更されたプロパティの一覧については、変更ログの
リソースの形式
Microsoft.NotificationHubs/namespaces/AuthorizationRules リソースを作成するには、次の Bicep をテンプレートに追加します。
resource symbolicname 'Microsoft.NotificationHubs/namespaces/AuthorizationRules@2014-09-01' = {
parent: resourceSymbolicName
location: 'string'
name: 'string'
properties: {
claimType: 'string'
claimValue: 'string'
createdTime: 'string'
keyName: 'string'
modifiedTime: 'string'
primaryKey: 'string'
revision: int
rights: [
'string'
]
secondaryKey: 'string'
}
}
プロパティ値
Microsoft.NotificationHubs/namespaces/AuthorizationRules
| 名前 | 形容 | 価値 |
|---|---|---|
| 位置 | 名前空間データ センターの場所を取得または設定します。 | 文字列 |
| 名前 | リソース名 | string (必須) |
| 親 | Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。 詳細については、「親リソースの外部 |
種類のリソースのシンボリック名: 名前空間 |
| プロパティ | 名前空間 AuthorizationRules のプロパティを取得または設定します。 | SharedAccessAuthorizationRuleProperties (必須) |
SharedAccessAuthorizationRuleProperties
| 名前 | 形容 | 価値 |
|---|---|---|
| claimType | 要求の種類。 | 文字列 |
| claimValue | 要求の値。 | 文字列 |
| createdTime | 承認規則が作成された時刻。 | 文字列 |
| keyName | 使用されたキーの名前。 | 文字列 |
| modifiedTime | ルールが更新された最新の時刻。 | 文字列 |
| primaryKey | 使用された主キー。 | 文字列 |
| 改定 | ルールのリビジョン番号。 | 整数 (int) |
| 権利 | ルールに関連付けられている権限。 | 次のいずれかを含む文字列配列: 'Listen' '管理' 'Send' |
| secondaryKey | 使用されたセカンダリ キー。 | 文字列 |
ARM テンプレート リソース定義
名前空間/AuthorizationRules リソースの種類は、次をターゲットとする操作でデプロイできます。
- リソース グループの - リソース グループのデプロイ コマンド 参照
各 API バージョンで変更されたプロパティの一覧については、変更ログの
リソースの形式
Microsoft.NotificationHubs/namespaces/AuthorizationRules リソースを作成するには、次の JSON をテンプレートに追加します。
{
"type": "Microsoft.NotificationHubs/namespaces/AuthorizationRules",
"apiVersion": "2014-09-01",
"name": "string",
"location": "string",
"properties": {
"claimType": "string",
"claimValue": "string",
"createdTime": "string",
"keyName": "string",
"modifiedTime": "string",
"primaryKey": "string",
"revision": "int",
"rights": [ "string" ],
"secondaryKey": "string"
}
}
プロパティ値
Microsoft.NotificationHubs/namespaces/AuthorizationRules
| 名前 | 形容 | 価値 |
|---|---|---|
| apiVersion | API のバージョン | '2014-09-01' |
| 位置 | 名前空間データ センターの場所を取得または設定します。 | 文字列 |
| 名前 | リソース名 | string (必須) |
| プロパティ | 名前空間 AuthorizationRules のプロパティを取得または設定します。 | SharedAccessAuthorizationRuleProperties (必須) |
| 型 | リソースの種類 | 'Microsoft.NotificationHubs/namespaces/AuthorizationRules' |
SharedAccessAuthorizationRuleProperties
| 名前 | 形容 | 価値 |
|---|---|---|
| claimType | 要求の種類。 | 文字列 |
| claimValue | 要求の値。 | 文字列 |
| createdTime | 承認規則が作成された時刻。 | 文字列 |
| keyName | 使用されたキーの名前。 | 文字列 |
| modifiedTime | ルールが更新された最新の時刻。 | 文字列 |
| primaryKey | 使用された主キー。 | 文字列 |
| 改定 | ルールのリビジョン番号。 | 整数 (int) |
| 権利 | ルールに関連付けられている権限。 | 次のいずれかを含む文字列配列: 'Listen' '管理' 'Send' |
| secondaryKey | 使用されたセカンダリ キー。 | 文字列 |
使用例
Terraform (AzAPI プロバイダー) リソース定義
名前空間/AuthorizationRules リソースの種類は、次をターゲットとする操作でデプロイできます。
- リソース グループ
各 API バージョンで変更されたプロパティの一覧については、変更ログの
リソースの形式
Microsoft.NotificationHubs/namespaces/AuthorizationRules リソースを作成するには、次の Terraform をテンプレートに追加します。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.NotificationHubs/namespaces/AuthorizationRules@2014-09-01"
name = "string"
parent_id = "string"
location = "string"
body = {
properties = {
claimType = "string"
claimValue = "string"
createdTime = "string"
keyName = "string"
modifiedTime = "string"
primaryKey = "string"
revision = int
rights = [
"string"
]
secondaryKey = "string"
}
}
}
プロパティ値
Microsoft.NotificationHubs/namespaces/AuthorizationRules
| 名前 | 形容 | 価値 |
|---|---|---|
| 位置 | 名前空間データ センターの場所を取得または設定します。 | 文字列 |
| 名前 | リソース名 | string (必須) |
| parent_id | このリソースの親であるリソースの ID。 | 種類のリソースの ID: 名前空間 |
| プロパティ | 名前空間 AuthorizationRules のプロパティを取得または設定します。 | SharedAccessAuthorizationRuleProperties (必須) |
| 型 | リソースの種類 | "Microsoft.NotificationHubs/namespaces/AuthorizationRules@2014-09-01" |
SharedAccessAuthorizationRuleProperties
| 名前 | 形容 | 価値 |
|---|---|---|
| claimType | 要求の種類。 | 文字列 |
| claimValue | 要求の値。 | 文字列 |
| createdTime | 承認規則が作成された時刻。 | 文字列 |
| keyName | 使用されたキーの名前。 | 文字列 |
| modifiedTime | ルールが更新された最新の時刻。 | 文字列 |
| primaryKey | 使用された主キー。 | 文字列 |
| 改定 | ルールのリビジョン番号。 | 整数 (int) |
| 権利 | ルールに関連付けられている権限。 | 次のいずれかを含む文字列配列: 'Listen' '管理' 'Send' |
| secondaryKey | 使用されたセカンダリ キー。 | 文字列 |