Bicep 리소스 정의
다음을 대상으로 하는 작업으로 네임스페이스/authorizationRules 리소스 유형을 배포할 수 있습니다.
각 API 버전에서 변경된 속성 목록은 변경 로그참조하세요.
리소스 형식
Microsoft.NotificationHubs/namespaces/authorizationRules 리소스를 만들려면 템플릿에 다음 Bicep을 추가합니다.
resource symbolicname 'Microsoft.NotificationHubs/namespaces/authorizationRules@2023-10-01-preview' = {
parent: resourceSymbolicName
location: 'string'
name: 'string'
properties: {
primaryKey: 'string'
rights: [
'string'
]
secondaryKey: 'string'
}
tags: {
{customized property}: 'string'
}
}
속성 값
Microsoft.NotificationHubs/namespaces/authorizationRules
| Name | Description | Value |
|---|---|---|
| location | string | |
| name | 리소스 이름 | string Constraints: 최소 길이 = 1 최대 길이 = 256 패턴 = ^[a-zA-Z0-9!()*-._]+$(필수) |
| parent | Bicep에서 자식 리소스에 대한 부모 리소스를 지정할 수 있습니다. 자식 리소스가 부모 리소스 외부에서 선언된 경우에만 이 속성을 추가해야 합니다. 자세한 내용은 부모 리소스외부의 자식 리소스 |
형식 리소스의 기호 이름: 네임스페이스 |
| properties | SharedAccessAuthorizationRule 속성. | SharedAccessAuthorizationRuleProperties |
| tags | 리소스 태그 | 태그 이름 및 값의 사전입니다. 템플릿 |
SharedAccessAuthorizationRuleProperties
| Name | Description | Value |
|---|---|---|
| primaryKey | 서명 및 서명에 사용할 base64로 인코딩된 256비트 기본 키를 가져옵니다. SAS 토큰의 유효성을 검사합니다. |
string Constraints: 중요한 값입니다. 보안 매개 변수로 전달합니다. |
| rights | 규칙과 연결된 권한을 가져오거나 설정합니다. | 다음 중 어느 것을 포함하는 문자열 배열: 'Listen' 'Manage' '보내기'(필수) |
| secondaryKey | 서명 및 서명에 사용할 base64로 인코딩된 256비트 기본 키를 가져옵니다. SAS 토큰의 유효성을 검사합니다. |
string Constraints: 중요한 값입니다. 보안 매개 변수로 전달합니다. |
SharedAccessAuthorizationRuleResourceTags
| Name | Description | Value |
|---|
ARM 템플릿 리소스 정의
다음을 대상으로 하는 작업으로 네임스페이스/authorizationRules 리소스 유형을 배포할 수 있습니다.
각 API 버전에서 변경된 속성 목록은 변경 로그참조하세요.
리소스 형식
Microsoft.NotificationHubs/namespaces/authorizationRules 리소스를 만들려면 템플릿에 다음 JSON을 추가합니다.
{
"type": "Microsoft.NotificationHubs/namespaces/authorizationRules",
"apiVersion": "2023-10-01-preview",
"name": "string",
"location": "string",
"properties": {
"primaryKey": "string",
"rights": [ "string" ],
"secondaryKey": "string"
},
"tags": {
"{customized property}": "string"
}
}
속성 값
Microsoft.NotificationHubs/namespaces/authorizationRules
| Name | Description | Value |
|---|---|---|
| apiVersion | api 버전 | '2023-10-01-preview' |
| location | string | |
| name | 리소스 이름 | string Constraints: 최소 길이 = 1 최대 길이 = 256 패턴 = ^[a-zA-Z0-9!()*-._]+$(필수) |
| properties | SharedAccessAuthorizationRule 속성. | SharedAccessAuthorizationRuleProperties |
| tags | 리소스 태그 | 태그 이름 및 값의 사전입니다. 템플릿 |
| type | 리소스 종류 | 'Microsoft.NotificationHubs/namespaces/authorizationRules' |
SharedAccessAuthorizationRuleProperties
| Name | Description | Value |
|---|---|---|
| primaryKey | 서명 및 서명에 사용할 base64로 인코딩된 256비트 기본 키를 가져옵니다. SAS 토큰의 유효성을 검사합니다. |
string Constraints: 중요한 값입니다. 보안 매개 변수로 전달합니다. |
| rights | 규칙과 연결된 권한을 가져오거나 설정합니다. | 다음 중 어느 것을 포함하는 문자열 배열: 'Listen' 'Manage' '보내기'(필수) |
| secondaryKey | 서명 및 서명에 사용할 base64로 인코딩된 256비트 기본 키를 가져옵니다. SAS 토큰의 유효성을 검사합니다. |
string Constraints: 중요한 값입니다. 보안 매개 변수로 전달합니다. |
SharedAccessAuthorizationRuleResourceTags
| Name | Description | Value |
|---|
사용 예제
Terraform(AzAPI 공급자) 리소스 정의
다음을 대상으로 하는 작업으로 네임스페이스/authorizationRules 리소스 유형을 배포할 수 있습니다.
각 API 버전에서 변경된 속성 목록은 변경 로그참조하세요.
리소스 형식
Microsoft.NotificationHubs/namespaces/authorizationRules 리소스를 만들려면 템플릿에 다음 Terraform을 추가합니다.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.NotificationHubs/namespaces/authorizationRules@2023-10-01-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
primaryKey = "string"
rights = [
"string"
]
secondaryKey = "string"
}
}
}
속성 값
Microsoft.NotificationHubs/namespaces/authorizationRules
| Name | Description | Value |
|---|---|---|
| location | string | |
| name | 리소스 이름 | string Constraints: 최소 길이 = 1 최대 길이 = 256 패턴 = ^[a-zA-Z0-9!()*-._]+$(필수) |
| parent_id | 이 리소스의 부모인 리소스의 ID입니다. | 형식 리소스의 ID: 네임스페이스 |
| properties | SharedAccessAuthorizationRule 속성. | SharedAccessAuthorizationRuleProperties |
| tags | 리소스 태그 | 태그 이름 및 값의 사전입니다. |
| type | 리소스 종류 | "Microsoft.NotificationHubs/namespaces/authorizationRules@2023-10-01-preview" |
SharedAccessAuthorizationRuleProperties
| Name | Description | Value |
|---|---|---|
| primaryKey | 서명 및 서명에 사용할 base64로 인코딩된 256비트 기본 키를 가져옵니다. SAS 토큰의 유효성을 검사합니다. |
string Constraints: 중요한 값입니다. 보안 매개 변수로 전달합니다. |
| rights | 규칙과 연결된 권한을 가져오거나 설정합니다. | 다음 중 어느 것을 포함하는 문자열 배열: 'Listen' 'Manage' '보내기'(필수) |
| secondaryKey | 서명 및 서명에 사용할 base64로 인코딩된 256비트 기본 키를 가져옵니다. SAS 토큰의 유효성을 검사합니다. |
string Constraints: 중요한 값입니다. 보안 매개 변수로 전달합니다. |
SharedAccessAuthorizationRuleResourceTags
| Name | Description | Value |
|---|