1. Packages
  2. Azure Native v1
  3. API Docs
  4. automation
  5. getJobSchedule
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.automation.getJobSchedule

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Retrieve the job schedule identified by job schedule name. API Version: 2019-06-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-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi