1. Packages
  2. Linode Provider
  3. API Docs
  4. ProducerImageShareGroup
Linode v5.6.0 published on Wednesday, Dec 24, 2025 by Pulumi
linode logo
Linode v5.6.0 published on Wednesday, Dec 24, 2025 by Pulumi

    Manages an Image Share Group. For more information, see the Linode APIv4 docs. May not be currently available to all users even under v4beta.

    Example Usage

    Create an Image Share Group without any Images:

    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const test_empty = new linode.ProducerImageShareGroup("test-empty", {
        label: "my-image-share-group",
        description: "My description.",
    });
    
    import pulumi
    import pulumi_linode as linode
    
    test_empty = linode.ProducerImageShareGroup("test-empty",
        label="my-image-share-group",
        description="My description.")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-linode/sdk/v5/go/linode"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := linode.NewProducerImageShareGroup(ctx, "test-empty", &linode.ProducerImageShareGroupArgs{
    			Label:       pulumi.String("my-image-share-group"),
    			Description: pulumi.String("My description."),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Linode = Pulumi.Linode;
    
    return await Deployment.RunAsync(() => 
    {
        var test_empty = new Linode.ProducerImageShareGroup("test-empty", new()
        {
            Label = "my-image-share-group",
            Description = "My description.",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.linode.ProducerImageShareGroup;
    import com.pulumi.linode.ProducerImageShareGroupArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var test_empty = new ProducerImageShareGroup("test-empty", ProducerImageShareGroupArgs.builder()
                .label("my-image-share-group")
                .description("My description.")
                .build());
    
        }
    }
    
    resources:
      test-empty:
        type: linode:ProducerImageShareGroup
        properties:
          label: my-image-share-group
          description: My description.
    

    Create an Image Share Group with one Image:

    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const test_images = new linode.ProducerImageShareGroup("test-images", {
        label: "my-image-share-group",
        description: "My description.",
        images: [{
            id: "private/12345",
            label: "my-image",
            description: "My image description.",
        }],
    });
    
    import pulumi
    import pulumi_linode as linode
    
    test_images = linode.ProducerImageShareGroup("test-images",
        label="my-image-share-group",
        description="My description.",
        images=[{
            "id": "private/12345",
            "label": "my-image",
            "description": "My image description.",
        }])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-linode/sdk/v5/go/linode"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := linode.NewProducerImageShareGroup(ctx, "test-images", &linode.ProducerImageShareGroupArgs{
    			Label:       pulumi.String("my-image-share-group"),
    			Description: pulumi.String("My description."),
    			Images: linode.ProducerImageShareGroupImageArray{
    				&linode.ProducerImageShareGroupImageArgs{
    					Id:          pulumi.String("private/12345"),
    					Label:       pulumi.String("my-image"),
    					Description: pulumi.String("My image description."),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Linode = Pulumi.Linode;
    
    return await Deployment.RunAsync(() => 
    {
        var test_images = new Linode.ProducerImageShareGroup("test-images", new()
        {
            Label = "my-image-share-group",
            Description = "My description.",
            Images = new[]
            {
                new Linode.Inputs.ProducerImageShareGroupImageArgs
                {
                    Id = "private/12345",
                    Label = "my-image",
                    Description = "My image description.",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.linode.ProducerImageShareGroup;
    import com.pulumi.linode.ProducerImageShareGroupArgs;
    import com.pulumi.linode.inputs.ProducerImageShareGroupImageArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var test_images = new ProducerImageShareGroup("test-images", ProducerImageShareGroupArgs.builder()
                .label("my-image-share-group")
                .description("My description.")
                .images(ProducerImageShareGroupImageArgs.builder()
                    .id("private/12345")
                    .label("my-image")
                    .description("My image description.")
                    .build())
                .build());
    
        }
    }
    
    resources:
      test-images:
        type: linode:ProducerImageShareGroup
        properties:
          label: my-image-share-group
          description: My description.
          images:
            - id: private/12345
              label: my-image
              description: My image description.
    

    Create ProducerImageShareGroup Resource

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

    Constructor syntax

    new ProducerImageShareGroup(name: string, args: ProducerImageShareGroupArgs, opts?: CustomResourceOptions);
    @overload
    def ProducerImageShareGroup(resource_name: str,
                                args: ProducerImageShareGroupArgs,
                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def ProducerImageShareGroup(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                label: Optional[str] = None,
                                description: Optional[str] = None,
                                images: Optional[Sequence[ProducerImageShareGroupImageArgs]] = None)
    func NewProducerImageShareGroup(ctx *Context, name string, args ProducerImageShareGroupArgs, opts ...ResourceOption) (*ProducerImageShareGroup, error)
    public ProducerImageShareGroup(string name, ProducerImageShareGroupArgs args, CustomResourceOptions? opts = null)
    public ProducerImageShareGroup(String name, ProducerImageShareGroupArgs args)
    public ProducerImageShareGroup(String name, ProducerImageShareGroupArgs args, CustomResourceOptions options)
    
    type: linode:ProducerImageShareGroup
    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 ProducerImageShareGroupArgs
    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 ProducerImageShareGroupArgs
    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 ProducerImageShareGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProducerImageShareGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProducerImageShareGroupArgs
    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 producerImageShareGroupResource = new Linode.ProducerImageShareGroup("producerImageShareGroupResource", new()
    {
        Label = "string",
        Description = "string",
        Images = new[]
        {
            new Linode.Inputs.ProducerImageShareGroupImageArgs
            {
                Id = "string",
                Description = "string",
                Label = "string",
            },
        },
    });
    
    example, err := linode.NewProducerImageShareGroup(ctx, "producerImageShareGroupResource", &linode.ProducerImageShareGroupArgs{
    	Label:       pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Images: linode.ProducerImageShareGroupImageArray{
    		&linode.ProducerImageShareGroupImageArgs{
    			Id:          pulumi.String("string"),
    			Description: pulumi.String("string"),
    			Label:       pulumi.String("string"),
    		},
    	},
    })
    
    var producerImageShareGroupResource = new ProducerImageShareGroup("producerImageShareGroupResource", ProducerImageShareGroupArgs.builder()
        .label("string")
        .description("string")
        .images(ProducerImageShareGroupImageArgs.builder()
            .id("string")
            .description("string")
            .label("string")
            .build())
        .build());
    
    producer_image_share_group_resource = linode.ProducerImageShareGroup("producerImageShareGroupResource",
        label="string",
        description="string",
        images=[{
            "id": "string",
            "description": "string",
            "label": "string",
        }])
    
    const producerImageShareGroupResource = new linode.ProducerImageShareGroup("producerImageShareGroupResource", {
        label: "string",
        description: "string",
        images: [{
            id: "string",
            description: "string",
            label: "string",
        }],
    });
    
    type: linode:ProducerImageShareGroup
    properties:
        description: string
        images:
            - description: string
              id: string
              label: string
        label: string
    

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

    Label string
    The label of the Image Share Group.
    Description string
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    Images List<ProducerImageShareGroupImage>
    The images to be shared using this Image Share Group.
    Label string
    The label of the Image Share Group.
    Description string
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    Images []ProducerImageShareGroupImageArgs
    The images to be shared using this Image Share Group.
    label String
    The label of the Image Share Group.
    description String
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    images List<ProducerImageShareGroupImage>
    The images to be shared using this Image Share Group.
    label string
    The label of the Image Share Group.
    description string
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    images ProducerImageShareGroupImage[]
    The images to be shared using this Image Share Group.
    label str
    The label of the Image Share Group.
    description str
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    images Sequence[ProducerImageShareGroupImageArgs]
    The images to be shared using this Image Share Group.
    label String
    The label of the Image Share Group.
    description String
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    images List<Property Map>
    The images to be shared using this Image Share Group.

    Outputs

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

    Created string
    The date and time the Image Share Group was created.
    Expiry string
    The date and time the Image Share Group will expire.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImagesCount int
    The number of images in the Image Share Group.
    IsSuspended bool
    Whether the Image Share Group is suspended.
    MembersCount int
    The number of members in the Image Share Group.
    Updated string
    The date and time the Image Share Group was last updated.
    Uuid string
    The UUID of the Image Share Group.
    Created string
    The date and time the Image Share Group was created.
    Expiry string
    The date and time the Image Share Group will expire.
    Id string
    The provider-assigned unique ID for this managed resource.
    ImagesCount int
    The number of images in the Image Share Group.
    IsSuspended bool
    Whether the Image Share Group is suspended.
    MembersCount int
    The number of members in the Image Share Group.
    Updated string
    The date and time the Image Share Group was last updated.
    Uuid string
    The UUID of the Image Share Group.
    created String
    The date and time the Image Share Group was created.
    expiry String
    The date and time the Image Share Group will expire.
    id String
    The provider-assigned unique ID for this managed resource.
    imagesCount Integer
    The number of images in the Image Share Group.
    isSuspended Boolean
    Whether the Image Share Group is suspended.
    membersCount Integer
    The number of members in the Image Share Group.
    updated String
    The date and time the Image Share Group was last updated.
    uuid String
    The UUID of the Image Share Group.
    created string
    The date and time the Image Share Group was created.
    expiry string
    The date and time the Image Share Group will expire.
    id string
    The provider-assigned unique ID for this managed resource.
    imagesCount number
    The number of images in the Image Share Group.
    isSuspended boolean
    Whether the Image Share Group is suspended.
    membersCount number
    The number of members in the Image Share Group.
    updated string
    The date and time the Image Share Group was last updated.
    uuid string
    The UUID of the Image Share Group.
    created str
    The date and time the Image Share Group was created.
    expiry str
    The date and time the Image Share Group will expire.
    id str
    The provider-assigned unique ID for this managed resource.
    images_count int
    The number of images in the Image Share Group.
    is_suspended bool
    Whether the Image Share Group is suspended.
    members_count int
    The number of members in the Image Share Group.
    updated str
    The date and time the Image Share Group was last updated.
    uuid str
    The UUID of the Image Share Group.
    created String
    The date and time the Image Share Group was created.
    expiry String
    The date and time the Image Share Group will expire.
    id String
    The provider-assigned unique ID for this managed resource.
    imagesCount Number
    The number of images in the Image Share Group.
    isSuspended Boolean
    Whether the Image Share Group is suspended.
    membersCount Number
    The number of members in the Image Share Group.
    updated String
    The date and time the Image Share Group was last updated.
    uuid String
    The UUID of the Image Share Group.

    Look up Existing ProducerImageShareGroup Resource

    Get an existing ProducerImageShareGroup 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?: ProducerImageShareGroupState, opts?: CustomResourceOptions): ProducerImageShareGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created: Optional[str] = None,
            description: Optional[str] = None,
            expiry: Optional[str] = None,
            images: Optional[Sequence[ProducerImageShareGroupImageArgs]] = None,
            images_count: Optional[int] = None,
            is_suspended: Optional[bool] = None,
            label: Optional[str] = None,
            members_count: Optional[int] = None,
            updated: Optional[str] = None,
            uuid: Optional[str] = None) -> ProducerImageShareGroup
    func GetProducerImageShareGroup(ctx *Context, name string, id IDInput, state *ProducerImageShareGroupState, opts ...ResourceOption) (*ProducerImageShareGroup, error)
    public static ProducerImageShareGroup Get(string name, Input<string> id, ProducerImageShareGroupState? state, CustomResourceOptions? opts = null)
    public static ProducerImageShareGroup get(String name, Output<String> id, ProducerImageShareGroupState state, CustomResourceOptions options)
    resources:  _:    type: linode:ProducerImageShareGroup    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:
    Created string
    The date and time the Image Share Group was created.
    Description string
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    Expiry string
    The date and time the Image Share Group will expire.
    Images List<ProducerImageShareGroupImage>
    The images to be shared using this Image Share Group.
    ImagesCount int
    The number of images in the Image Share Group.
    IsSuspended bool
    Whether the Image Share Group is suspended.
    Label string
    The label of the Image Share Group.
    MembersCount int
    The number of members in the Image Share Group.
    Updated string
    The date and time the Image Share Group was last updated.
    Uuid string
    The UUID of the Image Share Group.
    Created string
    The date and time the Image Share Group was created.
    Description string
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    Expiry string
    The date and time the Image Share Group will expire.
    Images []ProducerImageShareGroupImageArgs
    The images to be shared using this Image Share Group.
    ImagesCount int
    The number of images in the Image Share Group.
    IsSuspended bool
    Whether the Image Share Group is suspended.
    Label string
    The label of the Image Share Group.
    MembersCount int
    The number of members in the Image Share Group.
    Updated string
    The date and time the Image Share Group was last updated.
    Uuid string
    The UUID of the Image Share Group.
    created String
    The date and time the Image Share Group was created.
    description String
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    expiry String
    The date and time the Image Share Group will expire.
    images List<ProducerImageShareGroupImage>
    The images to be shared using this Image Share Group.
    imagesCount Integer
    The number of images in the Image Share Group.
    isSuspended Boolean
    Whether the Image Share Group is suspended.
    label String
    The label of the Image Share Group.
    membersCount Integer
    The number of members in the Image Share Group.
    updated String
    The date and time the Image Share Group was last updated.
    uuid String
    The UUID of the Image Share Group.
    created string
    The date and time the Image Share Group was created.
    description string
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    expiry string
    The date and time the Image Share Group will expire.
    images ProducerImageShareGroupImage[]
    The images to be shared using this Image Share Group.
    imagesCount number
    The number of images in the Image Share Group.
    isSuspended boolean
    Whether the Image Share Group is suspended.
    label string
    The label of the Image Share Group.
    membersCount number
    The number of members in the Image Share Group.
    updated string
    The date and time the Image Share Group was last updated.
    uuid string
    The UUID of the Image Share Group.
    created str
    The date and time the Image Share Group was created.
    description str
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    expiry str
    The date and time the Image Share Group will expire.
    images Sequence[ProducerImageShareGroupImageArgs]
    The images to be shared using this Image Share Group.
    images_count int
    The number of images in the Image Share Group.
    is_suspended bool
    Whether the Image Share Group is suspended.
    label str
    The label of the Image Share Group.
    members_count int
    The number of members in the Image Share Group.
    updated str
    The date and time the Image Share Group was last updated.
    uuid str
    The UUID of the Image Share Group.
    created String
    The date and time the Image Share Group was created.
    description String
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    expiry String
    The date and time the Image Share Group will expire.
    images List<Property Map>
    The images to be shared using this Image Share Group.
    imagesCount Number
    The number of images in the Image Share Group.
    isSuspended Boolean
    Whether the Image Share Group is suspended.
    label String
    The label of the Image Share Group.
    membersCount Number
    The number of members in the Image Share Group.
    updated String
    The date and time the Image Share Group was last updated.
    uuid String
    The UUID of the Image Share Group.

    Supporting Types

    ProducerImageShareGroupImage, ProducerImageShareGroupImageArgs

    Id string
    (Required) The ID of the Image to share. This must be in the format private/<image_id>.
    Description string
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    Label string
    The label of the Image Share Group.
    Id string
    (Required) The ID of the Image to share. This must be in the format private/<image_id>.
    Description string
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    Label string
    The label of the Image Share Group.
    id String
    (Required) The ID of the Image to share. This must be in the format private/<image_id>.
    description String
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    label String
    The label of the Image Share Group.
    id string
    (Required) The ID of the Image to share. This must be in the format private/<image_id>.
    description string
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    label string
    The label of the Image Share Group.
    id str
    (Required) The ID of the Image to share. This must be in the format private/<image_id>.
    description str
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    label str
    The label of the Image Share Group.
    id String
    (Required) The ID of the Image to share. This must be in the format private/<image_id>.
    description String
    The description of the Image Share Group

    • images - (Optional) A list of Images to include in the Image Share Group.
    label String
    The label of the Image Share Group.

    Package Details

    Repository
    Linode pulumi/pulumi-linode
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the linode Terraform Provider.
    linode logo
    Linode v5.6.0 published on Wednesday, Dec 24, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate