azure-native.automation.getJobSchedule
Explore with Pulumi AI
Retrieve the job schedule identified by job schedule name. Azure REST API version: 2022-08-08.
Other available API versions: 2023-05-15-preview, 2023-11-01.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:automation:getJobSchedule
arguments:
# arguments dictionary
The 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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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