1. Packages
  2. Linode Provider
  3. API Docs
  4. ProducerImageShareGroupMember
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 a member of 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

    Accept a member into an Image Share Group:

    import * as pulumi from "@pulumi/pulumi";
    import * as linode from "@pulumi/linode";
    
    const example = new linode.ProducerImageShareGroupMember("example", {
        sharegroupId: 12345,
        token: "abcdefghijklmnopqrstuvwxyz0123456789",
        label: "example-member",
    });
    
    import pulumi
    import pulumi_linode as linode
    
    example = linode.ProducerImageShareGroupMember("example",
        sharegroup_id=12345,
        token="abcdefghijklmnopqrstuvwxyz0123456789",
        label="example-member")
    
    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.NewProducerImageShareGroupMember(ctx, "example", &linode.ProducerImageShareGroupMemberArgs{
    			SharegroupId: pulumi.Int(12345),
    			Token:        pulumi.String("abcdefghijklmnopqrstuvwxyz0123456789"),
    			Label:        pulumi.String("example-member"),
    		})
    		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 example = new Linode.ProducerImageShareGroupMember("example", new()
        {
            SharegroupId = 12345,
            Token = "abcdefghijklmnopqrstuvwxyz0123456789",
            Label = "example-member",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.linode.ProducerImageShareGroupMember;
    import com.pulumi.linode.ProducerImageShareGroupMemberArgs;
    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 example = new ProducerImageShareGroupMember("example", ProducerImageShareGroupMemberArgs.builder()
                .sharegroupId(12345)
                .token("abcdefghijklmnopqrstuvwxyz0123456789")
                .label("example-member")
                .build());
    
        }
    }
    
    resources:
      example:
        type: linode:ProducerImageShareGroupMember
        properties:
          sharegroupId: 12345
          token: abcdefghijklmnopqrstuvwxyz0123456789
          label: example-member
    

    Create ProducerImageShareGroupMember Resource

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

    Constructor syntax

    new ProducerImageShareGroupMember(name: string, args: ProducerImageShareGroupMemberArgs, opts?: CustomResourceOptions);
    @overload
    def ProducerImageShareGroupMember(resource_name: str,
                                      args: ProducerImageShareGroupMemberArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def ProducerImageShareGroupMember(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      label: Optional[str] = None,
                                      sharegroup_id: Optional[int] = None,
                                      token: Optional[str] = None)
    func NewProducerImageShareGroupMember(ctx *Context, name string, args ProducerImageShareGroupMemberArgs, opts ...ResourceOption) (*ProducerImageShareGroupMember, error)
    public ProducerImageShareGroupMember(string name, ProducerImageShareGroupMemberArgs args, CustomResourceOptions? opts = null)
    public ProducerImageShareGroupMember(String name, ProducerImageShareGroupMemberArgs args)
    public ProducerImageShareGroupMember(String name, ProducerImageShareGroupMemberArgs args, CustomResourceOptions options)
    
    type: linode:ProducerImageShareGroupMember
    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 ProducerImageShareGroupMemberArgs
    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 ProducerImageShareGroupMemberArgs
    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 ProducerImageShareGroupMemberArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProducerImageShareGroupMemberArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProducerImageShareGroupMemberArgs
    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 producerImageShareGroupMemberResource = new Linode.ProducerImageShareGroupMember("producerImageShareGroupMemberResource", new()
    {
        Label = "string",
        SharegroupId = 0,
        Token = "string",
    });
    
    example, err := linode.NewProducerImageShareGroupMember(ctx, "producerImageShareGroupMemberResource", &linode.ProducerImageShareGroupMemberArgs{
    	Label:        pulumi.String("string"),
    	SharegroupId: pulumi.Int(0),
    	Token:        pulumi.String("string"),
    })
    
    var producerImageShareGroupMemberResource = new ProducerImageShareGroupMember("producerImageShareGroupMemberResource", ProducerImageShareGroupMemberArgs.builder()
        .label("string")
        .sharegroupId(0)
        .token("string")
        .build());
    
    producer_image_share_group_member_resource = linode.ProducerImageShareGroupMember("producerImageShareGroupMemberResource",
        label="string",
        sharegroup_id=0,
        token="string")
    
    const producerImageShareGroupMemberResource = new linode.ProducerImageShareGroupMember("producerImageShareGroupMemberResource", {
        label: "string",
        sharegroupId: 0,
        token: "string",
    });
    
    type: linode:ProducerImageShareGroupMember
    properties:
        label: string
        sharegroupId: 0
        token: string
    

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

    Label string
    A label for the member.
    SharegroupId int
    The ID of the Image Share Group to which the member will be added.
    Token string
    The token of the prospective member.
    Label string
    A label for the member.
    SharegroupId int
    The ID of the Image Share Group to which the member will be added.
    Token string
    The token of the prospective member.
    label String
    A label for the member.
    sharegroupId Integer
    The ID of the Image Share Group to which the member will be added.
    token String
    The token of the prospective member.
    label string
    A label for the member.
    sharegroupId number
    The ID of the Image Share Group to which the member will be added.
    token string
    The token of the prospective member.
    label str
    A label for the member.
    sharegroup_id int
    The ID of the Image Share Group to which the member will be added.
    token str
    The token of the prospective member.
    label String
    A label for the member.
    sharegroupId Number
    The ID of the Image Share Group to which the member will be added.
    token String
    The token of the prospective member.

    Outputs

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

    Created string
    When the member was created.
    Expiry string
    When the member will expire.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the member.
    TokenUuid string
    The UUID of member's token.
    Updated string
    When the member was last updated.
    Created string
    When the member was created.
    Expiry string
    When the member will expire.
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    The status of the member.
    TokenUuid string
    The UUID of member's token.
    Updated string
    When the member was last updated.
    created String
    When the member was created.
    expiry String
    When the member will expire.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the member.
    tokenUuid String
    The UUID of member's token.
    updated String
    When the member was last updated.
    created string
    When the member was created.
    expiry string
    When the member will expire.
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    The status of the member.
    tokenUuid string
    The UUID of member's token.
    updated string
    When the member was last updated.
    created str
    When the member was created.
    expiry str
    When the member will expire.
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    The status of the member.
    token_uuid str
    The UUID of member's token.
    updated str
    When the member was last updated.
    created String
    When the member was created.
    expiry String
    When the member will expire.
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    The status of the member.
    tokenUuid String
    The UUID of member's token.
    updated String
    When the member was last updated.

    Look up Existing ProducerImageShareGroupMember Resource

    Get an existing ProducerImageShareGroupMember 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?: ProducerImageShareGroupMemberState, opts?: CustomResourceOptions): ProducerImageShareGroupMember
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created: Optional[str] = None,
            expiry: Optional[str] = None,
            label: Optional[str] = None,
            sharegroup_id: Optional[int] = None,
            status: Optional[str] = None,
            token: Optional[str] = None,
            token_uuid: Optional[str] = None,
            updated: Optional[str] = None) -> ProducerImageShareGroupMember
    func GetProducerImageShareGroupMember(ctx *Context, name string, id IDInput, state *ProducerImageShareGroupMemberState, opts ...ResourceOption) (*ProducerImageShareGroupMember, error)
    public static ProducerImageShareGroupMember Get(string name, Input<string> id, ProducerImageShareGroupMemberState? state, CustomResourceOptions? opts = null)
    public static ProducerImageShareGroupMember get(String name, Output<String> id, ProducerImageShareGroupMemberState state, CustomResourceOptions options)
    resources:  _:    type: linode:ProducerImageShareGroupMember    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
    When the member was created.
    Expiry string
    When the member will expire.
    Label string
    A label for the member.
    SharegroupId int
    The ID of the Image Share Group to which the member will be added.
    Status string
    The status of the member.
    Token string
    The token of the prospective member.
    TokenUuid string
    The UUID of member's token.
    Updated string
    When the member was last updated.
    Created string
    When the member was created.
    Expiry string
    When the member will expire.
    Label string
    A label for the member.
    SharegroupId int
    The ID of the Image Share Group to which the member will be added.
    Status string
    The status of the member.
    Token string
    The token of the prospective member.
    TokenUuid string
    The UUID of member's token.
    Updated string
    When the member was last updated.
    created String
    When the member was created.
    expiry String
    When the member will expire.
    label String
    A label for the member.
    sharegroupId Integer
    The ID of the Image Share Group to which the member will be added.
    status String
    The status of the member.
    token String
    The token of the prospective member.
    tokenUuid String
    The UUID of member's token.
    updated String
    When the member was last updated.
    created string
    When the member was created.
    expiry string
    When the member will expire.
    label string
    A label for the member.
    sharegroupId number
    The ID of the Image Share Group to which the member will be added.
    status string
    The status of the member.
    token string
    The token of the prospective member.
    tokenUuid string
    The UUID of member's token.
    updated string
    When the member was last updated.
    created str
    When the member was created.
    expiry str
    When the member will expire.
    label str
    A label for the member.
    sharegroup_id int
    The ID of the Image Share Group to which the member will be added.
    status str
    The status of the member.
    token str
    The token of the prospective member.
    token_uuid str
    The UUID of member's token.
    updated str
    When the member was last updated.
    created String
    When the member was created.
    expiry String
    When the member will expire.
    label String
    A label for the member.
    sharegroupId Number
    The ID of the Image Share Group to which the member will be added.
    status String
    The status of the member.
    token String
    The token of the prospective member.
    tokenUuid String
    The UUID of member's token.
    updated String
    When the member was last updated.

    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