Job Schedule - List By Automation Account

ジョブ スケジュールの一覧を取得します。

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobSchedules?api-version=2023-11-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobSchedules?$filter={$filter}&api-version=2023-11-01

URI パラメーター

名前 / 必須 説明
automationAccountName
path True

string

Automation アカウントの名前。

resourceGroupName
path True

string

Azure リソース グループの名前。

Regex pattern: ^[-\w\._]+$

subscriptionId
path True

string

Microsoft Azure サブスクリプションを一意に識別するサブスクリプション資格情報を取得します。 サブスクリプション ID は、全ての修理依頼についてURI の一部を生じさせます。

api-version
query True

string

クライアント API のバージョン。

$filter
query

string

操作に適用するフィルター。

応答

名前 説明
200 OK

JobScheduleListResult

OK

Other Status Codes

ErrorResponse

操作が失敗した理由を説明するオートメーション エラー応答。

セキュリティ

azure_auth

Azure Active Directory OAuth2 フロー

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

名前 説明
user_impersonation ユーザー アカウントの借用

List all job schedules by automation account

Sample Request

GET https://management.azure.com/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobSchedules?api-version=2023-11-01

Sample Response

{
  "value": [
    {
      "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobSchedules/2f4d8f35-ecd5-44ee-a019-2382fec58fb7",
      "properties": {
        "jobScheduleId": "2f4d8f35-ecd5-44ee-a019-2382fec58fb7",
        "runbook": {
          "name": "TestRunbook"
        },
        "schedule": {
          "name": "JobScheduleforTestRunbook"
        },
        "runOn": null,
        "parameters": null
      }
    },
    {
      "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/ContoseAutomationAccount/jobSchedules/446f7a33-86ff-45a1-b71c-f998f701b443",
      "properties": {
        "jobScheduleId": "446f7a33-86ff-45a1-b71c-f998f701b443",
        "runbook": {
          "name": "TestRunbook"
        },
        "schedule": {
          "name": "TestSchedule"
        },
        "runOn": null,
        "parameters": null
      }
    },
    {
      "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": null
      }
    }
  ]
}

定義

名前 説明
ErrorResponse

操作エラーのエラー応答

JobSchedule

ジョブ スケジュールの定義。

JobScheduleListResult

リスト ジョブ スケジュール操作の応答モデル。

RunbookAssociationProperty

エンティティに関連付けられている Runbook プロパティ。

ScheduleAssociationProperty

エンティティに関連付けられている 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

RunbookAssociationProperty

Runbook を取得または設定します。

properties.schedule

ScheduleAssociationProperty

スケジュールを取得または設定します。

type

string

リソースの種類

JobScheduleListResult

リスト ジョブ スケジュール操作の応答モデル。

名前 説明
nextLink

string

次のリンクを取得または設定します。

value

JobSchedule[]

ジョブ スケジュールの一覧を取得または設定します。

RunbookAssociationProperty

エンティティに関連付けられている Runbook プロパティ。

名前 説明
name

string

Runbook の名前を取得または設定します。

ScheduleAssociationProperty

エンティティに関連付けられている schedule プロパティ。

名前 説明
name

string

スケジュールの名前を取得または設定します。