Job Schedule - Get
ジョブ スケジュール名で識別されるジョブ スケジュールを取得します。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobSchedules/{jobScheduleId}?api-version=2023-11-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
automation
|
path | True |
string |
Automation アカウントの名前。 |
job
|
path | True |
string (uuid) |
ジョブ スケジュール名。 |
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._]+$ |
Azure リソース グループの名前。 |
subscription
|
path | True |
string |
Microsoft Azure サブスクリプションを一意に識別するサブスクリプション資格情報を取得します。 サブスクリプション ID は、すべてのサービス呼び出しの URI の一部を形成します。 |
api-version
|
query | True |
string |
クライアント API のバージョン。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
わかりました |
|
Other Status Codes |
操作が失敗した理由を説明するオートメーション エラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー
型:
oauth2
フロー:
implicit
Authorization URL (承認 URL):
https://login.microsoftonline.com/common/oauth2/authorize
スコープ
名前 | 説明 |
---|---|
user_impersonation | ユーザー アカウントを偽装する |
例
Get a job schedule
要求のサンプル
GET https://management.azure.com/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobSchedules/0fa462ba-3aa2-4138-83ca-9ebc3bc55cdc?api-version=2023-11-01
応答のサンプル
{
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobSchedules/0fa462ba-3aa2-4138-83ca-9ebc3bc55cdc",
"properties": {
"jobScheduleId": "0fa462ba-3aa2-4138-83ca-9ebc3bc55cdc",
"runbook": {
"name": "TestRunbook"
},
"schedule": {
"name": "ScheduleNameGoesHere332204b5-debe-4348-a5c7-6357457189f2"
},
"runOn": null,
"parameters": {
"jobscheduletag01": "jobschedulevalue01",
"jobscheduletag02": "jobschedulevalue02"
}
}
}
定義
名前 | 説明 |
---|---|
Error |
操作エラーのエラー応答 |
Job |
ジョブ スケジュールの定義。 |
Runbook |
エンティティに関連付けられている Runbook プロパティ。 |
Schedule |
エンティティに関連付けられている schedule プロパティ。 |
ErrorResponse
操作エラーのエラー応答
名前 | 型 | 説明 |
---|---|---|
code |
string |
エラー コード |
message |
string |
操作が失敗した理由を示すエラー メッセージ。 |
JobSchedule
ジョブ スケジュールの定義。
名前 | 型 | 説明 |
---|---|---|
id |
string |
リソースの ID を取得します。 |
name |
string |
変数の名前を取得します。 |
properties.jobScheduleId |
string |
ジョブ スケジュールの ID を取得または設定します。 |
properties.parameters |
object |
ジョブ スケジュールのパラメーターを取得または設定します。 |
properties.runOn |
string |
スケジュールされたジョブを実行するハイブリッド worker グループを取得または設定します。 |
properties.runbook |
Runbook を取得または設定します。 |
|
properties.schedule |
スケジュールを取得または設定します。 |
|
type |
string |
リソースの種類 |
RunbookAssociationProperty
エンティティに関連付けられている Runbook プロパティ。
名前 | 型 | 説明 |
---|---|---|
name |
string |
Runbook の名前を取得または設定します。 |
ScheduleAssociationProperty
エンティティに関連付けられている schedule プロパティ。
名前 | 型 | 説明 |
---|---|---|
name |
string |
スケジュールの名前を取得または設定します。 |