1. Packages
  2. Yandex
  3. API Docs
  4. ServerlessContainer
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

yandex.ServerlessContainer

Explore with Pulumi AI

yandex logo
Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi

    Allows management of Yandex Cloud Serverless Containers

    Example Usage

    using Pulumi;
    using Yandex = Pulumi.Yandex;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var test_container = new Yandex.ServerlessContainer("test-container", new Yandex.ServerlessContainerArgs
            {
                CoreFraction = 100,
                Cores = 1,
                Description = "any description",
                ExecutionTimeout = "15s",
                Image = new Yandex.Inputs.ServerlessContainerImageArgs
                {
                    Url = "cr.yandex/yc/test-image:v1",
                },
                Memory = 256,
                ServiceAccountId = "are1service2account3id",
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := yandex.NewServerlessContainer(ctx, "test-container", &yandex.ServerlessContainerArgs{
    			CoreFraction:     pulumi.Int(100),
    			Cores:            pulumi.Int(1),
    			Description:      pulumi.String("any description"),
    			ExecutionTimeout: pulumi.String("15s"),
    			Image: &ServerlessContainerImageArgs{
    				Url: pulumi.String("cr.yandex/yc/test-image:v1"),
    			},
    			Memory:           pulumi.Int(256),
    			ServiceAccountId: pulumi.String("are1service2account3id"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_yandex as yandex
    
    test_container = yandex.ServerlessContainer("test-container",
        core_fraction=100,
        cores=1,
        description="any description",
        execution_timeout="15s",
        image=yandex.ServerlessContainerImageArgs(
            url="cr.yandex/yc/test-image:v1",
        ),
        memory=256,
        service_account_id="are1service2account3id")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as yandex from "@pulumi/yandex";
    
    const test_container = new yandex.ServerlessContainer("test-container", {
        coreFraction: 100,
        cores: 1,
        description: "any description",
        executionTimeout: "15s",
        image: {
            url: "cr.yandex/yc/test-image:v1",
        },
        memory: 256,
        serviceAccountId: "are1service2account3id",
    });
    

    Coming soon!

    using Pulumi;
    using Yandex = Pulumi.Yandex;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var test_container_with_digest = new Yandex.ServerlessContainer("test-container-with-digest", new Yandex.ServerlessContainerArgs
            {
                Image = new Yandex.Inputs.ServerlessContainerImageArgs
                {
                    Digest = "sha256:e1d772fa8795adac847a2420c87d0d2e3d38fb02f168cab8c0b5fe2fb95c47f4",
                    Url = "cr.yandex/yc/test-image:v1",
                },
                Memory = 128,
            });
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := yandex.NewServerlessContainer(ctx, "test-container-with-digest", &yandex.ServerlessContainerArgs{
    			Image: &ServerlessContainerImageArgs{
    				Digest: pulumi.String("sha256:e1d772fa8795adac847a2420c87d0d2e3d38fb02f168cab8c0b5fe2fb95c47f4"),
    				Url:    pulumi.String("cr.yandex/yc/test-image:v1"),
    			},
    			Memory: pulumi.Int(128),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_yandex as yandex
    
    test_container_with_digest = yandex.ServerlessContainer("test-container-with-digest",
        image=yandex.ServerlessContainerImageArgs(
            digest="sha256:e1d772fa8795adac847a2420c87d0d2e3d38fb02f168cab8c0b5fe2fb95c47f4",
            url="cr.yandex/yc/test-image:v1",
        ),
        memory=128)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as yandex from "@pulumi/yandex";
    
    const test_container_with_digest = new yandex.ServerlessContainer("test-container-with-digest", {
        image: {
            digest: "sha256:e1d772fa8795adac847a2420c87d0d2e3d38fb02f168cab8c0b5fe2fb95c47f4",
            url: "cr.yandex/yc/test-image:v1",
        },
        memory: 128,
    });
    

    Coming soon!

    Create ServerlessContainer Resource

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

    Constructor syntax

    new ServerlessContainer(name: string, args: ServerlessContainerArgs, opts?: CustomResourceOptions);
    @overload
    def ServerlessContainer(resource_name: str,
                            args: ServerlessContainerArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServerlessContainer(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            image: Optional[ServerlessContainerImageArgs] = None,
                            memory: Optional[int] = None,
                            concurrency: Optional[int] = None,
                            core_fraction: Optional[int] = None,
                            cores: Optional[int] = None,
                            description: Optional[str] = None,
                            execution_timeout: Optional[str] = None,
                            folder_id: Optional[str] = None,
                            labels: Optional[Mapping[str, str]] = None,
                            name: Optional[str] = None,
                            service_account_id: Optional[str] = None)
    func NewServerlessContainer(ctx *Context, name string, args ServerlessContainerArgs, opts ...ResourceOption) (*ServerlessContainer, error)
    public ServerlessContainer(string name, ServerlessContainerArgs args, CustomResourceOptions? opts = null)
    public ServerlessContainer(String name, ServerlessContainerArgs args)
    public ServerlessContainer(String name, ServerlessContainerArgs args, CustomResourceOptions options)
    
    type: yandex:ServerlessContainer
    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 ServerlessContainerArgs
    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 ServerlessContainerArgs
    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 ServerlessContainerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServerlessContainerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServerlessContainerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var serverlessContainerResource = new Yandex.ServerlessContainer("serverlessContainerResource", new()
    {
        Image = new Yandex.Inputs.ServerlessContainerImageArgs
        {
            Url = "string",
            Args = new[]
            {
                "string",
            },
            Commands = new[]
            {
                "string",
            },
            Digest = "string",
            Environment = 
            {
                { "string", "string" },
            },
            WorkDir = "string",
        },
        Memory = 0,
        Concurrency = 0,
        CoreFraction = 0,
        Cores = 0,
        Description = "string",
        ExecutionTimeout = "string",
        FolderId = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Name = "string",
        ServiceAccountId = "string",
    });
    
    example, err := yandex.NewServerlessContainer(ctx, "serverlessContainerResource", &yandex.ServerlessContainerArgs{
    	Image: &yandex.ServerlessContainerImageArgs{
    		Url: pulumi.String("string"),
    		Args: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Commands: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Digest: pulumi.String("string"),
    		Environment: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    		WorkDir: pulumi.String("string"),
    	},
    	Memory:           pulumi.Int(0),
    	Concurrency:      pulumi.Int(0),
    	CoreFraction:     pulumi.Int(0),
    	Cores:            pulumi.Int(0),
    	Description:      pulumi.String("string"),
    	ExecutionTimeout: pulumi.String("string"),
    	FolderId:         pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Name:             pulumi.String("string"),
    	ServiceAccountId: pulumi.String("string"),
    })
    
    var serverlessContainerResource = new ServerlessContainer("serverlessContainerResource", ServerlessContainerArgs.builder()        
        .image(ServerlessContainerImageArgs.builder()
            .url("string")
            .args("string")
            .commands("string")
            .digest("string")
            .environment(Map.of("string", "string"))
            .workDir("string")
            .build())
        .memory(0)
        .concurrency(0)
        .coreFraction(0)
        .cores(0)
        .description("string")
        .executionTimeout("string")
        .folderId("string")
        .labels(Map.of("string", "string"))
        .name("string")
        .serviceAccountId("string")
        .build());
    
    serverless_container_resource = yandex.ServerlessContainer("serverlessContainerResource",
        image=yandex.ServerlessContainerImageArgs(
            url="string",
            args=["string"],
            commands=["string"],
            digest="string",
            environment={
                "string": "string",
            },
            work_dir="string",
        ),
        memory=0,
        concurrency=0,
        core_fraction=0,
        cores=0,
        description="string",
        execution_timeout="string",
        folder_id="string",
        labels={
            "string": "string",
        },
        name="string",
        service_account_id="string")
    
    const serverlessContainerResource = new yandex.ServerlessContainer("serverlessContainerResource", {
        image: {
            url: "string",
            args: ["string"],
            commands: ["string"],
            digest: "string",
            environment: {
                string: "string",
            },
            workDir: "string",
        },
        memory: 0,
        concurrency: 0,
        coreFraction: 0,
        cores: 0,
        description: "string",
        executionTimeout: "string",
        folderId: "string",
        labels: {
            string: "string",
        },
        name: "string",
        serviceAccountId: "string",
    });
    
    type: yandex:ServerlessContainer
    properties:
        concurrency: 0
        coreFraction: 0
        cores: 0
        description: string
        executionTimeout: string
        folderId: string
        image:
            args:
                - string
            commands:
                - string
            digest: string
            environment:
                string: string
            url: string
            workDir: string
        labels:
            string: string
        memory: 0
        name: string
        serviceAccountId: string
    

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

    Image ServerlessContainerImage
    Revision deployment image for Yandex Cloud Serverless Container

    • image.0.url (Required) - URL of image that will be deployed as Yandex Cloud Serverless Container
    • image.0.work_dir - Working directory for Yandex Cloud Serverless Container
    • image.0.digest - Digest of image that will be deployed as Yandex Cloud Serverless Container. If presented, should be equal to digest that will be resolved at server side by URL. Container will be updated on digest change even if image.0.url stays the same. If field not specified then its value will be computed.
    • image.0.command - List of commands for Yandex Cloud Serverless Container
    • image.0.args - List of arguments for Yandex Cloud Serverless Container
    • image.0.environment - A set of key/value environment variable pairs for Yandex Cloud Serverless Container
    Memory int
    Memory in megabytes (aligned to 128MB) for Yandex Cloud Serverless Container
    Concurrency int
    Concurrency of Yandex Cloud Serverless Container
    CoreFraction int
    Core fraction (0...100) of the Yandex Cloud Serverless Container
    Cores int
    Description string
    Description of the Yandex Cloud Serverless Container
    ExecutionTimeout string
    Execution timeout in seconds (duration format) for Yandex Cloud Serverless Container
    FolderId string
    Folder ID for the Yandex Cloud Serverless Container
    Labels Dictionary<string, string>
    A set of key/value label pairs to assign to the Yandex Cloud Serverless Container
    Name string
    Yandex Cloud Serverless Container name
    ServiceAccountId string
    Service account ID for Yandex Cloud Serverless Container
    Image ServerlessContainerImageArgs
    Revision deployment image for Yandex Cloud Serverless Container

    • image.0.url (Required) - URL of image that will be deployed as Yandex Cloud Serverless Container
    • image.0.work_dir - Working directory for Yandex Cloud Serverless Container
    • image.0.digest - Digest of image that will be deployed as Yandex Cloud Serverless Container. If presented, should be equal to digest that will be resolved at server side by URL. Container will be updated on digest change even if image.0.url stays the same. If field not specified then its value will be computed.
    • image.0.command - List of commands for Yandex Cloud Serverless Container
    • image.0.args - List of arguments for Yandex Cloud Serverless Container
    • image.0.environment - A set of key/value environment variable pairs for Yandex Cloud Serverless Container
    Memory int
    Memory in megabytes (aligned to 128MB) for Yandex Cloud Serverless Container
    Concurrency int
    Concurrency of Yandex Cloud Serverless Container
    CoreFraction int
    Core fraction (0...100) of the Yandex Cloud Serverless Container
    Cores int
    Description string
    Description of the Yandex Cloud Serverless Container
    ExecutionTimeout string
    Execution timeout in seconds (duration format) for Yandex Cloud Serverless Container
    FolderId string
    Folder ID for the Yandex Cloud Serverless Container
    Labels map[string]string
    A set of key/value label pairs to assign to the Yandex Cloud Serverless Container
    Name string
    Yandex Cloud Serverless Container name
    ServiceAccountId string
    Service account ID for Yandex Cloud Serverless Container
    image ServerlessContainerImage
    Revision deployment image for Yandex Cloud Serverless Container

    • image.0.url (Required) - URL of image that will be deployed as Yandex Cloud Serverless Container
    • image.0.work_dir - Working directory for Yandex Cloud Serverless Container
    • image.0.digest - Digest of image that will be deployed as Yandex Cloud Serverless Container. If presented, should be equal to digest that will be resolved at server side by URL. Container will be updated on digest change even if image.0.url stays the same. If field not specified then its value will be computed.
    • image.0.command - List of commands for Yandex Cloud Serverless Container
    • image.0.args - List of arguments for Yandex Cloud Serverless Container
    • image.0.environment - A set of key/value environment variable pairs for Yandex Cloud Serverless Container
    memory Integer
    Memory in megabytes (aligned to 128MB) for Yandex Cloud Serverless Container
    concurrency Integer
    Concurrency of Yandex Cloud Serverless Container
    coreFraction Integer
    Core fraction (0...100) of the Yandex Cloud Serverless Container
    cores Integer
    description String
    Description of the Yandex Cloud Serverless Container
    executionTimeout String
    Execution timeout in seconds (duration format) for Yandex Cloud Serverless Container
    folderId String
    Folder ID for the Yandex Cloud Serverless Container
    labels Map<String,String>
    A set of key/value label pairs to assign to the Yandex Cloud Serverless Container
    name String
    Yandex Cloud Serverless Container name
    serviceAccountId String
    Service account ID for Yandex Cloud Serverless Container
    image ServerlessContainerImage
    Revision deployment image for Yandex Cloud Serverless Container

    • image.0.url (Required) - URL of image that will be deployed as Yandex Cloud Serverless Container
    • image.0.work_dir - Working directory for Yandex Cloud Serverless Container
    • image.0.digest - Digest of image that will be deployed as Yandex Cloud Serverless Container. If presented, should be equal to digest that will be resolved at server side by URL. Container will be updated on digest change even if image.0.url stays the same. If field not specified then its value will be computed.
    • image.0.command - List of commands for Yandex Cloud Serverless Container
    • image.0.args - List of arguments for Yandex Cloud Serverless Container
    • image.0.environment - A set of key/value environment variable pairs for Yandex Cloud Serverless Container
    memory number
    Memory in megabytes (aligned to 128MB) for Yandex Cloud Serverless Container
    concurrency number
    Concurrency of Yandex Cloud Serverless Container
    coreFraction number
    Core fraction (0...100) of the Yandex Cloud Serverless Container
    cores number
    description string
    Description of the Yandex Cloud Serverless Container
    executionTimeout string
    Execution timeout in seconds (duration format) for Yandex Cloud Serverless Container
    folderId string
    Folder ID for the Yandex Cloud Serverless Container
    labels {[key: string]: string}
    A set of key/value label pairs to assign to the Yandex Cloud Serverless Container
    name string
    Yandex Cloud Serverless Container name
    serviceAccountId string
    Service account ID for Yandex Cloud Serverless Container
    image ServerlessContainerImageArgs
    Revision deployment image for Yandex Cloud Serverless Container

    • image.0.url (Required) - URL of image that will be deployed as Yandex Cloud Serverless Container
    • image.0.work_dir - Working directory for Yandex Cloud Serverless Container
    • image.0.digest - Digest of image that will be deployed as Yandex Cloud Serverless Container. If presented, should be equal to digest that will be resolved at server side by URL. Container will be updated on digest change even if image.0.url stays the same. If field not specified then its value will be computed.
    • image.0.command - List of commands for Yandex Cloud Serverless Container
    • image.0.args - List of arguments for Yandex Cloud Serverless Container
    • image.0.environment - A set of key/value environment variable pairs for Yandex Cloud Serverless Container
    memory int
    Memory in megabytes (aligned to 128MB) for Yandex Cloud Serverless Container
    concurrency int
    Concurrency of Yandex Cloud Serverless Container
    core_fraction int
    Core fraction (0...100) of the Yandex Cloud Serverless Container
    cores int
    description str
    Description of the Yandex Cloud Serverless Container
    execution_timeout str
    Execution timeout in seconds (duration format) for Yandex Cloud Serverless Container
    folder_id str
    Folder ID for the Yandex Cloud Serverless Container
    labels Mapping[str, str]
    A set of key/value label pairs to assign to the Yandex Cloud Serverless Container
    name str
    Yandex Cloud Serverless Container name
    service_account_id str
    Service account ID for Yandex Cloud Serverless Container
    image Property Map
    Revision deployment image for Yandex Cloud Serverless Container

    • image.0.url (Required) - URL of image that will be deployed as Yandex Cloud Serverless Container
    • image.0.work_dir - Working directory for Yandex Cloud Serverless Container
    • image.0.digest - Digest of image that will be deployed as Yandex Cloud Serverless Container. If presented, should be equal to digest that will be resolved at server side by URL. Container will be updated on digest change even if image.0.url stays the same. If field not specified then its value will be computed.
    • image.0.command - List of commands for Yandex Cloud Serverless Container
    • image.0.args - List of arguments for Yandex Cloud Serverless Container
    • image.0.environment - A set of key/value environment variable pairs for Yandex Cloud Serverless Container
    memory Number
    Memory in megabytes (aligned to 128MB) for Yandex Cloud Serverless Container
    concurrency Number
    Concurrency of Yandex Cloud Serverless Container
    coreFraction Number
    Core fraction (0...100) of the Yandex Cloud Serverless Container
    cores Number
    description String
    Description of the Yandex Cloud Serverless Container
    executionTimeout String
    Execution timeout in seconds (duration format) for Yandex Cloud Serverless Container
    folderId String
    Folder ID for the Yandex Cloud Serverless Container
    labels Map<String>
    A set of key/value label pairs to assign to the Yandex Cloud Serverless Container
    name String
    Yandex Cloud Serverless Container name
    serviceAccountId String
    Service account ID for Yandex Cloud Serverless Container

    Outputs

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

    CreatedAt string
    Creation timestamp of the Yandex Cloud Serverless Container
    Id string
    The provider-assigned unique ID for this managed resource.
    RevisionId string
    Last revision ID of the Yandex Cloud Serverless Container
    Url string
    Invoke URL for the Yandex Cloud Serverless Container
    CreatedAt string
    Creation timestamp of the Yandex Cloud Serverless Container
    Id string
    The provider-assigned unique ID for this managed resource.
    RevisionId string
    Last revision ID of the Yandex Cloud Serverless Container
    Url string
    Invoke URL for the Yandex Cloud Serverless Container
    createdAt String
    Creation timestamp of the Yandex Cloud Serverless Container
    id String
    The provider-assigned unique ID for this managed resource.
    revisionId String
    Last revision ID of the Yandex Cloud Serverless Container
    url String
    Invoke URL for the Yandex Cloud Serverless Container
    createdAt string
    Creation timestamp of the Yandex Cloud Serverless Container
    id string
    The provider-assigned unique ID for this managed resource.
    revisionId string
    Last revision ID of the Yandex Cloud Serverless Container
    url string
    Invoke URL for the Yandex Cloud Serverless Container
    created_at str
    Creation timestamp of the Yandex Cloud Serverless Container
    id str
    The provider-assigned unique ID for this managed resource.
    revision_id str
    Last revision ID of the Yandex Cloud Serverless Container
    url str
    Invoke URL for the Yandex Cloud Serverless Container
    createdAt String
    Creation timestamp of the Yandex Cloud Serverless Container
    id String
    The provider-assigned unique ID for this managed resource.
    revisionId String
    Last revision ID of the Yandex Cloud Serverless Container
    url String
    Invoke URL for the Yandex Cloud Serverless Container

    Look up Existing ServerlessContainer Resource

    Get an existing ServerlessContainer 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?: ServerlessContainerState, opts?: CustomResourceOptions): ServerlessContainer
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            concurrency: Optional[int] = None,
            core_fraction: Optional[int] = None,
            cores: Optional[int] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            execution_timeout: Optional[str] = None,
            folder_id: Optional[str] = None,
            image: Optional[ServerlessContainerImageArgs] = None,
            labels: Optional[Mapping[str, str]] = None,
            memory: Optional[int] = None,
            name: Optional[str] = None,
            revision_id: Optional[str] = None,
            service_account_id: Optional[str] = None,
            url: Optional[str] = None) -> ServerlessContainer
    func GetServerlessContainer(ctx *Context, name string, id IDInput, state *ServerlessContainerState, opts ...ResourceOption) (*ServerlessContainer, error)
    public static ServerlessContainer Get(string name, Input<string> id, ServerlessContainerState? state, CustomResourceOptions? opts = null)
    public static ServerlessContainer get(String name, Output<String> id, ServerlessContainerState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    Concurrency int
    Concurrency of Yandex Cloud Serverless Container
    CoreFraction int
    Core fraction (0...100) of the Yandex Cloud Serverless Container
    Cores int
    CreatedAt string
    Creation timestamp of the Yandex Cloud Serverless Container
    Description string
    Description of the Yandex Cloud Serverless Container
    ExecutionTimeout string
    Execution timeout in seconds (duration format) for Yandex Cloud Serverless Container
    FolderId string
    Folder ID for the Yandex Cloud Serverless Container
    Image ServerlessContainerImage
    Revision deployment image for Yandex Cloud Serverless Container

    • image.0.url (Required) - URL of image that will be deployed as Yandex Cloud Serverless Container
    • image.0.work_dir - Working directory for Yandex Cloud Serverless Container
    • image.0.digest - Digest of image that will be deployed as Yandex Cloud Serverless Container. If presented, should be equal to digest that will be resolved at server side by URL. Container will be updated on digest change even if image.0.url stays the same. If field not specified then its value will be computed.
    • image.0.command - List of commands for Yandex Cloud Serverless Container
    • image.0.args - List of arguments for Yandex Cloud Serverless Container
    • image.0.environment - A set of key/value environment variable pairs for Yandex Cloud Serverless Container
    Labels Dictionary<string, string>
    A set of key/value label pairs to assign to the Yandex Cloud Serverless Container
    Memory int
    Memory in megabytes (aligned to 128MB) for Yandex Cloud Serverless Container
    Name string
    Yandex Cloud Serverless Container name
    RevisionId string
    Last revision ID of the Yandex Cloud Serverless Container
    ServiceAccountId string
    Service account ID for Yandex Cloud Serverless Container
    Url string
    Invoke URL for the Yandex Cloud Serverless Container
    Concurrency int
    Concurrency of Yandex Cloud Serverless Container
    CoreFraction int
    Core fraction (0...100) of the Yandex Cloud Serverless Container
    Cores int
    CreatedAt string
    Creation timestamp of the Yandex Cloud Serverless Container
    Description string
    Description of the Yandex Cloud Serverless Container
    ExecutionTimeout string
    Execution timeout in seconds (duration format) for Yandex Cloud Serverless Container
    FolderId string
    Folder ID for the Yandex Cloud Serverless Container
    Image ServerlessContainerImageArgs
    Revision deployment image for Yandex Cloud Serverless Container

    • image.0.url (Required) - URL of image that will be deployed as Yandex Cloud Serverless Container
    • image.0.work_dir - Working directory for Yandex Cloud Serverless Container
    • image.0.digest - Digest of image that will be deployed as Yandex Cloud Serverless Container. If presented, should be equal to digest that will be resolved at server side by URL. Container will be updated on digest change even if image.0.url stays the same. If field not specified then its value will be computed.
    • image.0.command - List of commands for Yandex Cloud Serverless Container
    • image.0.args - List of arguments for Yandex Cloud Serverless Container
    • image.0.environment - A set of key/value environment variable pairs for Yandex Cloud Serverless Container
    Labels map[string]string
    A set of key/value label pairs to assign to the Yandex Cloud Serverless Container
    Memory int
    Memory in megabytes (aligned to 128MB) for Yandex Cloud Serverless Container
    Name string
    Yandex Cloud Serverless Container name
    RevisionId string
    Last revision ID of the Yandex Cloud Serverless Container
    ServiceAccountId string
    Service account ID for Yandex Cloud Serverless Container
    Url string
    Invoke URL for the Yandex Cloud Serverless Container
    concurrency Integer
    Concurrency of Yandex Cloud Serverless Container
    coreFraction Integer
    Core fraction (0...100) of the Yandex Cloud Serverless Container
    cores Integer
    createdAt String
    Creation timestamp of the Yandex Cloud Serverless Container
    description String
    Description of the Yandex Cloud Serverless Container
    executionTimeout String
    Execution timeout in seconds (duration format) for Yandex Cloud Serverless Container
    folderId String
    Folder ID for the Yandex Cloud Serverless Container
    image ServerlessContainerImage
    Revision deployment image for Yandex Cloud Serverless Container

    • image.0.url (Required) - URL of image that will be deployed as Yandex Cloud Serverless Container
    • image.0.work_dir - Working directory for Yandex Cloud Serverless Container
    • image.0.digest - Digest of image that will be deployed as Yandex Cloud Serverless Container. If presented, should be equal to digest that will be resolved at server side by URL. Container will be updated on digest change even if image.0.url stays the same. If field not specified then its value will be computed.
    • image.0.command - List of commands for Yandex Cloud Serverless Container
    • image.0.args - List of arguments for Yandex Cloud Serverless Container
    • image.0.environment - A set of key/value environment variable pairs for Yandex Cloud Serverless Container
    labels Map<String,String>
    A set of key/value label pairs to assign to the Yandex Cloud Serverless Container
    memory Integer
    Memory in megabytes (aligned to 128MB) for Yandex Cloud Serverless Container
    name String
    Yandex Cloud Serverless Container name
    revisionId String
    Last revision ID of the Yandex Cloud Serverless Container
    serviceAccountId String
    Service account ID for Yandex Cloud Serverless Container
    url String
    Invoke URL for the Yandex Cloud Serverless Container
    concurrency number
    Concurrency of Yandex Cloud Serverless Container
    coreFraction number
    Core fraction (0...100) of the Yandex Cloud Serverless Container
    cores number
    createdAt string
    Creation timestamp of the Yandex Cloud Serverless Container
    description string
    Description of the Yandex Cloud Serverless Container
    executionTimeout string
    Execution timeout in seconds (duration format) for Yandex Cloud Serverless Container
    folderId string
    Folder ID for the Yandex Cloud Serverless Container
    image ServerlessContainerImage
    Revision deployment image for Yandex Cloud Serverless Container

    • image.0.url (Required) - URL of image that will be deployed as Yandex Cloud Serverless Container
    • image.0.work_dir - Working directory for Yandex Cloud Serverless Container
    • image.0.digest - Digest of image that will be deployed as Yandex Cloud Serverless Container. If presented, should be equal to digest that will be resolved at server side by URL. Container will be updated on digest change even if image.0.url stays the same. If field not specified then its value will be computed.
    • image.0.command - List of commands for Yandex Cloud Serverless Container
    • image.0.args - List of arguments for Yandex Cloud Serverless Container
    • image.0.environment - A set of key/value environment variable pairs for Yandex Cloud Serverless Container
    labels {[key: string]: string}
    A set of key/value label pairs to assign to the Yandex Cloud Serverless Container
    memory number
    Memory in megabytes (aligned to 128MB) for Yandex Cloud Serverless Container
    name string
    Yandex Cloud Serverless Container name
    revisionId string
    Last revision ID of the Yandex Cloud Serverless Container
    serviceAccountId string
    Service account ID for Yandex Cloud Serverless Container
    url string
    Invoke URL for the Yandex Cloud Serverless Container
    concurrency int
    Concurrency of Yandex Cloud Serverless Container
    core_fraction int
    Core fraction (0...100) of the Yandex Cloud Serverless Container
    cores int
    created_at str
    Creation timestamp of the Yandex Cloud Serverless Container
    description str
    Description of the Yandex Cloud Serverless Container
    execution_timeout str
    Execution timeout in seconds (duration format) for Yandex Cloud Serverless Container
    folder_id str
    Folder ID for the Yandex Cloud Serverless Container
    image ServerlessContainerImageArgs
    Revision deployment image for Yandex Cloud Serverless Container

    • image.0.url (Required) - URL of image that will be deployed as Yandex Cloud Serverless Container
    • image.0.work_dir - Working directory for Yandex Cloud Serverless Container
    • image.0.digest - Digest of image that will be deployed as Yandex Cloud Serverless Container. If presented, should be equal to digest that will be resolved at server side by URL. Container will be updated on digest change even if image.0.url stays the same. If field not specified then its value will be computed.
    • image.0.command - List of commands for Yandex Cloud Serverless Container
    • image.0.args - List of arguments for Yandex Cloud Serverless Container
    • image.0.environment - A set of key/value environment variable pairs for Yandex Cloud Serverless Container
    labels Mapping[str, str]
    A set of key/value label pairs to assign to the Yandex Cloud Serverless Container
    memory int
    Memory in megabytes (aligned to 128MB) for Yandex Cloud Serverless Container
    name str
    Yandex Cloud Serverless Container name
    revision_id str
    Last revision ID of the Yandex Cloud Serverless Container
    service_account_id str
    Service account ID for Yandex Cloud Serverless Container
    url str
    Invoke URL for the Yandex Cloud Serverless Container
    concurrency Number
    Concurrency of Yandex Cloud Serverless Container
    coreFraction Number
    Core fraction (0...100) of the Yandex Cloud Serverless Container
    cores Number
    createdAt String
    Creation timestamp of the Yandex Cloud Serverless Container
    description String
    Description of the Yandex Cloud Serverless Container
    executionTimeout String
    Execution timeout in seconds (duration format) for Yandex Cloud Serverless Container
    folderId String
    Folder ID for the Yandex Cloud Serverless Container
    image Property Map
    Revision deployment image for Yandex Cloud Serverless Container

    • image.0.url (Required) - URL of image that will be deployed as Yandex Cloud Serverless Container
    • image.0.work_dir - Working directory for Yandex Cloud Serverless Container
    • image.0.digest - Digest of image that will be deployed as Yandex Cloud Serverless Container. If presented, should be equal to digest that will be resolved at server side by URL. Container will be updated on digest change even if image.0.url stays the same. If field not specified then its value will be computed.
    • image.0.command - List of commands for Yandex Cloud Serverless Container
    • image.0.args - List of arguments for Yandex Cloud Serverless Container
    • image.0.environment - A set of key/value environment variable pairs for Yandex Cloud Serverless Container
    labels Map<String>
    A set of key/value label pairs to assign to the Yandex Cloud Serverless Container
    memory Number
    Memory in megabytes (aligned to 128MB) for Yandex Cloud Serverless Container
    name String
    Yandex Cloud Serverless Container name
    revisionId String
    Last revision ID of the Yandex Cloud Serverless Container
    serviceAccountId String
    Service account ID for Yandex Cloud Serverless Container
    url String
    Invoke URL for the Yandex Cloud Serverless Container

    Supporting Types

    ServerlessContainerImage, ServerlessContainerImageArgs

    Url string
    Invoke URL for the Yandex Cloud Serverless Container
    Args List<string>
    Commands List<string>
    Digest string
    Environment Dictionary<string, string>
    WorkDir string
    Url string
    Invoke URL for the Yandex Cloud Serverless Container
    Args []string
    Commands []string
    Digest string
    Environment map[string]string
    WorkDir string
    url String
    Invoke URL for the Yandex Cloud Serverless Container
    args List<String>
    commands List<String>
    digest String
    environment Map<String,String>
    workDir String
    url string
    Invoke URL for the Yandex Cloud Serverless Container
    args string[]
    commands string[]
    digest string
    environment {[key: string]: string}
    workDir string
    url str
    Invoke URL for the Yandex Cloud Serverless Container
    args Sequence[str]
    commands Sequence[str]
    digest str
    environment Mapping[str, str]
    work_dir str
    url String
    Invoke URL for the Yandex Cloud Serverless Container
    args List<String>
    commands List<String>
    digest String
    environment Map<String>
    workDir String

    Package Details

    Repository
    Yandex pulumi/pulumi-yandex
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the yandex Terraform Provider.
    yandex logo
    Yandex v0.13.0 published on Tuesday, Feb 22, 2022 by Pulumi