scaleway.registry.getImage
Explore with Pulumi AI
Gets information about a Container Registry 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(image_id: Optional[str] = None,
name: Optional[str] = None,
namespace_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
tags: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetImageResult
def get_image_output(image_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
namespace_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetImageResult]
func GetImage(ctx *Context, args *GetImageArgs, opts ...InvokeOption) (*GetImageResult, error)
func GetImageOutput(ctx *Context, args *GetImageOutputArgs, opts ...InvokeOption) GetImageResultOutput
> Note: This function is named GetImage
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:registry/getImage:getImage
arguments:
# arguments dictionary
The following arguments are supported:
- Image
Id string The image ID.
Note You must specify at least one:
name
and/orimage_id
.- Name string
- The image name.
- Namespace
Id string - The namespace ID in which the image is.
- Project
Id string project_id
) The ID of the project the image is associated with.- Region string
region
) The region in which the image exists.- List<string>
- The tags associated with the registry image
- Image
Id string The image ID.
Note You must specify at least one:
name
and/orimage_id
.- Name string
- The image name.
- Namespace
Id string - The namespace ID in which the image is.
- Project
Id string project_id
) The ID of the project the image is associated with.- Region string
region
) The region in which the image exists.- []string
- The tags associated with the registry image
- image
Id String The image ID.
Note You must specify at least one:
name
and/orimage_id
.- name String
- The image name.
- namespace
Id String - The namespace ID in which the image is.
- project
Id String project_id
) The ID of the project the image is associated with.- region String
region
) The region in which the image exists.- List<String>
- The tags associated with the registry image
- image
Id string The image ID.
Note You must specify at least one:
name
and/orimage_id
.- name string
- The image name.
- namespace
Id string - The namespace ID in which the image is.
- project
Id string project_id
) The ID of the project the image is associated with.- region string
region
) The region in which the image exists.- string[]
- The tags associated with the registry image
- image_
id str The image ID.
Note You must specify at least one:
name
and/orimage_id
.- name str
- The image name.
- namespace_
id str - The namespace ID in which the image is.
- project_
id str project_id
) The ID of the project the image is associated with.- region str
region
) The region in which the image exists.- Sequence[str]
- The tags associated with the registry image
- image
Id String The image ID.
Note You must specify at least one:
name
and/orimage_id
.- name String
- The image name.
- namespace
Id String - The namespace ID in which the image is.
- project
Id String project_id
) The ID of the project the image is associated with.- region String
region
) The region in which the image exists.- List<String>
- The tags associated with the registry image
getImage Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace
Id string - Organization
Id string - The organization ID the image is associated with.
- Project
Id string - Region string
- Size int
- The size of the registry image.
- List<string>
- The tags associated with the registry image
- Updated
At string - The date the image of the last update
- Visibility string
- The privacy policy of the registry image.
- Image
Id string - Name string
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace
Id string - Organization
Id string - The organization ID the image is associated with.
- Project
Id string - Region string
- Size int
- The size of the registry image.
- []string
- The tags associated with the registry image
- Updated
At string - The date the image of the last update
- Visibility string
- The privacy policy of the registry image.
- Image
Id string - Name string
- id String
- The provider-assigned unique ID for this managed resource.
- namespace
Id String - organization
Id String - The organization ID the image is associated with.
- project
Id String - region String
- size Integer
- The size of the registry image.
- List<String>
- The tags associated with the registry image
- updated
At String - The date the image of the last update
- visibility String
- The privacy policy of the registry image.
- image
Id String - name String
- id string
- The provider-assigned unique ID for this managed resource.
- namespace
Id string - organization
Id string - The organization ID the image is associated with.
- project
Id string - region string
- size number
- The size of the registry image.
- string[]
- The tags associated with the registry image
- updated
At string - The date the image of the last update
- visibility string
- The privacy policy of the registry image.
- image
Id string - name string
- id str
- The provider-assigned unique ID for this managed resource.
- namespace_
id str - organization_
id str - The organization ID the image is associated with.
- project_
id str - region str
- size int
- The size of the registry image.
- Sequence[str]
- The tags associated with the registry image
- updated_
at str - The date the image of the last update
- visibility str
- The privacy policy of the registry image.
- image_
id str - name str
- id String
- The provider-assigned unique ID for this managed resource.
- namespace
Id String - organization
Id String - The organization ID the image is associated with.
- project
Id String - region String
- size Number
- The size of the registry image.
- List<String>
- The tags associated with the registry image
- updated
At String - The date the image of the last update
- visibility String
- The privacy policy of the registry image.
- image
Id String - name String
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scaleway
Terraform Provider.