linode.ProducerImageShareGroup provides details about 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
The following example shows how the datasource might be used to obtain additional information about an Image Share Group.
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const sg = linode.getProducerImageShareGroup({
id: 12345,
});
import pulumi
import pulumi_linode as linode
sg = linode.get_producer_image_share_group(id=12345)
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.LookupProducerImageShareGroup(ctx, &linode.LookupProducerImageShareGroupArgs{
Id: 12345,
}, nil)
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 sg = Linode.GetProducerImageShareGroup.Invoke(new()
{
Id = 12345,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.LinodeFunctions;
import com.pulumi.linode.inputs.GetProducerImageShareGroupArgs;
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) {
final var sg = LinodeFunctions.getProducerImageShareGroup(GetProducerImageShareGroupArgs.builder()
.id(12345)
.build());
}
}
variables:
sg:
fn::invoke:
function: linode:getProducerImageShareGroup
arguments:
id: 12345
Using getProducerImageShareGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getProducerImageShareGroup(args: GetProducerImageShareGroupArgs, opts?: InvokeOptions): Promise<GetProducerImageShareGroupResult>
function getProducerImageShareGroupOutput(args: GetProducerImageShareGroupOutputArgs, opts?: InvokeOptions): Output<GetProducerImageShareGroupResult>def get_producer_image_share_group(id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetProducerImageShareGroupResult
def get_producer_image_share_group_output(id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProducerImageShareGroupResult]func LookupProducerImageShareGroup(ctx *Context, args *LookupProducerImageShareGroupArgs, opts ...InvokeOption) (*LookupProducerImageShareGroupResult, error)
func LookupProducerImageShareGroupOutput(ctx *Context, args *LookupProducerImageShareGroupOutputArgs, opts ...InvokeOption) LookupProducerImageShareGroupResultOutput> Note: This function is named LookupProducerImageShareGroup in the Go SDK.
public static class GetProducerImageShareGroup
{
public static Task<GetProducerImageShareGroupResult> InvokeAsync(GetProducerImageShareGroupArgs args, InvokeOptions? opts = null)
public static Output<GetProducerImageShareGroupResult> Invoke(GetProducerImageShareGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProducerImageShareGroupResult> getProducerImageShareGroup(GetProducerImageShareGroupArgs args, InvokeOptions options)
public static Output<GetProducerImageShareGroupResult> getProducerImageShareGroup(GetProducerImageShareGroupArgs args, InvokeOptions options)
fn::invoke:
function: linode:index/getProducerImageShareGroup:getProducerImageShareGroup
arguments:
# arguments dictionaryThe following arguments are supported:
- Id int
- The ID of the Image Share Group.
- Id int
- The ID of the Image Share Group.
- id Integer
- The ID of the Image Share Group.
- id number
- The ID of the Image Share Group.
- id int
- The ID of the Image Share Group.
- id Number
- The ID of the Image Share Group.
getProducerImageShareGroup Result
The following output properties are available:
- Created string
- The date and time the Image Share Group was created.
- Description string
- The description of the Image Share Group.
- Expiry string
- The date and time the Image Share Group will expire.
- Id int
- Images
Count int - The number of images in the Image Share Group.
- Is
Suspended bool - Whether the Image Share Group is suspended.
- Label string
- The label of the Image Share Group.
- Members
Count 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.
- Expiry string
- The date and time the Image Share Group will expire.
- Id int
- Images
Count int - The number of images in the Image Share Group.
- Is
Suspended bool - Whether the Image Share Group is suspended.
- Label string
- The label of the Image Share Group.
- Members
Count 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.
- expiry String
- The date and time the Image Share Group will expire.
- id Integer
- images
Count Integer - The number of images in the Image Share Group.
- is
Suspended Boolean - Whether the Image Share Group is suspended.
- label String
- The label of the Image Share Group.
- members
Count 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.
- expiry string
- The date and time the Image Share Group will expire.
- id number
- images
Count number - The number of images in the Image Share Group.
- is
Suspended boolean - Whether the Image Share Group is suspended.
- label string
- The label of the Image Share Group.
- members
Count 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.
- expiry str
- The date and time the Image Share Group will expire.
- id int
- 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.
- expiry String
- The date and time the Image Share Group will expire.
- id Number
- images
Count Number - The number of images in the Image Share Group.
- is
Suspended Boolean - Whether the Image Share Group is suspended.
- label String
- The label of the Image Share Group.
- members
Count 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.
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linodeTerraform Provider.
