Scaleway v1.25.0 published on Saturday, Mar 22, 2025 by pulumiverse
scaleway.instance.getImage
Explore with Pulumi AI
Gets information about an instance image.
Using getImage
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 getImage(args: GetImageArgs, opts?: InvokeOptions): Promise<GetImageResult>
function getImageOutput(args: GetImageOutputArgs, opts?: InvokeOptions): Output<GetImageResult>def get_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) -> GetImageResult
def get_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[GetImageResult]func LookupImage(ctx *Context, args *LookupImageArgs, opts ...InvokeOption) (*LookupImageResult, error)
func LookupImageOutput(ctx *Context, args *LookupImageOutputArgs, opts ...InvokeOption) LookupImageResultOutput> Note: This function is named LookupImage in the Go SDK.
public static class GetImage 
{
    public static Task<GetImageResult> InvokeAsync(GetImageArgs args, InvokeOptions? opts = null)
    public static Output<GetImageResult> Invoke(GetImageInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetImageResult> getImage(GetImageArgs args, InvokeOptions options)
public static Output<GetImageResult> getImage(GetImageArgs args, InvokeOptions options)
fn::invoke:
  function: scaleway:instance/getImage:getImage
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Architecture string
- The architecture the image is compatible with. Possible values are: x86_64orarm.
- ImageId string
- The image id. Only one of nameandimage_idshould be specified.
- Latest bool
- Use the latest image ID.
- Name string
- The image name. Only one of nameandimage_idshould 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_64orarm.
- ImageId string
- The image id. Only one of nameandimage_idshould be specified.
- Latest bool
- Use the latest image ID.
- Name string
- The image name. Only one of nameandimage_idshould 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_64orarm.
- imageId String
- The image id. Only one of nameandimage_idshould be specified.
- latest Boolean
- Use the latest image ID.
- name String
- The image name. Only one of nameandimage_idshould 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_64orarm.
- imageId string
- The image id. Only one of nameandimage_idshould be specified.
- latest boolean
- Use the latest image ID.
- name string
- The image name. Only one of nameandimage_idshould 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_64orarm.
- image_id str
- The image id. Only one of nameandimage_idshould be specified.
- latest bool
- Use the latest image ID.
- name str
- The image name. Only one of nameandimage_idshould 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_64orarm.
- imageId String
- The image id. Only one of nameandimage_idshould be specified.
- latest Boolean
- Use the latest image ID.
- name String
- The image name. Only one of nameandimage_idshould be specified.
- projectId String
- The ID of the project the image is associated with.
- zone String
- zone) The zone in which the image exists.
getImage Result
The following output properties are available:
- AdditionalVolume List<string>Ids 
- IDs of the additional volumes in this image.
- CreationDate string
- Date of the image creation.
- DefaultBootscript stringId 
- ID of the default bootscript for this image.
- FromServer stringId 
- 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 trueif the image is public.
- RootVolume stringId 
- ID of the root volume in this image.
- State string
- State of the image. Possible values are: available,creatingorerror.
- Zone string
- Architecture string
- ImageId string
- Latest bool
- Name string
- AdditionalVolume []stringIds 
- IDs of the additional volumes in this image.
- CreationDate string
- Date of the image creation.
- DefaultBootscript stringId 
- ID of the default bootscript for this image.
- FromServer stringId 
- 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 trueif the image is public.
- RootVolume stringId 
- ID of the root volume in this image.
- State string
- State of the image. Possible values are: available,creatingorerror.
- Zone string
- Architecture string
- ImageId string
- Latest bool
- Name string
- additionalVolume List<String>Ids 
- IDs of the additional volumes in this image.
- creationDate String
- Date of the image creation.
- defaultBootscript StringId 
- ID of the default bootscript for this image.
- fromServer StringId 
- 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 trueif the image is public.
- rootVolume StringId 
- ID of the root volume in this image.
- state String
- State of the image. Possible values are: available,creatingorerror.
- zone String
- architecture String
- imageId String
- latest Boolean
- name String
- additionalVolume string[]Ids 
- IDs of the additional volumes in this image.
- creationDate string
- Date of the image creation.
- defaultBootscript stringId 
- ID of the default bootscript for this image.
- fromServer stringId 
- 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 trueif the image is public.
- rootVolume stringId 
- ID of the root volume in this image.
- state string
- State of the image. Possible values are: available,creatingorerror.
- zone string
- architecture string
- imageId string
- latest boolean
- name string
- additional_volume_ Sequence[str]ids 
- IDs of the additional volumes in this image.
- creation_date str
- Date of the image creation.
- default_bootscript_ strid 
- ID of the default bootscript for this image.
- from_server_ strid 
- 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 trueif the image is public.
- root_volume_ strid 
- ID of the root volume in this image.
- state str
- State of the image. Possible values are: available,creatingorerror.
- zone str
- architecture str
- image_id str
- latest bool
- name str
- additionalVolume List<String>Ids 
- IDs of the additional volumes in this image.
- creationDate String
- Date of the image creation.
- defaultBootscript StringId 
- ID of the default bootscript for this image.
- fromServer StringId 
- 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 trueif the image is public.
- rootVolume StringId 
- ID of the root volume in this image.
- state String
- State of the image. Possible values are: available,creatingorerror.
- 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 scalewayTerraform Provider.
