azure-native.scheduler.JobCollection
Explore with Pulumi AI
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={
"quota": {
"max_job_count": 0,
"max_job_occurrence": 0,
"max_recurrence": {
"frequency": azure_native.scheduler.RecurrenceFrequency.MINUTE,
"interval": 0,
},
},
"sku": {
"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
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:
- Resource
Group stringName - The resource group name.
- Job
Collection stringName - 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.
Azure Native. Scheduler. Inputs. Job Collection Properties - Gets or sets the job collection properties.
- Dictionary<string, string>
- Gets or sets the tags.
- Resource
Group stringName - The resource group name.
- Job
Collection stringName - The job collection name.
- Location string
- Gets or sets the storage account location.
- Name string
- Gets or sets the job collection resource name.
- Properties
Job
Collection Properties Args - Gets or sets the job collection properties.
- map[string]string
- Gets or sets the tags.
- resource
Group StringName - The resource group name.
- job
Collection StringName - The job collection name.
- location String
- Gets or sets the storage account location.
- name String
- Gets or sets the job collection resource name.
- properties
Job
Collection Properties - Gets or sets the job collection properties.
- Map<String,String>
- Gets or sets the tags.
- resource
Group stringName - The resource group name.
- job
Collection stringName - The job collection name.
- location string
- Gets or sets the storage account location.
- name string
- Gets or sets the job collection resource name.
- properties
Job
Collection Properties - Gets or sets the job collection properties.
- {[key: string]: string}
- Gets or sets the tags.
- resource_
group_ strname - The resource group name.
- job_
collection_ strname - The job collection name.
- location str
- Gets or sets the storage account location.
- name str
- Gets or sets the job collection resource name.
- properties
Job
Collection Properties Args - Gets or sets the job collection properties.
- Mapping[str, str]
- Gets or sets the tags.
- resource
Group StringName - The resource group name.
- job
Collection StringName - 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.
- 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:
Supporting Types
JobCollectionProperties, JobCollectionPropertiesArgs
- Quota
Pulumi.
Azure Native. Scheduler. Inputs. Job Collection Quota - Gets or sets the job collection quota.
- Sku
Pulumi.
Azure Native. Scheduler. Inputs. Sku - Gets or sets the SKU.
- State
Pulumi.
Azure Native. Scheduler. Job Collection State - Gets or sets the state.
- Quota
Job
Collection Quota - Gets or sets the job collection quota.
- Sku Sku
- Gets or sets the SKU.
- State
Job
Collection State Enum - Gets or sets the state.
- quota
Job
Collection Quota - Gets or sets the job collection quota.
- sku Sku
- Gets or sets the SKU.
- state
Job
Collection State - Gets or sets the state.
- quota
Job
Collection Quota - Gets or sets the job collection quota.
- sku Sku
- Gets or sets the SKU.
- state
Job
Collection State - Gets or sets the state.
- quota
Job
Collection Quota - Gets or sets the job collection quota.
- sku Sku
- Gets or sets the SKU.
- state
Job
Collection State - 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.
Azure Native. Scheduler. Inputs. Job Collection Quota Response - Gets or sets the job collection quota.
- Sku
Pulumi.
Azure Native. Scheduler. Inputs. Sku Response - Gets or sets the SKU.
- State string
- Gets or sets the state.
- Quota
Job
Collection Quota Response - Gets or sets the job collection quota.
- Sku
Sku
Response - Gets or sets the SKU.
- State string
- Gets or sets the state.
- quota
Job
Collection Quota Response - Gets or sets the job collection quota.
- sku
Sku
Response - Gets or sets the SKU.
- state String
- Gets or sets the state.
- quota
Job
Collection Quota Response - Gets or sets the job collection quota.
- sku
Sku
Response - Gets or sets the SKU.
- state string
- Gets or sets the state.
- quota
Job
Collection Quota Response - Gets or sets the job collection quota.
- sku
Sku
Response - 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
- Max
Job intCount - Gets or set the maximum job count.
- Max
Job intOccurrence - Gets or sets the maximum job occurrence.
- Max
Recurrence Pulumi.Azure Native. Scheduler. Inputs. Job Max Recurrence - Gets or set the maximum recurrence.
- Max
Job intCount - Gets or set the maximum job count.
- Max
Job intOccurrence - Gets or sets the maximum job occurrence.
- Max
Recurrence JobMax Recurrence - Gets or set the maximum recurrence.
- max
Job IntegerCount - Gets or set the maximum job count.
- max
Job IntegerOccurrence - Gets or sets the maximum job occurrence.
- max
Recurrence JobMax Recurrence - Gets or set the maximum recurrence.
- max
Job numberCount - Gets or set the maximum job count.
- max
Job numberOccurrence - Gets or sets the maximum job occurrence.
- max
Recurrence JobMax Recurrence - Gets or set the maximum recurrence.
- max_
job_ intcount - Gets or set the maximum job count.
- max_
job_ intoccurrence - Gets or sets the maximum job occurrence.
- max_
recurrence JobMax Recurrence - Gets or set the maximum recurrence.
- max
Job NumberCount - Gets or set the maximum job count.
- max
Job NumberOccurrence - Gets or sets the maximum job occurrence.
- max
Recurrence Property Map - Gets or set the maximum recurrence.
JobCollectionQuotaResponse, JobCollectionQuotaResponseArgs
- Max
Job intCount - Gets or set the maximum job count.
- Max
Job intOccurrence - Gets or sets the maximum job occurrence.
- Max
Recurrence Pulumi.Azure Native. Scheduler. Inputs. Job Max Recurrence Response - Gets or set the maximum recurrence.
- Max
Job intCount - Gets or set the maximum job count.
- Max
Job intOccurrence - Gets or sets the maximum job occurrence.
- Max
Recurrence JobMax Recurrence Response - Gets or set the maximum recurrence.
- max
Job IntegerCount - Gets or set the maximum job count.
- max
Job IntegerOccurrence - Gets or sets the maximum job occurrence.
- max
Recurrence JobMax Recurrence Response - Gets or set the maximum recurrence.
- max
Job numberCount - Gets or set the maximum job count.
- max
Job numberOccurrence - Gets or sets the maximum job occurrence.
- max
Recurrence JobMax Recurrence Response - Gets or set the maximum recurrence.
- max_
job_ intcount - Gets or set the maximum job count.
- max_
job_ intoccurrence - Gets or sets the maximum job occurrence.
- max_
recurrence JobMax Recurrence Response - Gets or set the maximum recurrence.
- max
Job NumberCount - Gets or set the maximum job count.
- max
Job NumberOccurrence - Gets or sets the maximum job occurrence.
- max
Recurrence Property Map - Gets or set the maximum recurrence.
JobCollectionState, JobCollectionStateArgs
- Enabled
- Enabled
- Disabled
- Disabled
- Suspended
- Suspended
- Deleted
- Deleted
- Job
Collection State Enabled - Enabled
- Job
Collection State Disabled - Disabled
- Job
Collection State Suspended - Suspended
- Job
Collection State 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
- "Enabled"
- Enabled
- "Disabled"
- Disabled
- "Suspended"
- Suspended
- "Deleted"
- Deleted
JobMaxRecurrence, JobMaxRecurrenceArgs
- Frequency
Pulumi.
Azure Native. Scheduler. Recurrence Frequency - Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
- Interval int
- Gets or sets the interval between retries.
- Frequency
Recurrence
Frequency - Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
- Interval int
- Gets or sets the interval between retries.
- frequency
Recurrence
Frequency - Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
- interval Integer
- Gets or sets the interval between retries.
- frequency
Recurrence
Frequency - Gets or sets the frequency of recurrence (second, minute, hour, day, week, month).
- interval number
- Gets or sets the interval between retries.
- frequency
Recurrence
Frequency - 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
RecurrenceFrequency, RecurrenceFrequencyArgs
- Minute
- Minute
- Hour
- Hour
- Day
- Day
- Week
- Week
- Month
- Month
- Recurrence
Frequency Minute - Minute
- Recurrence
Frequency Hour - Hour
- Recurrence
Frequency Day - Day
- Recurrence
Frequency Week - Week
- Recurrence
Frequency 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
- "Minute"
- Minute
- "Hour"
- Hour
- "Day"
- Day
- "Week"
- Week
- "Month"
- Month
Sku, SkuArgs
- Name
Pulumi.
Azure Native. Scheduler. Sku Definition - Gets or set the SKU.
- Name
Sku
Definition - Gets or set the SKU.
- name
Sku
Definition - Gets or set the SKU.
- name
Sku
Definition - Gets or set the SKU.
- name
Sku
Definition - Gets or set the SKU.
- name "Standard" | "Free" | "P10Premium" | "P20Premium"
- Gets or set the SKU.
SkuDefinition, SkuDefinitionArgs
- Standard
- Standard
- Free
- Free
- P10Premium
- P10Premium
- P20Premium
- P20Premium
- Sku
Definition Standard - Standard
- Sku
Definition Free - Free
- Sku
Definition P10Premium - P10Premium
- Sku
Definition P20Premium - 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