Nutanix v0.7.4 published on Friday, Mar 21, 2025 by Piers Karsenbarg
nutanix.getImageV2
Explore with Pulumi AI
Retrieve the image details for the provided external identifier.
Using getImageV2
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 getImageV2(args: GetImageV2Args, opts?: InvokeOptions): Promise<GetImageV2Result>
function getImageV2Output(args: GetImageV2OutputArgs, opts?: InvokeOptions): Output<GetImageV2Result>
def get_image_v2(ext_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetImageV2Result
def get_image_v2_output(ext_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetImageV2Result]
func GetImageV2(ctx *Context, args *GetImageV2Args, opts ...InvokeOption) (*GetImageV2Result, error)
func GetImageV2Output(ctx *Context, args *GetImageV2OutputArgs, opts ...InvokeOption) GetImageV2ResultOutput
> Note: This function is named GetImageV2
in the Go SDK.
public static class GetImageV2
{
public static Task<GetImageV2Result> InvokeAsync(GetImageV2Args args, InvokeOptions? opts = null)
public static Output<GetImageV2Result> Invoke(GetImageV2InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetImageV2Result> getImageV2(GetImageV2Args args, InvokeOptions options)
public static Output<GetImageV2Result> getImageV2(GetImageV2Args args, InvokeOptions options)
fn::invoke:
function: nutanix:index/getImageV2:getImageV2
arguments:
# arguments dictionary
The following arguments are supported:
- Ext
Id string - The external identifier of an image.
- Ext
Id string - The external identifier of an image.
- ext
Id String - The external identifier of an image.
- ext
Id string - The external identifier of an image.
- ext_
id str - The external identifier of an image.
- ext
Id String - The external identifier of an image.
getImageV2 Result
The following output properties are available:
- Category
Ext List<string>Ids - List of category external identifiers for an image.
- Checksums
List<Piers
Karsenbarg. Nutanix. Outputs. Get Image V2Checksum> - The checksum of an image.
- Cluster
Location List<string>Ext Ids - List of cluster external identifiers where the image is located.
- Create
Time string - Create time of an image.
- Description string
- The user defined description of an image.
- Ext
Id string - The external identifier of VM Disk.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update stringTime - Last update time of an image.
- Name string
- The user defined name of an image.
- Owner
Ext stringId - External identifier of the owner of the image
- Placement
Policy List<PiersStatuses Karsenbarg. Nutanix. Outputs. Get Image V2Placement Policy Status> - Status of an image placement policy.
- Size
Bytes int - The size in bytes of an image file.
- Sources
List<Piers
Karsenbarg. Nutanix. Outputs. Get Image V2Source> - The source of an image. It can be a VM disk or a URL.
- Type string
- The type of an image.
- Category
Ext []stringIds - List of category external identifiers for an image.
- Checksums
[]Get
Image V2Checksum - The checksum of an image.
- Cluster
Location []stringExt Ids - List of cluster external identifiers where the image is located.
- Create
Time string - Create time of an image.
- Description string
- The user defined description of an image.
- Ext
Id string - The external identifier of VM Disk.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Update stringTime - Last update time of an image.
- Name string
- The user defined name of an image.
- Owner
Ext stringId - External identifier of the owner of the image
- Placement
Policy []GetStatuses Image V2Placement Policy Status - Status of an image placement policy.
- Size
Bytes int - The size in bytes of an image file.
- Sources
[]Get
Image V2Source - The source of an image. It can be a VM disk or a URL.
- Type string
- The type of an image.
- category
Ext List<String>Ids - List of category external identifiers for an image.
- checksums
List<Get
Image V2Checksum> - The checksum of an image.
- cluster
Location List<String>Ext Ids - List of cluster external identifiers where the image is located.
- create
Time String - Create time of an image.
- description String
- The user defined description of an image.
- ext
Id String - The external identifier of VM Disk.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Update StringTime - Last update time of an image.
- name String
- The user defined name of an image.
- owner
Ext StringId - External identifier of the owner of the image
- placement
Policy List<GetStatuses Image V2Placement Policy Status> - Status of an image placement policy.
- size
Bytes Integer - The size in bytes of an image file.
- sources
List<Get
Image V2Source> - The source of an image. It can be a VM disk or a URL.
- type String
- The type of an image.
- category
Ext string[]Ids - List of category external identifiers for an image.
- checksums
Get
Image V2Checksum[] - The checksum of an image.
- cluster
Location string[]Ext Ids - List of cluster external identifiers where the image is located.
- create
Time string - Create time of an image.
- description string
- The user defined description of an image.
- ext
Id string - The external identifier of VM Disk.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Update stringTime - Last update time of an image.
- name string
- The user defined name of an image.
- owner
Ext stringId - External identifier of the owner of the image
- placement
Policy GetStatuses Image V2Placement Policy Status[] - Status of an image placement policy.
- size
Bytes number - The size in bytes of an image file.
- sources
Get
Image V2Source[] - The source of an image. It can be a VM disk or a URL.
- type string
- The type of an image.
- category_
ext_ Sequence[str]ids - List of category external identifiers for an image.
- checksums
Sequence[Get
Image V2Checksum] - The checksum of an image.
- cluster_
location_ Sequence[str]ext_ ids - List of cluster external identifiers where the image is located.
- create_
time str - Create time of an image.
- description str
- The user defined description of an image.
- ext_
id str - The external identifier of VM Disk.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
update_ strtime - Last update time of an image.
- name str
- The user defined name of an image.
- owner_
ext_ strid - External identifier of the owner of the image
- placement_
policy_ Sequence[Getstatuses Image V2Placement Policy Status] - Status of an image placement policy.
- size_
bytes int - The size in bytes of an image file.
- sources
Sequence[Get
Image V2Source] - The source of an image. It can be a VM disk or a URL.
- type str
- The type of an image.
- category
Ext List<String>Ids - List of category external identifiers for an image.
- checksums List<Property Map>
- The checksum of an image.
- cluster
Location List<String>Ext Ids - List of cluster external identifiers where the image is located.
- create
Time String - Create time of an image.
- description String
- The user defined description of an image.
- ext
Id String - The external identifier of VM Disk.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Update StringTime - Last update time of an image.
- name String
- The user defined name of an image.
- owner
Ext StringId - External identifier of the owner of the image
- placement
Policy List<Property Map>Statuses - Status of an image placement policy.
- size
Bytes Number - The size in bytes of an image file.
- sources List<Property Map>
- The source of an image. It can be a VM disk or a URL.
- type String
- The type of an image.
Supporting Types
GetImageV2Checksum
- Hex
Digest string
- Hex
Digest string
- hex
Digest String
- hex
Digest string
- hex_
digest str
- hex
Digest String
GetImageV2PlacementPolicyStatus
- Compliance
Status string - Compliance status for a placement policy.
- Conflicting
Policy List<string>Ext Ids - List of image placement policy external identifier that conflict with the current one.
- Enforced
Cluster List<string>Ext Ids - List of cluster external identifiers for the enforced placement policy.
- Enforcement
Mode string - Indicates whether the placement policy enforcement is ongoing or has failed.
- Placement
Policy stringExt Id - Image placement policy external identifier.
- Policy
Cluster List<string>Ext Ids - List of cluster external identifiers of the image location for the enforced placement policy.
- Compliance
Status string - Compliance status for a placement policy.
- Conflicting
Policy []stringExt Ids - List of image placement policy external identifier that conflict with the current one.
- Enforced
Cluster []stringExt Ids - List of cluster external identifiers for the enforced placement policy.
- Enforcement
Mode string - Indicates whether the placement policy enforcement is ongoing or has failed.
- Placement
Policy stringExt Id - Image placement policy external identifier.
- Policy
Cluster []stringExt Ids - List of cluster external identifiers of the image location for the enforced placement policy.
- compliance
Status String - Compliance status for a placement policy.
- conflicting
Policy List<String>Ext Ids - List of image placement policy external identifier that conflict with the current one.
- enforced
Cluster List<String>Ext Ids - List of cluster external identifiers for the enforced placement policy.
- enforcement
Mode String - Indicates whether the placement policy enforcement is ongoing or has failed.
- placement
Policy StringExt Id - Image placement policy external identifier.
- policy
Cluster List<String>Ext Ids - List of cluster external identifiers of the image location for the enforced placement policy.
- compliance
Status string - Compliance status for a placement policy.
- conflicting
Policy string[]Ext Ids - List of image placement policy external identifier that conflict with the current one.
- enforced
Cluster string[]Ext Ids - List of cluster external identifiers for the enforced placement policy.
- enforcement
Mode string - Indicates whether the placement policy enforcement is ongoing or has failed.
- placement
Policy stringExt Id - Image placement policy external identifier.
- policy
Cluster string[]Ext Ids - List of cluster external identifiers of the image location for the enforced placement policy.
- compliance_
status str - Compliance status for a placement policy.
- conflicting_
policy_ Sequence[str]ext_ ids - List of image placement policy external identifier that conflict with the current one.
- enforced_
cluster_ Sequence[str]ext_ ids - List of cluster external identifiers for the enforced placement policy.
- enforcement_
mode str - Indicates whether the placement policy enforcement is ongoing or has failed.
- placement_
policy_ strext_ id - Image placement policy external identifier.
- policy_
cluster_ Sequence[str]ext_ ids - List of cluster external identifiers of the image location for the enforced placement policy.
- compliance
Status String - Compliance status for a placement policy.
- conflicting
Policy List<String>Ext Ids - List of image placement policy external identifier that conflict with the current one.
- enforced
Cluster List<String>Ext Ids - List of cluster external identifiers for the enforced placement policy.
- enforcement
Mode String - Indicates whether the placement policy enforcement is ongoing or has failed.
- placement
Policy StringExt Id - Image placement policy external identifier.
- policy
Cluster List<String>Ext Ids - List of cluster external identifiers of the image location for the enforced placement policy.
GetImageV2Source
GetImageV2SourceObjectLiteSource
- Key string
- Key string
- key String
- key string
- key str
- key String
GetImageV2SourceUrlSource
- Basic
Auths List<PiersKarsenbarg. Nutanix. Inputs. Get Image V2Source Url Source Basic Auth> - Basic authentication credentials for image source HTTP/S URL.
- Should
Allow boolInsecure Url - Url string
- The URL for creating an image.
- Basic
Auths []GetImage V2Source Url Source Basic Auth - Basic authentication credentials for image source HTTP/S URL.
- Should
Allow boolInsecure Url - Url string
- The URL for creating an image.
- basic
Auths List<GetImage V2Source Url Source Basic Auth> - Basic authentication credentials for image source HTTP/S URL.
- should
Allow BooleanInsecure Url - url String
- The URL for creating an image.
- basic
Auths GetImage V2Source Url Source Basic Auth[] - Basic authentication credentials for image source HTTP/S URL.
- should
Allow booleanInsecure Url - url string
- The URL for creating an image.
- basic_
auths Sequence[GetImage V2Source Url Source Basic Auth] - Basic authentication credentials for image source HTTP/S URL.
- should_
allow_ boolinsecure_ url - url str
- The URL for creating an image.
- basic
Auths List<Property Map> - Basic authentication credentials for image source HTTP/S URL.
- should
Allow BooleanInsecure Url - url String
- The URL for creating an image.
GetImageV2SourceUrlSourceBasicAuth
GetImageV2SourceVmDiskSource
- Ext
Id string - The external identifier of an image.
- Ext
Id string - The external identifier of an image.
- ext
Id String - The external identifier of an image.
- ext
Id string - The external identifier of an image.
- ext_
id str - The external identifier of an image.
- ext
Id String - The external identifier of an image.
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.