tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getImageFromFamily
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Provides query image from family.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getImageFromFamily({
imageFamily: "business-daily-update",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_image_from_family(image_family="business-daily-update")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetImageFromFamily(ctx, &tencentcloud.GetImageFromFamilyArgs{
ImageFamily: "business-daily-update",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetImageFromFamily.Invoke(new()
{
ImageFamily = "business-daily-update",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetImageFromFamilyArgs;
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 example = TencentcloudFunctions.getImageFromFamily(GetImageFromFamilyArgs.builder()
.imageFamily("business-daily-update")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getImageFromFamily
arguments:
imageFamily: business-daily-update
Using getImageFromFamily
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 getImageFromFamily(args: GetImageFromFamilyArgs, opts?: InvokeOptions): Promise<GetImageFromFamilyResult>
function getImageFromFamilyOutput(args: GetImageFromFamilyOutputArgs, opts?: InvokeOptions): Output<GetImageFromFamilyResult>
def get_image_from_family(id: Optional[str] = None,
image_family: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetImageFromFamilyResult
def get_image_from_family_output(id: Optional[pulumi.Input[str]] = None,
image_family: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetImageFromFamilyResult]
func GetImageFromFamily(ctx *Context, args *GetImageFromFamilyArgs, opts ...InvokeOption) (*GetImageFromFamilyResult, error)
func GetImageFromFamilyOutput(ctx *Context, args *GetImageFromFamilyOutputArgs, opts ...InvokeOption) GetImageFromFamilyResultOutput
> Note: This function is named GetImageFromFamily
in the Go SDK.
public static class GetImageFromFamily
{
public static Task<GetImageFromFamilyResult> InvokeAsync(GetImageFromFamilyArgs args, InvokeOptions? opts = null)
public static Output<GetImageFromFamilyResult> Invoke(GetImageFromFamilyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetImageFromFamilyResult> getImageFromFamily(GetImageFromFamilyArgs args, InvokeOptions options)
public static Output<GetImageFromFamilyResult> getImageFromFamily(GetImageFromFamilyArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getImageFromFamily:getImageFromFamily
arguments:
# arguments dictionary
The following arguments are supported:
- Image
Family string - Image family name.
- Id string
- Result
Output stringFile - Used to save results.
- Image
Family string - Image family name.
- Id string
- Result
Output stringFile - Used to save results.
- image
Family String - Image family name.
- id String
- result
Output StringFile - Used to save results.
- image
Family string - Image family name.
- id string
- result
Output stringFile - Used to save results.
- image_
family str - Image family name.
- id str
- result_
output_ strfile - Used to save results.
- image
Family String - Image family name.
- id String
- result
Output StringFile - Used to save results.
getImageFromFamily Result
The following output properties are available:
- Id string
- Image
Family string - Images
List<Get
Image From Family Image> - Information of Image.
- Result
Output stringFile
- Id string
- Image
Family string - Images
[]Get
Image From Family Image - Information of Image.
- Result
Output stringFile
- id String
- image
Family String - images
List<Get
Image From Family Image> - Information of Image.
- result
Output StringFile
- id string
- image
Family string - images
Get
Image From Family Image[] - Information of Image.
- result
Output stringFile
- id str
- image_
family str - images
Sequence[Get
Image From Family Image] - Information of Image.
- result_
output_ strfile
- id String
- image
Family String - images List<Property Map>
- Information of Image.
- result
Output StringFile
Supporting Types
GetImageFromFamilyImage
- Architecture string
- Created
Time string - Image
Creator string - Image
Deprecated bool - Image
Description string - Image
Family string - Image family name.
- Image
Id string - Image
Name string - Image
Size double - Image
Source string - Image
State string - Image
Type string - Is
Support boolCloudinit - License
Type string - Os
Name string - Platform string
- Snapshot
Sets List<GetImage From Family Image Snapshot Set> - Sync
Percent double - List<Get
Image From Family Image Tag>
- Architecture string
- Created
Time string - Image
Creator string - Image
Deprecated bool - Image
Description string - Image
Family string - Image family name.
- Image
Id string - Image
Name string - Image
Size float64 - Image
Source string - Image
State string - Image
Type string - Is
Support boolCloudinit - License
Type string - Os
Name string - Platform string
- Snapshot
Sets []GetImage From Family Image Snapshot Set - Sync
Percent float64 - []Get
Image From Family Image Tag
- architecture String
- created
Time String - image
Creator String - image
Deprecated Boolean - image
Description String - image
Family String - Image family name.
- image
Id String - image
Name String - image
Size Double - image
Source String - image
State String - image
Type String - is
Support BooleanCloudinit - license
Type String - os
Name String - platform String
- snapshot
Sets List<GetImage From Family Image Snapshot Set> - sync
Percent Double - List<Get
Image From Family Image Tag>
- architecture string
- created
Time string - image
Creator string - image
Deprecated boolean - image
Description string - image
Family string - Image family name.
- image
Id string - image
Name string - image
Size number - image
Source string - image
State string - image
Type string - is
Support booleanCloudinit - license
Type string - os
Name string - platform string
- snapshot
Sets GetImage From Family Image Snapshot Set[] - sync
Percent number - Get
Image From Family Image Tag[]
- architecture str
- created_
time str - image_
creator str - image_
deprecated bool - image_
description str - image_
family str - Image family name.
- image_
id str - image_
name str - image_
size float - image_
source str - image_
state str - image_
type str - is_
support_ boolcloudinit - license_
type str - os_
name str - platform str
- snapshot_
sets Sequence[GetImage From Family Image Snapshot Set] - sync_
percent float - Sequence[Get
Image From Family Image Tag]
- architecture String
- created
Time String - image
Creator String - image
Deprecated Boolean - image
Description String - image
Family String - Image family name.
- image
Id String - image
Name String - image
Size Number - image
Source String - image
State String - image
Type String - is
Support BooleanCloudinit - license
Type String - os
Name String - platform String
- snapshot
Sets List<Property Map> - sync
Percent Number - List<Property Map>
GetImageFromFamilyImageSnapshotSet
- Disk
Size double - Disk
Usage string - Snapshot
Id string
- Disk
Size float64 - Disk
Usage string - Snapshot
Id string
- disk
Size Double - disk
Usage String - snapshot
Id String
- disk
Size number - disk
Usage string - snapshot
Id string
- disk_
size float - disk_
usage str - snapshot_
id str
- disk
Size Number - disk
Usage String - snapshot
Id String
GetImageFromFamilyImageTag
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack