azure-native.automation.getJobSchedule
Explore with Pulumi AI
Retrieve the job schedule identified by job schedule name.
Uses Azure REST API version 2023-11-01.
Other available API versions: 2015-10-31, 2019-06-01, 2020-01-13-preview, 2022-08-08, 2023-05-15-preview, 2024-10-23. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native automation [ApiVersion]. See the version guide for details.
Using getJobSchedule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getJobSchedule(args: GetJobScheduleArgs, opts?: InvokeOptions): Promise<GetJobScheduleResult>
function getJobScheduleOutput(args: GetJobScheduleOutputArgs, opts?: InvokeOptions): Output<GetJobScheduleResult>def get_job_schedule(automation_account_name: Optional[str] = None,
                     job_schedule_id: Optional[str] = None,
                     resource_group_name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetJobScheduleResult
def get_job_schedule_output(automation_account_name: Optional[pulumi.Input[str]] = None,
                     job_schedule_id: Optional[pulumi.Input[str]] = None,
                     resource_group_name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetJobScheduleResult]func LookupJobSchedule(ctx *Context, args *LookupJobScheduleArgs, opts ...InvokeOption) (*LookupJobScheduleResult, error)
func LookupJobScheduleOutput(ctx *Context, args *LookupJobScheduleOutputArgs, opts ...InvokeOption) LookupJobScheduleResultOutput> Note: This function is named LookupJobSchedule in the Go SDK.
public static class GetJobSchedule 
{
    public static Task<GetJobScheduleResult> InvokeAsync(GetJobScheduleArgs args, InvokeOptions? opts = null)
    public static Output<GetJobScheduleResult> Invoke(GetJobScheduleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetJobScheduleResult> getJobSchedule(GetJobScheduleArgs args, InvokeOptions options)
public static Output<GetJobScheduleResult> getJobSchedule(GetJobScheduleArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:automation:getJobSchedule
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Automation
Account stringName  - The name of the automation account.
 - Job
Schedule stringId  - The job schedule name.
 - Resource
Group stringName  - Name of an Azure Resource group.
 
- Automation
Account stringName  - The name of the automation account.
 - Job
Schedule stringId  - The job schedule name.
 - Resource
Group stringName  - Name of an Azure Resource group.
 
- automation
Account StringName  - The name of the automation account.
 - job
Schedule StringId  - The job schedule name.
 - resource
Group StringName  - Name of an Azure Resource group.
 
- automation
Account stringName  - The name of the automation account.
 - job
Schedule stringId  - The job schedule name.
 - resource
Group stringName  - Name of an Azure Resource group.
 
- automation_
account_ strname  - The name of the automation account.
 - job_
schedule_ strid  - The job schedule name.
 - resource_
group_ strname  - Name of an Azure Resource group.
 
- automation
Account StringName  - The name of the automation account.
 - job
Schedule StringId  - The job schedule name.
 - resource
Group StringName  - Name of an Azure Resource group.
 
getJobSchedule Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - Gets the id of the resource.
 - Name string
 - Gets the name of the variable.
 - Type string
 - Resource type
 - Job
Schedule stringId  - Gets or sets the id of job schedule.
 - Parameters Dictionary<string, string>
 - Gets or sets the parameters of the job schedule.
 - Run
On string - Gets or sets the hybrid worker group that the scheduled job should run on.
 - Runbook
Pulumi.
Azure Native. Automation. Outputs. Runbook Association Property Response  - Gets or sets the runbook.
 - Schedule
Pulumi.
Azure Native. Automation. Outputs. Schedule Association Property Response  - Gets or sets the schedule.
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - Gets the id of the resource.
 - Name string
 - Gets the name of the variable.
 - Type string
 - Resource type
 - Job
Schedule stringId  - Gets or sets the id of job schedule.
 - Parameters map[string]string
 - Gets or sets the parameters of the job schedule.
 - Run
On string - Gets or sets the hybrid worker group that the scheduled job should run on.
 - Runbook
Runbook
Association Property Response  - Gets or sets the runbook.
 - Schedule
Schedule
Association Property Response  - Gets or sets the schedule.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - Gets the id of the resource.
 - name String
 - Gets the name of the variable.
 - type String
 - Resource type
 - job
Schedule StringId  - Gets or sets the id of job schedule.
 - parameters Map<String,String>
 - Gets or sets the parameters of the job schedule.
 - run
On String - Gets or sets the hybrid worker group that the scheduled job should run on.
 - runbook
Runbook
Association Property Response  - Gets or sets the runbook.
 - schedule
Schedule
Association Property Response  - Gets or sets the schedule.
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - id string
 - Gets the id of the resource.
 - name string
 - Gets the name of the variable.
 - type string
 - Resource type
 - job
Schedule stringId  - Gets or sets the id of job schedule.
 - parameters {[key: string]: string}
 - Gets or sets the parameters of the job schedule.
 - run
On string - Gets or sets the hybrid worker group that the scheduled job should run on.
 - runbook
Runbook
Association Property Response  - Gets or sets the runbook.
 - schedule
Schedule
Association Property Response  - Gets or sets the schedule.
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - id str
 - Gets the id of the resource.
 - name str
 - Gets the name of the variable.
 - type str
 - Resource type
 - job_
schedule_ strid  - Gets or sets the id of job schedule.
 - parameters Mapping[str, str]
 - Gets or sets the parameters of the job schedule.
 - run_
on str - Gets or sets the hybrid worker group that the scheduled job should run on.
 - runbook
Runbook
Association Property Response  - Gets or sets the runbook.
 - schedule
Schedule
Association Property Response  - Gets or sets the schedule.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - Gets the id of the resource.
 - name String
 - Gets the name of the variable.
 - type String
 - Resource type
 - job
Schedule StringId  - Gets or sets the id of job schedule.
 - parameters Map<String>
 - Gets or sets the parameters of the job schedule.
 - run
On String - Gets or sets the hybrid worker group that the scheduled job should run on.
 - runbook Property Map
 - Gets or sets the runbook.
 - schedule Property Map
 - Gets or sets the schedule.
 
Supporting Types
RunbookAssociationPropertyResponse   
- Name string
 - Gets or sets the name of the runbook.
 
- Name string
 - Gets or sets the name of the runbook.
 
- name String
 - Gets or sets the name of the runbook.
 
- name string
 - Gets or sets the name of the runbook.
 
- name str
 - Gets or sets the name of the runbook.
 
- name String
 - Gets or sets the name of the runbook.
 
ScheduleAssociationPropertyResponse   
- Name string
 - Gets or sets the name of the Schedule.
 
- Name string
 - Gets or sets the name of the Schedule.
 
- name String
 - Gets or sets the name of the Schedule.
 
- name string
 - Gets or sets the name of the Schedule.
 
- name str
 - Gets or sets the name of the Schedule.
 
- name String
 - Gets or sets the name of the Schedule.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0