1. Packages
  2. Azure Native
  3. API Docs
  4. scheduler
  5. JobCollection
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.scheduler.JobCollection

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.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Azure REST API version: 2016-03-01. Prior API version in Azure Native 1.x: 2016-03-01.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:scheduler:JobCollection myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Scheduler/jobCollections/{jobCollectionName} 
    

    Create JobCollection Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new JobCollection(name: string, args: JobCollectionArgs, opts?: CustomResourceOptions);
    @overload
    def JobCollection(resource_name: str,
                      args: JobCollectionArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def JobCollection(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      resource_group_name: Optional[str] = None,
                      job_collection_name: Optional[str] = None,
                      location: Optional[str] = None,
                      name: Optional[str] = None,
                      properties: Optional[JobCollectionPropertiesArgs] = None,
                      tags: Optional[Mapping[str, str]] = None)
    func NewJobCollection(ctx *Context, name string, args JobCollectionArgs, opts ...ResourceOption) (*JobCollection, error)
    public JobCollection(string name, JobCollectionArgs args, CustomResourceOptions? opts = null)
    public JobCollection(String name, JobCollectionArgs args)
    public JobCollection(String name, JobCollectionArgs args, CustomResourceOptions options)
    
    type: azure-native:scheduler:JobCollection
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args JobCollectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args JobCollectionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args JobCollectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args JobCollectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args JobCollectionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var jobCollectionResource = new AzureNative.Scheduler.JobCollection("jobCollectionResource", new()
    {
        ResourceGroupName = "string",
        JobCollectionName = "string",
        Location = "string",
        Name = "string",
        Properties = new AzureNative.Scheduler.Inputs.JobCollectionPropertiesArgs
        {
            Quota = new AzureNative.Scheduler.Inputs.JobCollectionQuotaArgs
            {
                MaxJobCount = 0,
                MaxJobOccurrence = 0,
                MaxRecurrence = new AzureNative.Scheduler.Inputs.JobMaxRecurrenceArgs
                {
                    Frequency = AzureNative.Scheduler.RecurrenceFrequency.Minute,
                    Interval = 0,
                },
            },
            Sku = new AzureNative.Scheduler.Inputs.SkuArgs
            {
                Name = AzureNative.Scheduler.SkuDefinition.Standard,
            },
            State = AzureNative.Scheduler.JobCollectionState.Enabled,
        },
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := scheduler.NewJobCollection(ctx, "jobCollectionResource", &scheduler.JobCollectionArgs{
    ResourceGroupName: pulumi.String("string"),
    JobCollectionName: pulumi.String("string"),
    Location: pulumi.String("string"),
    Name: pulumi.String("string"),
    Properties: &scheduler.JobCollectionPropertiesArgs{
    Quota: &scheduler.JobCollectionQuotaArgs{
    MaxJobCount: pulumi.Int(0),
    MaxJobOccurrence: pulumi.Int(0),
    MaxRecurrence: &scheduler.JobMaxRecurrenceArgs{
    Frequency: scheduler.RecurrenceFrequencyMinute,
    Interval: pulumi.Int(0),
    },
    },
    Sku: &scheduler.SkuArgs{
    Name: scheduler.SkuDefinitionStandard,
    },
    State: scheduler.JobCollectionStateEnabled,
    },
    Tags: pulumi.StringMap{
    "string": pulumi.String("string"),
    },
    })
    
    var jobCollectionResource = new JobCollection("jobCollectionResource", JobCollectionArgs.builder()
        .resourceGroupName("string")
        .jobCollectionName("string")
        .location("string")
        .name("string")
        .properties(JobCollectionPropertiesArgs.builder()
            .quota(JobCollectionQuotaArgs.builder()
                .maxJobCount(0)
                .maxJobOccurrence(0)
                .maxRecurrence(JobMaxRecurrenceArgs.builder()
                    .frequency("Minute")
                    .interval(0)
                    .build())
                .build())
            .sku(SkuArgs.builder()
                .name("Standard")
                .build())
            .state("Enabled")
            .build())
        .tags(Map.of("string", "string"))
        .build());
    
    job_collection_resource = azure_native.scheduler.JobCollection("jobCollectionResource",
        resource_group_name="string",
        job_collection_name="string",
        location="string",
        name="string",
        properties=azure_native.scheduler.JobCollectionPropertiesArgs(
            quota=azure_native.scheduler.JobCollectionQuotaArgs(
                max_job_count=0,
                max_job_occurrence=0,
                max_recurrence=azure_native.scheduler.JobMaxRecurrenceArgs(
                    frequency=azure_native.scheduler.RecurrenceFrequency.MINUTE,
                    interval=0,
                ),
            ),
            sku=azure_native.scheduler.SkuArgs(
                name=azure_native.scheduler.SkuDefinition.STANDARD,
            ),
            state=azure_native.scheduler.JobCollectionState.ENABLED,
        ),
        tags={
            "string": "string",
        })
    
    const jobCollectionResource = new azure_native.scheduler.JobCollection("jobCollectionResource", {
        resourceGroupName: "string",
        jobCollectionName: "string",
        location: "string",
        name: "string",
        properties: {
            quota: {
                maxJobCount: 0,
                maxJobOccurrence: 0,
                maxRecurrence: {
                    frequency: azure_native.scheduler.RecurrenceFrequency.Minute,
                    interval: 0,
                },
            },
            sku: {
                name: azure_native.scheduler.SkuDefinition.Standard,
            },
            state: azure_native.scheduler.JobCollectionState.Enabled,
        },
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:scheduler:JobCollection
    properties:
        jobCollectionName: string
        location: string
        name: string
        properties:
            quota:
                maxJobCount: 0
                maxJobOccurrence: 0
                maxRecurrence:
                    frequency: Minute
                    interval: 0
            sku:
                name: Standard
            state: Enabled
        resourceGroupName: string
        tags:
            string: string
    

    JobCollection Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The JobCollection resource accepts the following input properties:

    ResourceGroupName string
    The resource group name.
    JobCollectionName string
    The job collection name.
    Location string
    Gets or sets the storage account location.
    Name string
    Gets or sets the job collection resource name.
    Properties Pulumi.AzureNative.Scheduler.Inputs.JobCollectionProperties
    Gets or sets the job collection properties.
    Tags Dictionary<string, string>
    Gets or sets the tags.
    ResourceGroupName string
    The resource group name.
    JobCollectionName string
    The job collection name.
    Location string
    Gets or sets the storage account location.
    Name string
    Gets or sets the job collection resource name.
    Properties JobCollectionPropertiesArgs
    Gets or sets the job collection properties.
    Tags map[string]string
    Gets or sets the tags.
    resourceGroupName String
    The resource group name.
    jobCollectionName String
    The job collection name.
    location String
    Gets or sets the storage account location.
    name String
    Gets or sets the job collection resource name.
    properties JobCollectionProperties
    Gets or sets the job collection properties.
    tags Map<String,String>
    Gets or sets the tags.
    resourceGroupName string
    The resource group name.
    jobCollectionName string
    The job collection name.
    location string
    Gets or sets the storage account location.
    name string
    Gets or sets the job collection resource name.
    properties JobCollectionProperties
    Gets or sets the job collection properties.
    tags {[key: string]: string}
    Gets or sets the tags.
    resource_group_name str
    The resource group name.
    job_collection_name str
    The job collection name.
    location str
    Gets or sets the storage account location.
    name str
    Gets or sets the job collection resource name.
    properties JobCollectionPropertiesArgs
    Gets or sets the job collection properties.
    tags Mapping[str, str]
    Gets or sets the tags.
    resourceGroupName String
    The resource group name.
    jobCollectionName String
    The job collection name.
    location String
    Gets or sets the storage account location.
    name String
    Gets or sets the job collection resource name.
    properties Property Map
    Gets or sets the job collection properties.
    tags Map<String>
    Gets or sets the tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the JobCollection resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Gets the job collection resource type.
    Id string
    The provider-assigned unique ID for this managed resource.
    Type string
    Gets the job collection resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Gets the job collection resource type.
    id string
    The provider-assigned unique ID for this managed resource.
    type string
    Gets the job collection resource type.
    id str
    The provider-assigned unique ID for this managed resource.
    type str
    Gets the job collection resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    type String
    Gets the job collection resource type.

    Supporting Types

    JobCollectionProperties, JobCollectionPropertiesArgs

    Quota JobCollectionQuota
    Gets or sets the job collection quota.
    Sku Sku
    Gets or sets the SKU.
    State JobCollectionStateEnum
    Gets or sets the state.
    quota JobCollectionQuota
    Gets or sets the job collection quota.
    sku Sku
    Gets or sets the SKU.
    state JobCollectionState
    Gets or sets the state.
    quota JobCollectionQuota
    Gets or sets the job collection quota.
    sku Sku
    Gets or sets the SKU.
    state JobCollectionState
    Gets or sets the state.
    quota JobCollectionQuota
    Gets or sets the job collection quota.
    sku Sku
    Gets or sets the SKU.
    state JobCollectionState
    Gets or sets the state.
    quota Property Map
    Gets or sets the job collection quota.
    sku Property Map
    Gets or sets the SKU.
    state "Enabled" | "Disabled" | "Suspended" | "Deleted"
    Gets or sets the state.

    JobCollectionPropertiesResponse, JobCollectionPropertiesResponseArgs

    Quota Pulumi.AzureNative.Scheduler.Inputs.JobCollectionQuotaResponse
    Gets or sets the job collection quota.
    Sku Pulumi.AzureNative.Scheduler.Inputs.SkuResponse
    Gets or sets the SKU.
    State string
    Gets or sets the state.
    Quota JobCollectionQuotaResponse
    Gets or sets the job collection quota.
    Sku SkuResponse
    Gets or sets the SKU.
    State string
    Gets or sets the state.
    quota JobCollectionQuotaResponse
    Gets or sets the job collection quota.
    sku SkuResponse
    Gets or sets the SKU.
    state String
    Gets or sets the state.
    quota JobCollectionQuotaResponse
    Gets or sets the job collection quota.
    sku SkuResponse
    Gets or sets the SKU.
    state string
    Gets or sets the state.
    quota JobCollectionQuotaResponse
    Gets or sets the job collection quota.
    sku SkuResponse
    Gets or sets the SKU.
    state str
    Gets or sets the state.
    quota Property Map
    Gets or sets the job collection quota.
    sku Property Map
    Gets or sets the SKU.
    state String
    Gets or sets the state.

    JobCollectionQuota, JobCollectionQuotaArgs

    MaxJobCount int
    Gets or set the maximum job count.
    MaxJobOccurrence int
    Gets or sets the maximum job occurrence.
    MaxRecurrence Pulumi.AzureNative.Scheduler.Inputs.JobMaxRecurrence
    Gets or set the maximum recurrence.
    MaxJobCount int
    Gets or set the maximum job count.
    MaxJobOccurrence int
    Gets or sets the maximum job occurrence.
    MaxRecurrence JobMaxRecurrence
    Gets or set the maximum recurrence.
    maxJobCount Integer
    Gets or set the maximum job count.
    maxJobOccurrence Integer
    Gets or sets the maximum job occurrence.
    maxRecurrence JobMaxRecurrence
    Gets or set the maximum recurrence.
    maxJobCount number
    Gets or set the maximum job count.
    maxJobOccurrence number
    Gets or sets the maximum job occurrence.
    maxRecurrence JobMaxRecurrence
    Gets or set the maximum recurrence.
    max_job_count int
    Gets or set the maximum job count.
    max_job_occurrence int
    Gets or sets the maximum job occurrence.
    max_recurrence JobMaxRecurrence
    Gets or set the maximum recurrence.
    maxJobCount Number
    Gets or set the maximum job count.
    maxJobOccurrence Number
    Gets or sets the maximum job occurrence.
    maxRecurrence Property Map
    Gets or set the maximum recurrence.

    JobCollectionQuotaResponse, JobCollectionQuotaResponseArgs

    MaxJobCount int
    Gets or set the maximum job count.
    MaxJobOccurrence int
    Gets or sets the maximum job occurrence.
    MaxRecurrence Pulumi.AzureNative.Scheduler.Inputs.JobMaxRecurrenceResponse
    Gets or set the maximum recurrence.
    MaxJobCount int
    Gets or set the maximum job count.
    MaxJobOccurrence int
    Gets or sets the maximum job occurrence.
    MaxRecurrence JobMaxRecurrenceResponse
    Gets or set the maximum recurrence.
    maxJobCount Integer
    Gets or set the maximum job count.
    maxJobOccurrence Integer
    Gets or sets the maximum job occurrence.
    maxRecurrence JobMaxRecurrenceResponse
    Gets or set the maximum recurrence.
    maxJobCount number
    Gets or set the maximum job count.
    maxJobOccurrence number
    Gets or sets the maximum job occurrence.
    maxRecurrence JobMaxRecurrenceResponse
    Gets or set the maximum recurrence.
    max_job_count int
    Gets or set the maximum job count.
    max_job_occurrence int
    Gets or sets the maximum job occurrence.
    max_recurrence JobMaxRecurrenceResponse
    Gets or set the maximum recurrence.
    maxJobCount Number
    Gets or set the maximum job count.
    maxJobOccurrence Number
    Gets or sets the maximum job occurrence.
    maxRecurrence Property Map
    Gets or set the maximum recurrence.

    JobCollectionState, JobCollectionStateArgs

    Enabled
    Enabled
    Disabled
    Disabled
    Suspended
    Suspended
    Deleted
    Deleted
    JobCollectionStateEnabled
    Enabled
    JobCollectionStateDisabled
    Disabled
    JobCollectionStateSuspended
    Suspended
    JobCollectionStateDeleted
    Deleted
    Enabled
    Enabled
    Disabled
    Disabled
    Suspended
    Suspended
    Deleted
    Deleted
    Enabled
    Enabled
    Disabled
    Disabled
    Suspended
    Suspended
    Deleted
    Deleted
    ENABLED
    Enabled
    DISABLED
    Disabled
    SUSPENDED
    Suspended
    DELETED
    Deleted
    "Enabled"
    Enabled
    "Disabled"
    Disabled
    "Suspended"
    Suspended
    "Deleted"
    Deleted

    JobMaxRecurrence, JobMaxRecurrenceArgs

    Frequency Pulumi.AzureNative.Scheduler.RecurrenceFrequency
    Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
    Interval int
    Gets or sets the interval between retries.
    Frequency RecurrenceFrequency
    Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
    Interval int
    Gets or sets the interval between retries.
    frequency RecurrenceFrequency
    Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
    interval Integer
    Gets or sets the interval between retries.
    frequency RecurrenceFrequency
    Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
    interval number
    Gets or sets the interval between retries.
    frequency RecurrenceFrequency
    Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
    interval int
    Gets or sets the interval between retries.
    frequency "Minute" | "Hour" | "Day" | "Week" | "Month"
    Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
    interval Number
    Gets or sets the interval between retries.

    JobMaxRecurrenceResponse, JobMaxRecurrenceResponseArgs

    Frequency string
    Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
    Interval int
    Gets or sets the interval between retries.
    Frequency string
    Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
    Interval int
    Gets or sets the interval between retries.
    frequency String
    Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
    interval Integer
    Gets or sets the interval between retries.
    frequency string
    Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
    interval number
    Gets or sets the interval between retries.
    frequency str
    Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
    interval int
    Gets or sets the interval between retries.
    frequency String
    Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
    interval Number
    Gets or sets the interval between retries.

    RecurrenceFrequency, RecurrenceFrequencyArgs

    Minute
    Minute
    Hour
    Hour
    Day
    Day
    Week
    Week
    Month
    Month
    RecurrenceFrequencyMinute
    Minute
    RecurrenceFrequencyHour
    Hour
    RecurrenceFrequencyDay
    Day
    RecurrenceFrequencyWeek
    Week
    RecurrenceFrequencyMonth
    Month
    Minute
    Minute
    Hour
    Hour
    Day
    Day
    Week
    Week
    Month
    Month
    Minute
    Minute
    Hour
    Hour
    Day
    Day
    Week
    Week
    Month
    Month
    MINUTE
    Minute
    HOUR
    Hour
    DAY
    Day
    WEEK
    Week
    MONTH
    Month
    "Minute"
    Minute
    "Hour"
    Hour
    "Day"
    Day
    "Week"
    Week
    "Month"
    Month

    Sku, SkuArgs

    Name SkuDefinition
    Gets or set the SKU.
    name SkuDefinition
    Gets or set the SKU.
    name SkuDefinition
    Gets or set the SKU.
    name SkuDefinition
    Gets or set the SKU.

    SkuDefinition, SkuDefinitionArgs

    Standard
    Standard
    Free
    Free
    P10Premium
    P10Premium
    P20Premium
    P20Premium
    SkuDefinitionStandard
    Standard
    SkuDefinitionFree
    Free
    SkuDefinitionP10Premium
    P10Premium
    SkuDefinitionP20Premium
    P20Premium
    Standard
    Standard
    Free
    Free
    P10Premium
    P10Premium
    P20Premium
    P20Premium
    Standard
    Standard
    Free
    Free
    P10Premium
    P10Premium
    P20Premium
    P20Premium
    STANDARD
    Standard
    FREE
    Free
    P10_PREMIUM
    P10Premium
    P20_PREMIUM
    P20Premium
    "Standard"
    Standard
    "Free"
    Free
    "P10Premium"
    P10Premium
    "P20Premium"
    P20Premium

    SkuResponse, SkuResponseArgs

    Name string
    Gets or set the SKU.
    Name string
    Gets or set the SKU.
    name String
    Gets or set the SKU.
    name string
    Gets or set the SKU.
    name str
    Gets or set the SKU.
    name String
    Gets or set the SKU.

    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.47.1 published on Monday, Jun 24, 2024 by Pulumi