1. Packages
  2. Snowflake Provider
  3. API Docs
  4. JobService
Snowflake v2.1.0 published on Thursday, Jun 26, 2025 by Pulumi

snowflake.JobService

Explore with Pulumi AI

snowflake logo
Snowflake v2.1.0 published on Thursday, Jun 26, 2025 by Pulumi

    Import

    $ pulumi import snowflake:index/jobService:JobService example '"<database_name>"."<schema_name>"."<job_service_name>"'
    

    Create JobService Resource

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

    Constructor syntax

    new JobService(name: string, args: JobServiceArgs, opts?: CustomResourceOptions);
    @overload
    def JobService(resource_name: str,
                   args: JobServiceArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def JobService(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   compute_pool: Optional[str] = None,
                   database: Optional[str] = None,
                   schema: Optional[str] = None,
                   comment: Optional[str] = None,
                   external_access_integrations: Optional[Sequence[str]] = None,
                   from_specification: Optional[JobServiceFromSpecificationArgs] = None,
                   from_specification_template: Optional[JobServiceFromSpecificationTemplateArgs] = None,
                   name: Optional[str] = None,
                   query_warehouse: Optional[str] = None)
    func NewJobService(ctx *Context, name string, args JobServiceArgs, opts ...ResourceOption) (*JobService, error)
    public JobService(string name, JobServiceArgs args, CustomResourceOptions? opts = null)
    public JobService(String name, JobServiceArgs args)
    public JobService(String name, JobServiceArgs args, CustomResourceOptions options)
    
    type: snowflake:JobService
    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 JobServiceArgs
    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 JobServiceArgs
    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 JobServiceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args JobServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args JobServiceArgs
    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 jobServiceResource = new Snowflake.JobService("jobServiceResource", new()
    {
        ComputePool = "string",
        Database = "string",
        Schema = "string",
        Comment = "string",
        ExternalAccessIntegrations = new[]
        {
            "string",
        },
        FromSpecification = new Snowflake.Inputs.JobServiceFromSpecificationArgs
        {
            File = "string",
            Path = "string",
            Stage = "string",
            Text = "string",
        },
        FromSpecificationTemplate = new Snowflake.Inputs.JobServiceFromSpecificationTemplateArgs
        {
            Usings = new[]
            {
                new Snowflake.Inputs.JobServiceFromSpecificationTemplateUsingArgs
                {
                    Key = "string",
                    Value = "string",
                },
            },
            File = "string",
            Path = "string",
            Stage = "string",
            Text = "string",
        },
        Name = "string",
        QueryWarehouse = "string",
    });
    
    example, err := snowflake.NewJobService(ctx, "jobServiceResource", &snowflake.JobServiceArgs{
    	ComputePool: pulumi.String("string"),
    	Database:    pulumi.String("string"),
    	Schema:      pulumi.String("string"),
    	Comment:     pulumi.String("string"),
    	ExternalAccessIntegrations: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	FromSpecification: &snowflake.JobServiceFromSpecificationArgs{
    		File:  pulumi.String("string"),
    		Path:  pulumi.String("string"),
    		Stage: pulumi.String("string"),
    		Text:  pulumi.String("string"),
    	},
    	FromSpecificationTemplate: &snowflake.JobServiceFromSpecificationTemplateArgs{
    		Usings: snowflake.JobServiceFromSpecificationTemplateUsingArray{
    			&snowflake.JobServiceFromSpecificationTemplateUsingArgs{
    				Key:   pulumi.String("string"),
    				Value: pulumi.String("string"),
    			},
    		},
    		File:  pulumi.String("string"),
    		Path:  pulumi.String("string"),
    		Stage: pulumi.String("string"),
    		Text:  pulumi.String("string"),
    	},
    	Name:           pulumi.String("string"),
    	QueryWarehouse: pulumi.String("string"),
    })
    
    var jobServiceResource = new JobService("jobServiceResource", JobServiceArgs.builder()
        .computePool("string")
        .database("string")
        .schema("string")
        .comment("string")
        .externalAccessIntegrations("string")
        .fromSpecification(JobServiceFromSpecificationArgs.builder()
            .file("string")
            .path("string")
            .stage("string")
            .text("string")
            .build())
        .fromSpecificationTemplate(JobServiceFromSpecificationTemplateArgs.builder()
            .usings(JobServiceFromSpecificationTemplateUsingArgs.builder()
                .key("string")
                .value("string")
                .build())
            .file("string")
            .path("string")
            .stage("string")
            .text("string")
            .build())
        .name("string")
        .queryWarehouse("string")
        .build());
    
    job_service_resource = snowflake.JobService("jobServiceResource",
        compute_pool="string",
        database="string",
        schema="string",
        comment="string",
        external_access_integrations=["string"],
        from_specification={
            "file": "string",
            "path": "string",
            "stage": "string",
            "text": "string",
        },
        from_specification_template={
            "usings": [{
                "key": "string",
                "value": "string",
            }],
            "file": "string",
            "path": "string",
            "stage": "string",
            "text": "string",
        },
        name="string",
        query_warehouse="string")
    
    const jobServiceResource = new snowflake.JobService("jobServiceResource", {
        computePool: "string",
        database: "string",
        schema: "string",
        comment: "string",
        externalAccessIntegrations: ["string"],
        fromSpecification: {
            file: "string",
            path: "string",
            stage: "string",
            text: "string",
        },
        fromSpecificationTemplate: {
            usings: [{
                key: "string",
                value: "string",
            }],
            file: "string",
            path: "string",
            stage: "string",
            text: "string",
        },
        name: "string",
        queryWarehouse: "string",
    });
    
    type: snowflake:JobService
    properties:
        comment: string
        computePool: string
        database: string
        externalAccessIntegrations:
            - string
        fromSpecification:
            file: string
            path: string
            stage: string
            text: string
        fromSpecificationTemplate:
            file: string
            path: string
            stage: string
            text: string
            usings:
                - key: string
                  value: string
        name: string
        queryWarehouse: string
        schema: string
    

    JobService 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 JobService resource accepts the following input properties:

    ComputePool string
    Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see docs). Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    Database string
    The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    Schema string
    The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    Comment string
    Specifies a comment for the service.
    ExternalAccessIntegrations List<string>
    Specifies the names of the external access integrations that allow your service to access external sites.
    FromSpecification JobServiceFromSpecification
    Specifies the service specification to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    FromSpecificationTemplate JobServiceFromSpecificationTemplate
    Specifies the service specification template to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    Name string
    Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    QueryWarehouse string
    Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    ComputePool string
    Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see docs). Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    Database string
    The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    Schema string
    The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    Comment string
    Specifies a comment for the service.
    ExternalAccessIntegrations []string
    Specifies the names of the external access integrations that allow your service to access external sites.
    FromSpecification JobServiceFromSpecificationArgs
    Specifies the service specification to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    FromSpecificationTemplate JobServiceFromSpecificationTemplateArgs
    Specifies the service specification template to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    Name string
    Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    QueryWarehouse string
    Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    computePool String
    Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see docs). Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    database String
    The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    schema String
    The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    comment String
    Specifies a comment for the service.
    externalAccessIntegrations List<String>
    Specifies the names of the external access integrations that allow your service to access external sites.
    fromSpecification JobServiceFromSpecification
    Specifies the service specification to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    fromSpecificationTemplate JobServiceFromSpecificationTemplate
    Specifies the service specification template to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    name String
    Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    queryWarehouse String
    Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    computePool string
    Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see docs). Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    database string
    The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    schema string
    The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    comment string
    Specifies a comment for the service.
    externalAccessIntegrations string[]
    Specifies the names of the external access integrations that allow your service to access external sites.
    fromSpecification JobServiceFromSpecification
    Specifies the service specification to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    fromSpecificationTemplate JobServiceFromSpecificationTemplate
    Specifies the service specification template to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    name string
    Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    queryWarehouse string
    Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    compute_pool str
    Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see docs). Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    database str
    The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    schema str
    The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    comment str
    Specifies a comment for the service.
    external_access_integrations Sequence[str]
    Specifies the names of the external access integrations that allow your service to access external sites.
    from_specification JobServiceFromSpecificationArgs
    Specifies the service specification to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    from_specification_template JobServiceFromSpecificationTemplateArgs
    Specifies the service specification template to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    name str
    Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    query_warehouse str
    Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    computePool String
    Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see docs). Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    database String
    The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    schema String
    The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    comment String
    Specifies a comment for the service.
    externalAccessIntegrations List<String>
    Specifies the names of the external access integrations that allow your service to access external sites.
    fromSpecification Property Map
    Specifies the service specification to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    fromSpecificationTemplate Property Map
    Specifies the service specification template to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    name String
    Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    queryWarehouse String
    Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: |, ., ".

    Outputs

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

    DescribeOutputs List<JobServiceDescribeOutput>
    Outputs the result of DESCRIBE SERVICE for the given service.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceType string
    Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
    ShowOutputs List<JobServiceShowOutput>
    Outputs the result of SHOW SERVICES for the given service.
    DescribeOutputs []JobServiceDescribeOutput
    Outputs the result of DESCRIBE SERVICE for the given service.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceType string
    Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
    ShowOutputs []JobServiceShowOutput
    Outputs the result of SHOW SERVICES for the given service.
    describeOutputs List<JobServiceDescribeOutput>
    Outputs the result of DESCRIBE SERVICE for the given service.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    id String
    The provider-assigned unique ID for this managed resource.
    serviceType String
    Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
    showOutputs List<JobServiceShowOutput>
    Outputs the result of SHOW SERVICES for the given service.
    describeOutputs JobServiceDescribeOutput[]
    Outputs the result of DESCRIBE SERVICE for the given service.
    fullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    id string
    The provider-assigned unique ID for this managed resource.
    serviceType string
    Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
    showOutputs JobServiceShowOutput[]
    Outputs the result of SHOW SERVICES for the given service.
    describe_outputs Sequence[JobServiceDescribeOutput]
    Outputs the result of DESCRIBE SERVICE for the given service.
    fully_qualified_name str
    Fully qualified name of the resource. For more information, see object name resolution.
    id str
    The provider-assigned unique ID for this managed resource.
    service_type str
    Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
    show_outputs Sequence[JobServiceShowOutput]
    Outputs the result of SHOW SERVICES for the given service.
    describeOutputs List<Property Map>
    Outputs the result of DESCRIBE SERVICE for the given service.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    id String
    The provider-assigned unique ID for this managed resource.
    serviceType String
    Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
    showOutputs List<Property Map>
    Outputs the result of SHOW SERVICES for the given service.

    Look up Existing JobService Resource

    Get an existing JobService resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: JobServiceState, opts?: CustomResourceOptions): JobService
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            comment: Optional[str] = None,
            compute_pool: Optional[str] = None,
            database: Optional[str] = None,
            describe_outputs: Optional[Sequence[JobServiceDescribeOutputArgs]] = None,
            external_access_integrations: Optional[Sequence[str]] = None,
            from_specification: Optional[JobServiceFromSpecificationArgs] = None,
            from_specification_template: Optional[JobServiceFromSpecificationTemplateArgs] = None,
            fully_qualified_name: Optional[str] = None,
            name: Optional[str] = None,
            query_warehouse: Optional[str] = None,
            schema: Optional[str] = None,
            service_type: Optional[str] = None,
            show_outputs: Optional[Sequence[JobServiceShowOutputArgs]] = None) -> JobService
    func GetJobService(ctx *Context, name string, id IDInput, state *JobServiceState, opts ...ResourceOption) (*JobService, error)
    public static JobService Get(string name, Input<string> id, JobServiceState? state, CustomResourceOptions? opts = null)
    public static JobService get(String name, Output<String> id, JobServiceState state, CustomResourceOptions options)
    resources:  _:    type: snowflake:JobService    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Comment string
    Specifies a comment for the service.
    ComputePool string
    Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see docs). Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    Database string
    The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    DescribeOutputs List<JobServiceDescribeOutput>
    Outputs the result of DESCRIBE SERVICE for the given service.
    ExternalAccessIntegrations List<string>
    Specifies the names of the external access integrations that allow your service to access external sites.
    FromSpecification JobServiceFromSpecification
    Specifies the service specification to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    FromSpecificationTemplate JobServiceFromSpecificationTemplate
    Specifies the service specification template to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Name string
    Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    QueryWarehouse string
    Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    Schema string
    The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    ServiceType string
    Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
    ShowOutputs List<JobServiceShowOutput>
    Outputs the result of SHOW SERVICES for the given service.
    Comment string
    Specifies a comment for the service.
    ComputePool string
    Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see docs). Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    Database string
    The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    DescribeOutputs []JobServiceDescribeOutputArgs
    Outputs the result of DESCRIBE SERVICE for the given service.
    ExternalAccessIntegrations []string
    Specifies the names of the external access integrations that allow your service to access external sites.
    FromSpecification JobServiceFromSpecificationArgs
    Specifies the service specification to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    FromSpecificationTemplate JobServiceFromSpecificationTemplateArgs
    Specifies the service specification template to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    FullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    Name string
    Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    QueryWarehouse string
    Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    Schema string
    The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    ServiceType string
    Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
    ShowOutputs []JobServiceShowOutputArgs
    Outputs the result of SHOW SERVICES for the given service.
    comment String
    Specifies a comment for the service.
    computePool String
    Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see docs). Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    database String
    The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    describeOutputs List<JobServiceDescribeOutput>
    Outputs the result of DESCRIBE SERVICE for the given service.
    externalAccessIntegrations List<String>
    Specifies the names of the external access integrations that allow your service to access external sites.
    fromSpecification JobServiceFromSpecification
    Specifies the service specification to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    fromSpecificationTemplate JobServiceFromSpecificationTemplate
    Specifies the service specification template to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    name String
    Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    queryWarehouse String
    Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    schema String
    The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    serviceType String
    Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
    showOutputs List<JobServiceShowOutput>
    Outputs the result of SHOW SERVICES for the given service.
    comment string
    Specifies a comment for the service.
    computePool string
    Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see docs). Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    database string
    The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    describeOutputs JobServiceDescribeOutput[]
    Outputs the result of DESCRIBE SERVICE for the given service.
    externalAccessIntegrations string[]
    Specifies the names of the external access integrations that allow your service to access external sites.
    fromSpecification JobServiceFromSpecification
    Specifies the service specification to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    fromSpecificationTemplate JobServiceFromSpecificationTemplate
    Specifies the service specification template to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    fullyQualifiedName string
    Fully qualified name of the resource. For more information, see object name resolution.
    name string
    Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    queryWarehouse string
    Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    schema string
    The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    serviceType string
    Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
    showOutputs JobServiceShowOutput[]
    Outputs the result of SHOW SERVICES for the given service.
    comment str
    Specifies a comment for the service.
    compute_pool str
    Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see docs). Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    database str
    The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    describe_outputs Sequence[JobServiceDescribeOutputArgs]
    Outputs the result of DESCRIBE SERVICE for the given service.
    external_access_integrations Sequence[str]
    Specifies the names of the external access integrations that allow your service to access external sites.
    from_specification JobServiceFromSpecificationArgs
    Specifies the service specification to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    from_specification_template JobServiceFromSpecificationTemplateArgs
    Specifies the service specification template to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    fully_qualified_name str
    Fully qualified name of the resource. For more information, see object name resolution.
    name str
    Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    query_warehouse str
    Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    schema str
    The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    service_type str
    Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
    show_outputs Sequence[JobServiceShowOutputArgs]
    Outputs the result of SHOW SERVICES for the given service.
    comment String
    Specifies a comment for the service.
    computePool String
    Specifies the name of the compute pool in your account on which to run the service. Identifiers with special or lower-case characters are not supported. This limitation in the provider follows the limitation in Snowflake (see docs). Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    database String
    The database in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    describeOutputs List<Property Map>
    Outputs the result of DESCRIBE SERVICE for the given service.
    externalAccessIntegrations List<String>
    Specifies the names of the external access integrations that allow your service to access external sites.
    fromSpecification Property Map
    Specifies the service specification to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    fromSpecificationTemplate Property Map
    Specifies the service specification template to use for the service. Note that external changes on this field and nested fields are not detected. Use correctly formatted YAML files. Watch out for the space/tabs indentation. See service specification for more information.
    fullyQualifiedName String
    Fully qualified name of the resource. For more information, see object name resolution.
    name String
    Specifies the identifier for the service; must be unique for the schema in which the service is created. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    queryWarehouse String
    Warehouse to use if a service container connects to Snowflake to execute a query but does not explicitly specify a warehouse to use. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    schema String
    The schema in which to create the service. Due to technical limitations (read more here), avoid using the following characters: |, ., ".
    serviceType String
    Specifies a type for the service. This field is used for checking external changes and recreating the resources if needed.
    showOutputs List<Property Map>
    Outputs the result of SHOW SERVICES for the given service.

    Supporting Types

    JobServiceDescribeOutput, JobServiceDescribeOutputArgs

    autoResume Boolean
    autoSuspendSecs Integer
    comment String
    computePool String
    createdOn String
    currentInstances Integer
    databaseName String
    dnsName String
    externalAccessIntegrations List<String>
    isAsyncJob Boolean
    isJob Boolean
    isUpgrading Boolean
    managingObjectDomain String
    managingObjectName String
    maxInstances Integer
    minInstances Integer
    minReadyInstances Integer
    name String
    owner String
    ownerRoleType String
    queryWarehouse String
    resumedOn String
    schemaName String
    spec String
    specDigest String
    status String
    suspendedOn String
    targetInstances Integer
    updatedOn String

    JobServiceFromSpecification, JobServiceFromSpecificationArgs

    File string
    The file name of the service specification. Example: spec.yaml.
    Path string
    The path to the service specification file on the given stage. When the path is specified, the / character is automatically added as a path prefix. Example: path/to/spec.
    Stage string
    The fully qualified name of the stage containing the service specification file. At symbol (@) is added automatically. Example: "\"<db_name>\".\"<schema_name>\".\"<stage_name>\"". For more information about this resource, see docs.
    Text string
    The embedded text of the service specification.
    File string
    The file name of the service specification. Example: spec.yaml.
    Path string
    The path to the service specification file on the given stage. When the path is specified, the / character is automatically added as a path prefix. Example: path/to/spec.
    Stage string
    The fully qualified name of the stage containing the service specification file. At symbol (@) is added automatically. Example: "\"<db_name>\".\"<schema_name>\".\"<stage_name>\"". For more information about this resource, see docs.
    Text string
    The embedded text of the service specification.
    file String
    The file name of the service specification. Example: spec.yaml.
    path String
    The path to the service specification file on the given stage. When the path is specified, the / character is automatically added as a path prefix. Example: path/to/spec.
    stage String
    The fully qualified name of the stage containing the service specification file. At symbol (@) is added automatically. Example: "\"<db_name>\".\"<schema_name>\".\"<stage_name>\"". For more information about this resource, see docs.
    text String
    The embedded text of the service specification.
    file string
    The file name of the service specification. Example: spec.yaml.
    path string
    The path to the service specification file on the given stage. When the path is specified, the / character is automatically added as a path prefix. Example: path/to/spec.
    stage string
    The fully qualified name of the stage containing the service specification file. At symbol (@) is added automatically. Example: "\"<db_name>\".\"<schema_name>\".\"<stage_name>\"". For more information about this resource, see docs.
    text string
    The embedded text of the service specification.
    file str
    The file name of the service specification. Example: spec.yaml.
    path str
    The path to the service specification file on the given stage. When the path is specified, the / character is automatically added as a path prefix. Example: path/to/spec.
    stage str
    The fully qualified name of the stage containing the service specification file. At symbol (@) is added automatically. Example: "\"<db_name>\".\"<schema_name>\".\"<stage_name>\"". For more information about this resource, see docs.
    text str
    The embedded text of the service specification.
    file String
    The file name of the service specification. Example: spec.yaml.
    path String
    The path to the service specification file on the given stage. When the path is specified, the / character is automatically added as a path prefix. Example: path/to/spec.
    stage String
    The fully qualified name of the stage containing the service specification file. At symbol (@) is added automatically. Example: "\"<db_name>\".\"<schema_name>\".\"<stage_name>\"". For more information about this resource, see docs.
    text String
    The embedded text of the service specification.

    JobServiceFromSpecificationTemplate, JobServiceFromSpecificationTemplateArgs

    Usings List<JobServiceFromSpecificationTemplateUsing>
    List of the specified template variables and the values of those variables.
    File string
    The file name of the service specification template. Example: spec.yaml.
    Path string
    The path to the service specification template file on the given stage. When the path is specified, the / character is automatically added as a path prefix. Example: path/to/spec.
    Stage string
    The fully qualified name of the stage containing the service specification template file. At symbol (@) is added automatically. Example: "\"<db_name>\".\"<schema_name>\".\"<stage_name>\"". For more information about this resource, see docs.
    Text string
    The embedded text of the service specification template.
    Usings []JobServiceFromSpecificationTemplateUsing
    List of the specified template variables and the values of those variables.
    File string
    The file name of the service specification template. Example: spec.yaml.
    Path string
    The path to the service specification template file on the given stage. When the path is specified, the / character is automatically added as a path prefix. Example: path/to/spec.
    Stage string
    The fully qualified name of the stage containing the service specification template file. At symbol (@) is added automatically. Example: "\"<db_name>\".\"<schema_name>\".\"<stage_name>\"". For more information about this resource, see docs.
    Text string
    The embedded text of the service specification template.
    usings List<JobServiceFromSpecificationTemplateUsing>
    List of the specified template variables and the values of those variables.
    file String
    The file name of the service specification template. Example: spec.yaml.
    path String
    The path to the service specification template file on the given stage. When the path is specified, the / character is automatically added as a path prefix. Example: path/to/spec.
    stage String
    The fully qualified name of the stage containing the service specification template file. At symbol (@) is added automatically. Example: "\"<db_name>\".\"<schema_name>\".\"<stage_name>\"". For more information about this resource, see docs.
    text String
    The embedded text of the service specification template.
    usings JobServiceFromSpecificationTemplateUsing[]
    List of the specified template variables and the values of those variables.
    file string
    The file name of the service specification template. Example: spec.yaml.
    path string
    The path to the service specification template file on the given stage. When the path is specified, the / character is automatically added as a path prefix. Example: path/to/spec.
    stage string
    The fully qualified name of the stage containing the service specification template file. At symbol (@) is added automatically. Example: "\"<db_name>\".\"<schema_name>\".\"<stage_name>\"". For more information about this resource, see docs.
    text string
    The embedded text of the service specification template.
    usings Sequence[JobServiceFromSpecificationTemplateUsing]
    List of the specified template variables and the values of those variables.
    file str
    The file name of the service specification template. Example: spec.yaml.
    path str
    The path to the service specification template file on the given stage. When the path is specified, the / character is automatically added as a path prefix. Example: path/to/spec.
    stage str
    The fully qualified name of the stage containing the service specification template file. At symbol (@) is added automatically. Example: "\"<db_name>\".\"<schema_name>\".\"<stage_name>\"". For more information about this resource, see docs.
    text str
    The embedded text of the service specification template.
    usings List<Property Map>
    List of the specified template variables and the values of those variables.
    file String
    The file name of the service specification template. Example: spec.yaml.
    path String
    The path to the service specification template file on the given stage. When the path is specified, the / character is automatically added as a path prefix. Example: path/to/spec.
    stage String
    The fully qualified name of the stage containing the service specification template file. At symbol (@) is added automatically. Example: "\"<db_name>\".\"<schema_name>\".\"<stage_name>\"". For more information about this resource, see docs.
    text String
    The embedded text of the service specification template.

    JobServiceFromSpecificationTemplateUsing, JobServiceFromSpecificationTemplateUsingArgs

    Key string
    The name of the template variable. The provider wraps it in double quotes by default, so be aware of that while referencing the argument in the spec definition.
    Value string
    The value to assign to the variable in the template. The provider wraps it in $$ by default, so be aware of that while referencing the argument in the spec definition. The value must either be alphanumeric or valid JSON.
    Key string
    The name of the template variable. The provider wraps it in double quotes by default, so be aware of that while referencing the argument in the spec definition.
    Value string
    The value to assign to the variable in the template. The provider wraps it in $$ by default, so be aware of that while referencing the argument in the spec definition. The value must either be alphanumeric or valid JSON.
    key String
    The name of the template variable. The provider wraps it in double quotes by default, so be aware of that while referencing the argument in the spec definition.
    value String
    The value to assign to the variable in the template. The provider wraps it in $$ by default, so be aware of that while referencing the argument in the spec definition. The value must either be alphanumeric or valid JSON.
    key string
    The name of the template variable. The provider wraps it in double quotes by default, so be aware of that while referencing the argument in the spec definition.
    value string
    The value to assign to the variable in the template. The provider wraps it in $$ by default, so be aware of that while referencing the argument in the spec definition. The value must either be alphanumeric or valid JSON.
    key str
    The name of the template variable. The provider wraps it in double quotes by default, so be aware of that while referencing the argument in the spec definition.
    value str
    The value to assign to the variable in the template. The provider wraps it in $$ by default, so be aware of that while referencing the argument in the spec definition. The value must either be alphanumeric or valid JSON.
    key String
    The name of the template variable. The provider wraps it in double quotes by default, so be aware of that while referencing the argument in the spec definition.
    value String
    The value to assign to the variable in the template. The provider wraps it in $$ by default, so be aware of that while referencing the argument in the spec definition. The value must either be alphanumeric or valid JSON.

    JobServiceShowOutput, JobServiceShowOutputArgs

    Package Details

    Repository
    Snowflake pulumi/pulumi-snowflake
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the snowflake Terraform Provider.
    snowflake logo
    Snowflake v2.1.0 published on Thursday, Jun 26, 2025 by Pulumi