1. Packages
  2. Azure Native v2
  3. API Docs
  4. scheduler
  5. JobCollection
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.scheduler.JobCollection

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 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} 
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. JobCollectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. JobCollectionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. JobCollectionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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 = 
    {
        { "quota", 
        {
            { "maxJobCount", 0 },
            { "maxJobOccurrence", 0 },
            { "maxRecurrence", 
            {
                { "frequency", "Minute" },
                { "interval", 0 },
            } },
        } },
        { "sku", 
        {
            { "name", "Standard" },
        } },
        { "state", "Enabled" },
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := scheduler.NewJobCollection(ctx, "jobCollectionResource", &scheduler.JobCollectionArgs{
	ResourceGroupName: "string",
	JobCollectionName: "string",
	Location:          "string",
	Name:              "string",
	Properties: map[string]interface{}{
		"quota": map[string]interface{}{
			"maxJobCount":      0,
			"maxJobOccurrence": 0,
			"maxRecurrence": map[string]interface{}{
				"frequency": "Minute",
				"interval":  0,
			},
		},
		"sku": map[string]interface{}{
			"name": "Standard",
		},
		"state": "Enabled",
	},
	Tags: map[string]interface{}{
		"string": "string",
	},
})
Copy
var jobCollectionResource = new JobCollection("jobCollectionResource", JobCollectionArgs.builder()
    .resourceGroupName("string")
    .jobCollectionName("string")
    .location("string")
    .name("string")
    .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
job_collection_resource = azure_native.scheduler.JobCollection("jobCollectionResource",
    resource_group_name=string,
    job_collection_name=string,
    location=string,
    name=string,
    properties={
        quota: {
            maxJobCount: 0,
            maxJobOccurrence: 0,
            maxRecurrence: {
                frequency: Minute,
                interval: 0,
            },
        },
        sku: {
            name: Standard,
        },
        state: Enabled,
    },
    tags={
        string: string,
    })
Copy
const jobCollectionResource = new azure_native.scheduler.JobCollection("jobCollectionResource", {
    resourceGroupName: "string",
    jobCollectionName: "string",
    location: "string",
    name: "string",
    properties: {
        quota: {
            maxJobCount: 0,
            maxJobOccurrence: 0,
            maxRecurrence: {
                frequency: "Minute",
                interval: 0,
            },
        },
        sku: {
            name: "Standard",
        },
        state: "Enabled",
    },
    tags: {
        string: "string",
    },
});
Copy
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
Copy

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

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The JobCollection resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
JobCollectionName Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
JobCollectionName Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.
jobCollectionName Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
jobCollectionName Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
str
The resource group name.
job_collection_name Changes to this property will trigger replacement. 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
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.
jobCollectionName Changes to this property will trigger replacement. 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-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi