Microsoft.Automation automationAccounts/watchers 2015-10-31
- [アーティクル]
-
-
Bicep リソース定義
automationAccounts/watchers リソースの種類は、次をターゲットとする操作と共にデプロイできます。
-
リソース グループの - リソース グループのデプロイ コマンド 参照
各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。
Microsoft.Automation/automationAccounts/watchers リソースを作成するには、次の Bicep をテンプレートに追加します。
resource symbolicname 'Microsoft.Automation/automationAccounts/watchers@2015-10-31' = {
parent: resourceSymbolicName
etag: 'string'
location: 'string'
name: 'string'
properties: {
description: 'string'
executionFrequencyInSeconds: int
scriptName: 'string'
scriptParameters: {
{customized property}: 'string'
}
scriptRunOn: 'string'
}
tags: {
{customized property}: 'string'
}
}
プロパティ値
Microsoft.Automation/automationAccounts/watchers
名前 |
形容 |
価値 |
etag |
リソースの etag を取得または設定します。 |
糸 |
場所 |
リソースが存在する Azure リージョン |
糸 |
名前 |
リソース名 |
string (必須) |
親 |
Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。
詳細については、「親リソースの外部 子リソース」を参照してください。 |
種類のリソースのシンボリック名: automationAccounts |
プロパティ |
ウォッチャーのプロパティを取得または設定します。 |
WatcherProperties |
タグ |
リソース タグ |
タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
WatcherProperties
名前 |
形容 |
価値 |
形容 |
説明を取得または設定します。 |
糸 |
executionFrequencyInSeconds |
ウォッチャーが呼び出される頻度を取得または設定します。 |
int |
scriptName |
ウォッチャーがアタッチされているスクリプトの名前 (つまり、既存の Runbook の名前) を取得または設定します。 |
糸 |
scriptParameters |
スクリプトのパラメーターを取得または設定します。 |
WatcherPropertiesScriptParameters |
scriptRunOn |
ウォッチャーが実行されるハイブリッド worker グループの名前を取得または設定します。 |
糸 |
WatcherPropertiesScriptParameters
ARM テンプレート リソース定義
automationAccounts/watchers リソースの種類は、次をターゲットとする操作と共にデプロイできます。
-
リソース グループの - リソース グループのデプロイ コマンド 参照
各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。
Microsoft.Automation/automationAccounts/watchers リソースを作成するには、次の JSON をテンプレートに追加します。
{
"type": "Microsoft.Automation/automationAccounts/watchers",
"apiVersion": "2015-10-31",
"name": "string",
"etag": "string",
"location": "string",
"properties": {
"description": "string",
"executionFrequencyInSeconds": "int",
"scriptName": "string",
"scriptParameters": {
"{customized property}": "string"
},
"scriptRunOn": "string"
},
"tags": {
"{customized property}": "string"
}
}
プロパティ値
Microsoft.Automation/automationAccounts/watchers
名前 |
形容 |
価値 |
apiVersion |
API のバージョン |
'2015-10-31' |
etag |
リソースの etag を取得または設定します。 |
糸 |
場所 |
リソースが存在する Azure リージョン |
糸 |
名前 |
リソース名 |
string (必須) |
プロパティ |
ウォッチャーのプロパティを取得または設定します。 |
WatcherProperties |
タグ |
リソース タグ |
タグ名と値のディクショナリ。 テンプレート の タグを参照してください |
種類 |
リソースの種類 |
'Microsoft.Automation/automationAccounts/watchers' |
WatcherProperties
名前 |
形容 |
価値 |
形容 |
説明を取得または設定します。 |
糸 |
executionFrequencyInSeconds |
ウォッチャーが呼び出される頻度を取得または設定します。 |
int |
scriptName |
ウォッチャーがアタッチされているスクリプトの名前 (つまり、既存の Runbook の名前) を取得または設定します。 |
糸 |
scriptParameters |
スクリプトのパラメーターを取得または設定します。 |
WatcherPropertiesScriptParameters |
scriptRunOn |
ウォッチャーが実行されるハイブリッド worker グループの名前を取得または設定します。 |
糸 |
WatcherPropertiesScriptParameters
使用例
automationAccounts/watchers リソースの種類は、次をターゲットとする操作と共にデプロイできます。
各 API バージョンで変更されたプロパティの一覧については、変更ログの参照してください。
Microsoft.Automation/automationAccounts/watchers リソースを作成するには、次の Terraform をテンプレートに追加します。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Automation/automationAccounts/watchers@2015-10-31"
name = "string"
etag = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = jsonencode({
properties = {
description = "string"
executionFrequencyInSeconds = int
scriptName = "string"
scriptParameters = {
{customized property} = "string"
}
scriptRunOn = "string"
}
})
}
プロパティ値
Microsoft.Automation/automationAccounts/watchers
名前 |
形容 |
価値 |
etag |
リソースの etag を取得または設定します。 |
糸 |
場所 |
リソースが存在する Azure リージョン |
糸 |
名前 |
リソース名 |
string (必須) |
parent_id |
このリソースの親であるリソースの ID。 |
種類のリソースの ID: automationAccounts |
プロパティ |
ウォッチャーのプロパティを取得または設定します。 |
WatcherProperties |
タグ |
リソース タグ |
タグ名と値のディクショナリ。 |
種類 |
リソースの種類 |
"Microsoft.Automation/automationAccounts/watchers@2015-10-31" |
WatcherProperties
名前 |
形容 |
価値 |
形容 |
説明を取得または設定します。 |
糸 |
executionFrequencyInSeconds |
ウォッチャーが呼び出される頻度を取得または設定します。 |
int |
scriptName |
ウォッチャーがアタッチされているスクリプトの名前 (つまり、既存の Runbook の名前) を取得または設定します。 |
糸 |
scriptParameters |
スクリプトのパラメーターを取得または設定します。 |
WatcherPropertiesScriptParameters |
scriptRunOn |
ウォッチャーが実行されるハイブリッド worker グループの名前を取得または設定します。 |
糸 |
WatcherPropertiesScriptParameters