1. Packages
  2. Scaleway
  3. API Docs
  4. getInstanceImage
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

scaleway.getInstanceImage

Explore with Pulumi AI

scaleway logo
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

    Gets information about an instance image.

    Using getInstanceImage

    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 getInstanceImage(args: GetInstanceImageArgs, opts?: InvokeOptions): Promise<GetInstanceImageResult>
    function getInstanceImageOutput(args: GetInstanceImageOutputArgs, opts?: InvokeOptions): Output<GetInstanceImageResult>
    def get_instance_image(architecture: Optional[str] = None,
                           image_id: Optional[str] = None,
                           latest: Optional[bool] = None,
                           name: Optional[str] = None,
                           project_id: Optional[str] = None,
                           zone: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetInstanceImageResult
    def get_instance_image_output(architecture: Optional[pulumi.Input[str]] = None,
                           image_id: Optional[pulumi.Input[str]] = None,
                           latest: Optional[pulumi.Input[bool]] = None,
                           name: Optional[pulumi.Input[str]] = None,
                           project_id: Optional[pulumi.Input[str]] = None,
                           zone: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetInstanceImageResult]
    func LookupInstanceImage(ctx *Context, args *LookupInstanceImageArgs, opts ...InvokeOption) (*LookupInstanceImageResult, error)
    func LookupInstanceImageOutput(ctx *Context, args *LookupInstanceImageOutputArgs, opts ...InvokeOption) LookupInstanceImageResultOutput

    > Note: This function is named LookupInstanceImage in the Go SDK.

    public static class GetInstanceImage 
    {
        public static Task<GetInstanceImageResult> InvokeAsync(GetInstanceImageArgs args, InvokeOptions? opts = null)
        public static Output<GetInstanceImageResult> Invoke(GetInstanceImageInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInstanceImageResult> getInstanceImage(GetInstanceImageArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scaleway:index/getInstanceImage:getInstanceImage
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Architecture string
    The architecture the image is compatible with. Possible values are: x86_64 or arm.
    ImageId string
    The image id. Only one of name and image_id should be specified.
    Latest bool
    Use the latest image ID.
    Name string
    The image name. Only one of name and image_id should be specified.
    ProjectId string
    The ID of the project the image is associated with.
    Zone string
    zone) The zone in which the image exists.
    Architecture string
    The architecture the image is compatible with. Possible values are: x86_64 or arm.
    ImageId string
    The image id. Only one of name and image_id should be specified.
    Latest bool
    Use the latest image ID.
    Name string
    The image name. Only one of name and image_id should be specified.
    ProjectId string
    The ID of the project the image is associated with.
    Zone string
    zone) The zone in which the image exists.
    architecture String
    The architecture the image is compatible with. Possible values are: x86_64 or arm.
    imageId String
    The image id. Only one of name and image_id should be specified.
    latest Boolean
    Use the latest image ID.
    name String
    The image name. Only one of name and image_id should be specified.
    projectId String
    The ID of the project the image is associated with.
    zone String
    zone) The zone in which the image exists.
    architecture string
    The architecture the image is compatible with. Possible values are: x86_64 or arm.
    imageId string
    The image id. Only one of name and image_id should be specified.
    latest boolean
    Use the latest image ID.
    name string
    The image name. Only one of name and image_id should be specified.
    projectId string
    The ID of the project the image is associated with.
    zone string
    zone) The zone in which the image exists.
    architecture str
    The architecture the image is compatible with. Possible values are: x86_64 or arm.
    image_id str
    The image id. Only one of name and image_id should be specified.
    latest bool
    Use the latest image ID.
    name str
    The image name. Only one of name and image_id should be specified.
    project_id str
    The ID of the project the image is associated with.
    zone str
    zone) The zone in which the image exists.
    architecture String
    The architecture the image is compatible with. Possible values are: x86_64 or arm.
    imageId String
    The image id. Only one of name and image_id should be specified.
    latest Boolean
    Use the latest image ID.
    name String
    The image name. Only one of name and image_id should be specified.
    projectId String
    The ID of the project the image is associated with.
    zone String
    zone) The zone in which the image exists.

    getInstanceImage Result

    The following output properties are available:

    AdditionalVolumeIds List<string>
    IDs of the additional volumes in this image.
    CreationDate string
    Date of the image creation.
    DefaultBootscriptId string
    ID of the default bootscript for this image.
    FromServerId string
    ID of the server the image if based from.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModificationDate string
    Date of image latest update.
    OrganizationId string
    The ID of the organization the image is associated with.
    ProjectId string
    The ID of the project the image is associated with.
    Public bool
    Set to true if the image is public.
    RootVolumeId string
    ID of the root volume in this image.
    State string
    State of the image. Possible values are: available, creating or error.
    Zone string
    Architecture string
    ImageId string
    Latest bool
    Name string
    AdditionalVolumeIds []string
    IDs of the additional volumes in this image.
    CreationDate string
    Date of the image creation.
    DefaultBootscriptId string
    ID of the default bootscript for this image.
    FromServerId string
    ID of the server the image if based from.
    Id string
    The provider-assigned unique ID for this managed resource.
    ModificationDate string
    Date of image latest update.
    OrganizationId string
    The ID of the organization the image is associated with.
    ProjectId string
    The ID of the project the image is associated with.
    Public bool
    Set to true if the image is public.
    RootVolumeId string
    ID of the root volume in this image.
    State string
    State of the image. Possible values are: available, creating or error.
    Zone string
    Architecture string
    ImageId string
    Latest bool
    Name string
    additionalVolumeIds List<String>
    IDs of the additional volumes in this image.
    creationDate String
    Date of the image creation.
    defaultBootscriptId String
    ID of the default bootscript for this image.
    fromServerId String
    ID of the server the image if based from.
    id String
    The provider-assigned unique ID for this managed resource.
    modificationDate String
    Date of image latest update.
    organizationId String
    The ID of the organization the image is associated with.
    projectId String
    The ID of the project the image is associated with.
    public_ Boolean
    Set to true if the image is public.
    rootVolumeId String
    ID of the root volume in this image.
    state String
    State of the image. Possible values are: available, creating or error.
    zone String
    architecture String
    imageId String
    latest Boolean
    name String
    additionalVolumeIds string[]
    IDs of the additional volumes in this image.
    creationDate string
    Date of the image creation.
    defaultBootscriptId string
    ID of the default bootscript for this image.
    fromServerId string
    ID of the server the image if based from.
    id string
    The provider-assigned unique ID for this managed resource.
    modificationDate string
    Date of image latest update.
    organizationId string
    The ID of the organization the image is associated with.
    projectId string
    The ID of the project the image is associated with.
    public boolean
    Set to true if the image is public.
    rootVolumeId string
    ID of the root volume in this image.
    state string
    State of the image. Possible values are: available, creating or error.
    zone string
    architecture string
    imageId string
    latest boolean
    name string
    additional_volume_ids Sequence[str]
    IDs of the additional volumes in this image.
    creation_date str
    Date of the image creation.
    default_bootscript_id str
    ID of the default bootscript for this image.
    from_server_id str
    ID of the server the image if based from.
    id str
    The provider-assigned unique ID for this managed resource.
    modification_date str
    Date of image latest update.
    organization_id str
    The ID of the organization the image is associated with.
    project_id str
    The ID of the project the image is associated with.
    public bool
    Set to true if the image is public.
    root_volume_id str
    ID of the root volume in this image.
    state str
    State of the image. Possible values are: available, creating or error.
    zone str
    architecture str
    image_id str
    latest bool
    name str
    additionalVolumeIds List<String>
    IDs of the additional volumes in this image.
    creationDate String
    Date of the image creation.
    defaultBootscriptId String
    ID of the default bootscript for this image.
    fromServerId String
    ID of the server the image if based from.
    id String
    The provider-assigned unique ID for this managed resource.
    modificationDate String
    Date of image latest update.
    organizationId String
    The ID of the organization the image is associated with.
    projectId String
    The ID of the project the image is associated with.
    public Boolean
    Set to true if the image is public.
    rootVolumeId String
    ID of the root volume in this image.
    state String
    State of the image. Possible values are: available, creating or error.
    zone String
    architecture String
    imageId String
    latest Boolean
    name String

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse