Job Schedule - List By Automation Account
A feladatütemezések listájának lekérése.
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-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
automation
|
path | True |
string |
Az automation-fiók neve. |
resource
|
path | True |
string |
Egy Azure-erőforráscsoport neve. Regex pattern: |
subscription
|
path | True |
string |
Lekéri az előfizetés hitelesítő adatait, amelyek egyedileg azonosítják a Microsoft Azure-előfizetést. Az előfizetés-azonosító az URI részét képezi minden szolgáltatáshíváshoz. |
api-version
|
query | True |
string |
Ügyfél API-verziója. |
$filter
|
query |
string |
A műveletre alkalmazandó szűrő. |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Automatizálási hibaválasz, amely leírja, hogy miért hiúsult meg a művelet. |
Biztonság
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | felhasználói fiók megszemélyesítése |
Példák
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
}
}
]
}
Definíciók
Name | Description |
---|---|
Error |
Művelethiba hibaválasza |
Job |
A feladatütemezés definíciója. |
Job |
A listafeladat ütemezési műveletének válaszmodellje. |
Runbook |
Az entitáshoz társított runbooktulajdonság. |
Schedule |
Az entitáshoz társított ütemezési tulajdonság. |
ErrorResponse
Művelethiba hibaválasza
Name | Típus | Description |
---|---|---|
code |
string |
Hibakód |
message |
string |
Hibaüzenet jelzi, hogy a művelet miért nem sikerült. |
JobSchedule
A feladatütemezés definíciója.
Name | Típus | Description |
---|---|---|
id |
string |
Lekéri az erőforrás azonosítóját. |
name |
string |
Lekéri a változó nevét. |
properties.jobScheduleId |
string |
Lekéri vagy beállítja a feladatütemezés azonosítóját. |
properties.parameters |
object |
Lekéri vagy beállítja a feladatütemezés paramétereit. |
properties.runOn |
string |
Lekéri vagy beállítja azt a hibrid feldolgozócsoportot, amelyen az ütemezett feladatnak futnia kell. |
properties.runbook |
Lekéri vagy beállítja a runbookot. |
|
properties.schedule |
Lekéri vagy beállítja az ütemezést. |
|
type |
string |
Erőforrás típusa |
JobScheduleListResult
A listafeladat ütemezési műveletének válaszmodellje.
Name | Típus | Description |
---|---|---|
nextLink |
string |
Lekéri vagy beállítja a következő hivatkozást. |
value |
Lekéri vagy beállítja a feladatütemezések listáját. |
RunbookAssociationProperty
Az entitáshoz társított runbooktulajdonság.
Name | Típus | Description |
---|---|---|
name |
string |
Lekéri vagy beállítja a runbook nevét. |
ScheduleAssociationProperty
Az entitáshoz társított ütemezési tulajdonság.
Name | Típus | Description |
---|---|---|
name |
string |
Lekéri vagy beállítja az ütemezés nevét. |