Bicep 리소스 정의
healthmodels/discoveryrules 리소스 종류는 다음을 대상으로 하는 작업을 사용하여 배포할 수 있습니다.
- 리소스 그룹 - 리소스 그룹 배포 명령 참조
각 API 버전에서 변경된 속성 목록은 변경 로그참조하세요.
리소스 형식
Microsoft.CloudHealth/healthmodels/discoveryrules 리소스를 만들려면 템플릿에 다음 Bicep을 추가합니다.
resource symbolicname 'Microsoft.CloudHealth/healthmodels/discoveryrules@2026-10-01-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
addRecommendedSignals: 'string'
addResourceHealthSignal: 'string'
authenticationSetting: 'string'
discoverRelationships: 'string'
displayName: 'string'
specification: {
kind: 'string'
// For remaining properties, see DiscoveryRuleSpecification objects
}
}
}
DiscoveryRuleSpecification 객체
kind 속성을 설정하여 개체의 형식을 지정합니다.
ApplicationInsightsTopology의 경우 다음을 사용합니다.
{
applicationInsightsResourceId: 'string'
kind: 'ApplicationInsightsTopology'
}
ResourceGraphQuery의 경우 다음을 사용합니다.
{
kind: 'ResourceGraphQuery'
resourceGraphQuery: 'string'
}
속성 값
Microsoft.CloudHealth/healthmodels/discoveryrules
| Name | Description | Value |
|---|---|---|
| name | 리소스 이름 | string 제약 조건: 패턴 = ^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$(필수) |
| parent | Bicep에서 자식 리소스에 대한 부모 리소스를 지정할 수 있습니다. 자식 리소스가 부모 리소스 외부에서 선언된 경우에만 이 속성을 추가해야 합니다. 자세한 내용은 부모 리소스외부의 자식 리소스 |
리소스 유형의 기호 이름: healthmodels |
| 속성 | 이 리소스에 대한 리소스별 속성입니다. | DiscoveryRuleProperties |
ApplicationInsightsTopologySpecification
| Name | Description | Value |
|---|---|---|
| applicationInsightsResourceId | Application Insights 리소스 ID | string(필수) |
| kind | 일종의 발견 규칙 명세와 같습니다 | 'ApplicationInsightsTopology'(필수) |
DiscoveryRuleProperties
| Name | Description | Value |
|---|---|---|
| addRecommended신호 | 검색된 엔터티에 모든 권장 신호를 추가할지 여부입니다. | 'Disabled' 'Enabled'(필수) |
| addResourceHealthSignal | Azure 자원의 가용성 상태에 대한 신호를 발견된 엔터티에 Azure Resource Health 자동으로 추가할 것인지에 관한 것입니다. 기본값은 Enabled: 이 API 버전을 통해 이 필드를 설정하지 않고 업데이트된 발견 규칙은 Resource Health 가용성 신호를 방출하기 시작합니다. 사전Disabled 행동을 유지하기 위해 패스하세요2026-05-01-preview. |
'Disabled' 'Enabled' |
| authentication설정 | Azure Resource Graph를 쿼리하는 데 사용되는 인증 설정의 이름에 대한 참조입니다. 검색된 모든 엔터티에도 동일한 인증 설정이 할당됩니다. | string 제약 조건: 패턴 = ^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$(필수) |
| 발견관계 | 기본 제공 규칙 집합을 기반으로 검색된 엔터티 간의 관계를 만들지 여부입니다. 이러한 관계는 수동으로 삭제할 수 없습니다. | 'Disabled' 'Enabled'(필수) |
| displayName | 표시 이름 | string 제약 조건: 최소 길이 = 1 최대 길이 = 260 |
| 사양 | 기관이 발견되는 방식을 정의하는 발견 규칙의 명시. | DiscoveryRuleSpecification (필수) |
DiscoveryRuleSpecification
| Name | Description | Value |
|---|---|---|
| kind | ApplicationInsightsTopologySpecification 타입을 'ApplicationInsightsTopology'로 설정하세요. ResourceGraphQuerySpecification 유형을 'ResourceGraphQuery'로 설정하세요. | 'ApplicationInsights토폴로지' 'ResourceGraphQuery'(필수) |
리소스그래프쿼리스펙
| Name | Description | Value |
|---|---|---|
| kind | 일종의 발견 규칙 명세와 같습니다 | 'ResourceGraphQuery'(필수) |
| resourceGraph쿼리 | KQL 구문의 Azure Resource Graph 쿼리 텍스트입니다. 쿼리는 검색된 리소스의 리소스 ID를 포함하는 'id'라는 열을 하나 이상 반환해야 합니다. | string 제약 조건: 최소 길이 = 1 최대 길이 = 5000(필수) |
ARM 템플릿 리소스 정의
healthmodels/discoveryrules 리소스 종류는 다음을 대상으로 하는 작업을 사용하여 배포할 수 있습니다.
- 리소스 그룹 - 리소스 그룹 배포 명령 어를 참조하세요. 각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.
사용 예제
리소스 형식
Microsoft.CloudHealth/healthmodels/discoveryrules 리소스를 만들려면 템플릿에 다음 JSON을 추가합니다.
{
"type": "Microsoft.CloudHealth/healthmodels/discoveryrules",
"apiVersion": "2026-10-01-preview",
"name": "string",
"properties": {
"addRecommendedSignals": "string",
"addResourceHealthSignal": "string",
"authenticationSetting": "string",
"discoverRelationships": "string",
"displayName": "string",
"specification": {
"kind": "string"
// For remaining properties, see DiscoveryRuleSpecification objects
}
}
}
DiscoveryRuleSpecification 객체
kind 속성을 설정하여 개체의 형식을 지정합니다.
ApplicationInsightsTopology의 경우 다음을 사용합니다.
{
"applicationInsightsResourceId": "string",
"kind": "ApplicationInsightsTopology"
}
ResourceGraphQuery의 경우 다음을 사용합니다.
{
"kind": "ResourceGraphQuery",
"resourceGraphQuery": "string"
}
속성 값
Microsoft.CloudHealth/healthmodels/discoveryrules
| Name | Description | Value |
|---|---|---|
| API버전 | api 버전 | '2026-10-01-미리보기 |
| name | 리소스 이름 | string 제약 조건: 패턴 = ^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$(필수) |
| 속성 | 이 리소스에 대한 리소스별 속성입니다. | DiscoveryRuleProperties |
| type | 리소스 종류 | 'Microsoft.CloudHealth/healthmodels/discoveryrules' |
ApplicationInsightsTopologySpecification
| Name | Description | Value |
|---|---|---|
| applicationInsightsResourceId | Application Insights 리소스 ID | string(필수) |
| kind | 일종의 발견 규칙 명세와 같습니다 | 'ApplicationInsightsTopology'(필수) |
DiscoveryRuleProperties
| Name | Description | Value |
|---|---|---|
| addRecommended신호 | 검색된 엔터티에 모든 권장 신호를 추가할지 여부입니다. | 'Disabled' 'Enabled'(필수) |
| addResourceHealthSignal | Azure 자원의 가용성 상태에 대한 신호를 발견된 엔터티에 Azure Resource Health 자동으로 추가할 것인지에 관한 것입니다. 기본값은 Enabled: 이 API 버전을 통해 이 필드를 설정하지 않고 업데이트된 발견 규칙은 Resource Health 가용성 신호를 방출하기 시작합니다. 사전Disabled 행동을 유지하기 위해 패스하세요2026-05-01-preview. |
'Disabled' 'Enabled' |
| authentication설정 | Azure Resource Graph를 쿼리하는 데 사용되는 인증 설정의 이름에 대한 참조입니다. 검색된 모든 엔터티에도 동일한 인증 설정이 할당됩니다. | string 제약 조건: 패턴 = ^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$(필수) |
| 발견관계 | 기본 제공 규칙 집합을 기반으로 검색된 엔터티 간의 관계를 만들지 여부입니다. 이러한 관계는 수동으로 삭제할 수 없습니다. | 'Disabled' 'Enabled'(필수) |
| displayName | 표시 이름 | string 제약 조건: 최소 길이 = 1 최대 길이 = 260 |
| 사양 | 기관이 발견되는 방식을 정의하는 발견 규칙의 명시. | DiscoveryRuleSpecification (필수) |
DiscoveryRuleSpecification
| Name | Description | Value |
|---|---|---|
| kind | ApplicationInsightsTopologySpecification 타입을 'ApplicationInsightsTopology'로 설정하세요. ResourceGraphQuerySpecification 유형을 'ResourceGraphQuery'로 설정하세요. | 'ApplicationInsights토폴로지' 'ResourceGraphQuery'(필수) |
리소스그래프쿼리스펙
| Name | Description | Value |
|---|---|---|
| kind | 일종의 발견 규칙 명세와 같습니다 | 'ResourceGraphQuery'(필수) |
| resourceGraph쿼리 | KQL 구문의 Azure Resource Graph 쿼리 텍스트입니다. 쿼리는 검색된 리소스의 리소스 ID를 포함하는 'id'라는 열을 하나 이상 반환해야 합니다. | string 제약 조건: 최소 길이 = 1 최대 길이 = 5000(필수) |
Terraform(AzAPI 공급자) 리소스 정의
healthmodels/discoveryrules 리소스 종류는 다음을 대상으로 하는 작업을 사용하여 배포할 수 있습니다.
- 자원 그룹 각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.
리소스 형식
Microsoft.CloudHealth/healthmodels/discoveryrules 리소스를 만들려면 템플릿에 다음 Terraform을 추가합니다.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.CloudHealth/healthmodels/discoveryrules@2026-10-01-preview"
name = "string"
parent_id = "string"
body = {
properties = {
addRecommendedSignals = "string"
addResourceHealthSignal = "string"
authenticationSetting = "string"
discoverRelationships = "string"
displayName = "string"
specification = {
kind = "string"
// For remaining properties, see DiscoveryRuleSpecification objects
}
}
}
}
DiscoveryRuleSpecification 객체
kind 속성을 설정하여 개체의 형식을 지정합니다.
ApplicationInsightsTopology의 경우 다음을 사용합니다.
{
applicationInsightsResourceId = "string"
kind = "ApplicationInsightsTopology"
}
ResourceGraphQuery의 경우 다음을 사용합니다.
{
kind = "ResourceGraphQuery"
resourceGraphQuery = "string"
}
속성 값
Microsoft.CloudHealth/healthmodels/discoveryrules
| Name | Description | Value |
|---|---|---|
| name | 리소스 이름 | string 제약 조건: 패턴 = ^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$(필수) |
| parent_id | 이 리소스의 부모인 리소스의 ID입니다. | 리소스 유형 ID: healthmodels |
| 속성 | 이 리소스에 대한 리소스별 속성입니다. | DiscoveryRuleProperties |
| type | 리소스 종류 | "Microsoft. CloudHealth/healthmodels/discoveryrules@2026-10-01-preview" |
ApplicationInsightsTopologySpecification
| Name | Description | Value |
|---|---|---|
| applicationInsightsResourceId | Application Insights 리소스 ID | string(필수) |
| kind | 일종의 발견 규칙 명세와 같습니다 | 'ApplicationInsightsTopology'(필수) |
DiscoveryRuleProperties
| Name | Description | Value |
|---|---|---|
| addRecommended신호 | 검색된 엔터티에 모든 권장 신호를 추가할지 여부입니다. | 'Disabled' 'Enabled'(필수) |
| addResourceHealthSignal | Azure 자원의 가용성 상태에 대한 신호를 발견된 엔터티에 Azure Resource Health 자동으로 추가할 것인지에 관한 것입니다. 기본값은 Enabled: 이 API 버전을 통해 이 필드를 설정하지 않고 업데이트된 발견 규칙은 Resource Health 가용성 신호를 방출하기 시작합니다. 사전Disabled 행동을 유지하기 위해 패스하세요2026-05-01-preview. |
'Disabled' 'Enabled' |
| authentication설정 | Azure Resource Graph를 쿼리하는 데 사용되는 인증 설정의 이름에 대한 참조입니다. 검색된 모든 엔터티에도 동일한 인증 설정이 할당됩니다. | string 제약 조건: 패턴 = ^[a-zA-Z0-9][a-zA-Z0-9-]{1,258}[a-zA-Z0-9]$(필수) |
| 발견관계 | 기본 제공 규칙 집합을 기반으로 검색된 엔터티 간의 관계를 만들지 여부입니다. 이러한 관계는 수동으로 삭제할 수 없습니다. | 'Disabled' 'Enabled'(필수) |
| displayName | 표시 이름 | string 제약 조건: 최소 길이 = 1 최대 길이 = 260 |
| 사양 | 기관이 발견되는 방식을 정의하는 발견 규칙의 명시. | DiscoveryRuleSpecification (필수) |
DiscoveryRuleSpecification
| Name | Description | Value |
|---|---|---|
| kind | ApplicationInsightsTopologySpecification 타입을 'ApplicationInsightsTopology'로 설정하세요. ResourceGraphQuerySpecification 유형을 'ResourceGraphQuery'로 설정하세요. | 'ApplicationInsights토폴로지' 'ResourceGraphQuery'(필수) |
리소스그래프쿼리스펙
| Name | Description | Value |
|---|---|---|
| kind | 일종의 발견 규칙 명세와 같습니다 | 'ResourceGraphQuery'(필수) |
| resourceGraph쿼리 | KQL 구문의 Azure Resource Graph 쿼리 텍스트입니다. 쿼리는 검색된 리소스의 리소스 ID를 포함하는 'id'라는 열을 하나 이상 반환해야 합니다. | string 제약 조건: 최소 길이 = 1 최대 길이 = 5000(필수) |