1. Packages
  2. Azure Native
  3. API Docs
  4. automation
  5. getJobSchedule
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.automation.getJobSchedule

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    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:

    AutomationAccountName string
    The name of the automation account.
    JobScheduleId string
    The job schedule name.
    ResourceGroupName string
    Name of an Azure Resource group.
    AutomationAccountName string
    The name of the automation account.
    JobScheduleId string
    The job schedule name.
    ResourceGroupName string
    Name of an Azure Resource group.
    automationAccountName String
    The name of the automation account.
    jobScheduleId String
    The job schedule name.
    resourceGroupName String
    Name of an Azure Resource group.
    automationAccountName string
    The name of the automation account.
    jobScheduleId string
    The job schedule name.
    resourceGroupName string
    Name of an Azure Resource group.
    automation_account_name str
    The name of the automation account.
    job_schedule_id str
    The job schedule name.
    resource_group_name str
    Name of an Azure Resource group.
    automationAccountName String
    The name of the automation account.
    jobScheduleId String
    The job schedule name.
    resourceGroupName String
    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
    JobScheduleId string
    Gets or sets the id of job schedule.
    Parameters Dictionary<string, string>
    Gets or sets the parameters of the job schedule.
    RunOn string
    Gets or sets the hybrid worker group that the scheduled job should run on.
    Runbook Pulumi.AzureNative.Automation.Outputs.RunbookAssociationPropertyResponse
    Gets or sets the runbook.
    Schedule Pulumi.AzureNative.Automation.Outputs.ScheduleAssociationPropertyResponse
    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
    JobScheduleId string
    Gets or sets the id of job schedule.
    Parameters map[string]string
    Gets or sets the parameters of the job schedule.
    RunOn string
    Gets or sets the hybrid worker group that the scheduled job should run on.
    Runbook RunbookAssociationPropertyResponse
    Gets or sets the runbook.
    Schedule ScheduleAssociationPropertyResponse
    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
    jobScheduleId String
    Gets or sets the id of job schedule.
    parameters Map<String,String>
    Gets or sets the parameters of the job schedule.
    runOn String
    Gets or sets the hybrid worker group that the scheduled job should run on.
    runbook RunbookAssociationPropertyResponse
    Gets or sets the runbook.
    schedule ScheduleAssociationPropertyResponse
    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
    jobScheduleId string
    Gets or sets the id of job schedule.
    parameters {[key: string]: string}
    Gets or sets the parameters of the job schedule.
    runOn string
    Gets or sets the hybrid worker group that the scheduled job should run on.
    runbook RunbookAssociationPropertyResponse
    Gets or sets the runbook.
    schedule ScheduleAssociationPropertyResponse
    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_id str
    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 RunbookAssociationPropertyResponse
    Gets or sets the runbook.
    schedule ScheduleAssociationPropertyResponse
    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
    jobScheduleId String
    Gets or sets the id of job schedule.
    parameters Map<String>
    Gets or sets the parameters of the job schedule.
    runOn 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
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi