tencentcloud.MpsImageSpriteTemplate
Explore with Pulumi AI
Provides a resource to create a mps image_sprite_template
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const imageSpriteTemplate = new tencentcloud.MpsImageSpriteTemplate("imageSpriteTemplate", {
columnCount: 10,
fillType: "stretch",
format: "jpg",
height: 143,
resolutionAdaptive: "open",
rowCount: 10,
sampleInterval: 10,
sampleType: "Time",
width: 182,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
image_sprite_template = tencentcloud.MpsImageSpriteTemplate("imageSpriteTemplate",
column_count=10,
fill_type="stretch",
format="jpg",
height=143,
resolution_adaptive="open",
row_count=10,
sample_interval=10,
sample_type="Time",
width=182)
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.NewMpsImageSpriteTemplate(ctx, "imageSpriteTemplate", &tencentcloud.MpsImageSpriteTemplateArgs{
ColumnCount: pulumi.Float64(10),
FillType: pulumi.String("stretch"),
Format: pulumi.String("jpg"),
Height: pulumi.Float64(143),
ResolutionAdaptive: pulumi.String("open"),
RowCount: pulumi.Float64(10),
SampleInterval: pulumi.Float64(10),
SampleType: pulumi.String("Time"),
Width: pulumi.Float64(182),
})
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 imageSpriteTemplate = new Tencentcloud.MpsImageSpriteTemplate("imageSpriteTemplate", new()
{
ColumnCount = 10,
FillType = "stretch",
Format = "jpg",
Height = 143,
ResolutionAdaptive = "open",
RowCount = 10,
SampleInterval = 10,
SampleType = "Time",
Width = 182,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.MpsImageSpriteTemplate;
import com.pulumi.tencentcloud.MpsImageSpriteTemplateArgs;
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) {
var imageSpriteTemplate = new MpsImageSpriteTemplate("imageSpriteTemplate", MpsImageSpriteTemplateArgs.builder()
.columnCount(10)
.fillType("stretch")
.format("jpg")
.height(143)
.resolutionAdaptive("open")
.rowCount(10)
.sampleInterval(10)
.sampleType("Time")
.width(182)
.build());
}
}
resources:
imageSpriteTemplate:
type: tencentcloud:MpsImageSpriteTemplate
properties:
columnCount: 10
fillType: stretch
format: jpg
height: 143
resolutionAdaptive: open
rowCount: 10
sampleInterval: 10
sampleType: Time
width: 182
Create MpsImageSpriteTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MpsImageSpriteTemplate(name: string, args: MpsImageSpriteTemplateArgs, opts?: CustomResourceOptions);
@overload
def MpsImageSpriteTemplate(resource_name: str,
args: MpsImageSpriteTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MpsImageSpriteTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
column_count: Optional[float] = None,
row_count: Optional[float] = None,
sample_interval: Optional[float] = None,
sample_type: Optional[str] = None,
comment: Optional[str] = None,
fill_type: Optional[str] = None,
format: Optional[str] = None,
height: Optional[float] = None,
mps_image_sprite_template_id: Optional[str] = None,
name: Optional[str] = None,
resolution_adaptive: Optional[str] = None,
width: Optional[float] = None)
func NewMpsImageSpriteTemplate(ctx *Context, name string, args MpsImageSpriteTemplateArgs, opts ...ResourceOption) (*MpsImageSpriteTemplate, error)
public MpsImageSpriteTemplate(string name, MpsImageSpriteTemplateArgs args, CustomResourceOptions? opts = null)
public MpsImageSpriteTemplate(String name, MpsImageSpriteTemplateArgs args)
public MpsImageSpriteTemplate(String name, MpsImageSpriteTemplateArgs args, CustomResourceOptions options)
type: tencentcloud:MpsImageSpriteTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MpsImageSpriteTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MpsImageSpriteTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MpsImageSpriteTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MpsImageSpriteTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MpsImageSpriteTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
MpsImageSpriteTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MpsImageSpriteTemplate resource accepts the following input properties:
- Column
Count double - The number of columns in the small image in the sprite.
- Row
Count double - The number of rows in the small image in the sprite.
- Sample
Interval double - Sampling interval.When SampleType is Percent, specify the percentage of the sampling interval.When SampleType is Time, specify the sampling interval time in seconds.
- Sample
Type string - Sampling type, optional value:Percent/Time.
- Comment string
- Template description information, length limit: 256 characters.
- Fill
Type string - Filling type, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling type:stretch: Stretching, stretching each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the video aspect ratio unchanged, and fill the rest of the edge with black.Default value: black.
- Format string
- Image format, the value can be jpg, png, webp. Default is jpg.
- Height double
- The maximum value of the height (or short side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- Mps
Image stringSprite Template Id - ID of the resource.
- Name string
- Image sprite template name, length limit: 64 characters.
- Resolution
Adaptive string - Adaptive resolution, optional value:open: At this time, Width represents the long side of the video, Height represents the short side of the video.close: At this point, Width represents the width of the video, and Height represents the height of the video.Default value: open.
- Width double
- The maximum value of the width (or long side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- Column
Count float64 - The number of columns in the small image in the sprite.
- Row
Count float64 - The number of rows in the small image in the sprite.
- Sample
Interval float64 - Sampling interval.When SampleType is Percent, specify the percentage of the sampling interval.When SampleType is Time, specify the sampling interval time in seconds.
- Sample
Type string - Sampling type, optional value:Percent/Time.
- Comment string
- Template description information, length limit: 256 characters.
- Fill
Type string - Filling type, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling type:stretch: Stretching, stretching each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the video aspect ratio unchanged, and fill the rest of the edge with black.Default value: black.
- Format string
- Image format, the value can be jpg, png, webp. Default is jpg.
- Height float64
- The maximum value of the height (or short side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- Mps
Image stringSprite Template Id - ID of the resource.
- Name string
- Image sprite template name, length limit: 64 characters.
- Resolution
Adaptive string - Adaptive resolution, optional value:open: At this time, Width represents the long side of the video, Height represents the short side of the video.close: At this point, Width represents the width of the video, and Height represents the height of the video.Default value: open.
- Width float64
- The maximum value of the width (or long side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- column
Count Double - The number of columns in the small image in the sprite.
- row
Count Double - The number of rows in the small image in the sprite.
- sample
Interval Double - Sampling interval.When SampleType is Percent, specify the percentage of the sampling interval.When SampleType is Time, specify the sampling interval time in seconds.
- sample
Type String - Sampling type, optional value:Percent/Time.
- comment String
- Template description information, length limit: 256 characters.
- fill
Type String - Filling type, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling type:stretch: Stretching, stretching each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the video aspect ratio unchanged, and fill the rest of the edge with black.Default value: black.
- format String
- Image format, the value can be jpg, png, webp. Default is jpg.
- height Double
- The maximum value of the height (or short side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- mps
Image StringSprite Template Id - ID of the resource.
- name String
- Image sprite template name, length limit: 64 characters.
- resolution
Adaptive String - Adaptive resolution, optional value:open: At this time, Width represents the long side of the video, Height represents the short side of the video.close: At this point, Width represents the width of the video, and Height represents the height of the video.Default value: open.
- width Double
- The maximum value of the width (or long side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- column
Count number - The number of columns in the small image in the sprite.
- row
Count number - The number of rows in the small image in the sprite.
- sample
Interval number - Sampling interval.When SampleType is Percent, specify the percentage of the sampling interval.When SampleType is Time, specify the sampling interval time in seconds.
- sample
Type string - Sampling type, optional value:Percent/Time.
- comment string
- Template description information, length limit: 256 characters.
- fill
Type string - Filling type, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling type:stretch: Stretching, stretching each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the video aspect ratio unchanged, and fill the rest of the edge with black.Default value: black.
- format string
- Image format, the value can be jpg, png, webp. Default is jpg.
- height number
- The maximum value of the height (or short side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- mps
Image stringSprite Template Id - ID of the resource.
- name string
- Image sprite template name, length limit: 64 characters.
- resolution
Adaptive string - Adaptive resolution, optional value:open: At this time, Width represents the long side of the video, Height represents the short side of the video.close: At this point, Width represents the width of the video, and Height represents the height of the video.Default value: open.
- width number
- The maximum value of the width (or long side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- column_
count float - The number of columns in the small image in the sprite.
- row_
count float - The number of rows in the small image in the sprite.
- sample_
interval float - Sampling interval.When SampleType is Percent, specify the percentage of the sampling interval.When SampleType is Time, specify the sampling interval time in seconds.
- sample_
type str - Sampling type, optional value:Percent/Time.
- comment str
- Template description information, length limit: 256 characters.
- fill_
type str - Filling type, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling type:stretch: Stretching, stretching each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the video aspect ratio unchanged, and fill the rest of the edge with black.Default value: black.
- format str
- Image format, the value can be jpg, png, webp. Default is jpg.
- height float
- The maximum value of the height (or short side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- mps_
image_ strsprite_ template_ id - ID of the resource.
- name str
- Image sprite template name, length limit: 64 characters.
- resolution_
adaptive str - Adaptive resolution, optional value:open: At this time, Width represents the long side of the video, Height represents the short side of the video.close: At this point, Width represents the width of the video, and Height represents the height of the video.Default value: open.
- width float
- The maximum value of the width (or long side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- column
Count Number - The number of columns in the small image in the sprite.
- row
Count Number - The number of rows in the small image in the sprite.
- sample
Interval Number - Sampling interval.When SampleType is Percent, specify the percentage of the sampling interval.When SampleType is Time, specify the sampling interval time in seconds.
- sample
Type String - Sampling type, optional value:Percent/Time.
- comment String
- Template description information, length limit: 256 characters.
- fill
Type String - Filling type, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling type:stretch: Stretching, stretching each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the video aspect ratio unchanged, and fill the rest of the edge with black.Default value: black.
- format String
- Image format, the value can be jpg, png, webp. Default is jpg.
- height Number
- The maximum value of the height (or short side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- mps
Image StringSprite Template Id - ID of the resource.
- name String
- Image sprite template name, length limit: 64 characters.
- resolution
Adaptive String - Adaptive resolution, optional value:open: At this time, Width represents the long side of the video, Height represents the short side of the video.close: At this point, Width represents the width of the video, and Height represents the height of the video.Default value: open.
- width Number
- The maximum value of the width (or long side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
Outputs
All input properties are implicitly available as output properties. Additionally, the MpsImageSpriteTemplate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing MpsImageSpriteTemplate Resource
Get an existing MpsImageSpriteTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MpsImageSpriteTemplateState, opts?: CustomResourceOptions): MpsImageSpriteTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
column_count: Optional[float] = None,
comment: Optional[str] = None,
fill_type: Optional[str] = None,
format: Optional[str] = None,
height: Optional[float] = None,
mps_image_sprite_template_id: Optional[str] = None,
name: Optional[str] = None,
resolution_adaptive: Optional[str] = None,
row_count: Optional[float] = None,
sample_interval: Optional[float] = None,
sample_type: Optional[str] = None,
width: Optional[float] = None) -> MpsImageSpriteTemplate
func GetMpsImageSpriteTemplate(ctx *Context, name string, id IDInput, state *MpsImageSpriteTemplateState, opts ...ResourceOption) (*MpsImageSpriteTemplate, error)
public static MpsImageSpriteTemplate Get(string name, Input<string> id, MpsImageSpriteTemplateState? state, CustomResourceOptions? opts = null)
public static MpsImageSpriteTemplate get(String name, Output<String> id, MpsImageSpriteTemplateState state, CustomResourceOptions options)
resources: _: type: tencentcloud:MpsImageSpriteTemplate get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Column
Count double - The number of columns in the small image in the sprite.
- Comment string
- Template description information, length limit: 256 characters.
- Fill
Type string - Filling type, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling type:stretch: Stretching, stretching each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the video aspect ratio unchanged, and fill the rest of the edge with black.Default value: black.
- Format string
- Image format, the value can be jpg, png, webp. Default is jpg.
- Height double
- The maximum value of the height (or short side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- Mps
Image stringSprite Template Id - ID of the resource.
- Name string
- Image sprite template name, length limit: 64 characters.
- Resolution
Adaptive string - Adaptive resolution, optional value:open: At this time, Width represents the long side of the video, Height represents the short side of the video.close: At this point, Width represents the width of the video, and Height represents the height of the video.Default value: open.
- Row
Count double - The number of rows in the small image in the sprite.
- Sample
Interval double - Sampling interval.When SampleType is Percent, specify the percentage of the sampling interval.When SampleType is Time, specify the sampling interval time in seconds.
- Sample
Type string - Sampling type, optional value:Percent/Time.
- Width double
- The maximum value of the width (or long side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- Column
Count float64 - The number of columns in the small image in the sprite.
- Comment string
- Template description information, length limit: 256 characters.
- Fill
Type string - Filling type, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling type:stretch: Stretching, stretching each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the video aspect ratio unchanged, and fill the rest of the edge with black.Default value: black.
- Format string
- Image format, the value can be jpg, png, webp. Default is jpg.
- Height float64
- The maximum value of the height (or short side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- Mps
Image stringSprite Template Id - ID of the resource.
- Name string
- Image sprite template name, length limit: 64 characters.
- Resolution
Adaptive string - Adaptive resolution, optional value:open: At this time, Width represents the long side of the video, Height represents the short side of the video.close: At this point, Width represents the width of the video, and Height represents the height of the video.Default value: open.
- Row
Count float64 - The number of rows in the small image in the sprite.
- Sample
Interval float64 - Sampling interval.When SampleType is Percent, specify the percentage of the sampling interval.When SampleType is Time, specify the sampling interval time in seconds.
- Sample
Type string - Sampling type, optional value:Percent/Time.
- Width float64
- The maximum value of the width (or long side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- column
Count Double - The number of columns in the small image in the sprite.
- comment String
- Template description information, length limit: 256 characters.
- fill
Type String - Filling type, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling type:stretch: Stretching, stretching each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the video aspect ratio unchanged, and fill the rest of the edge with black.Default value: black.
- format String
- Image format, the value can be jpg, png, webp. Default is jpg.
- height Double
- The maximum value of the height (or short side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- mps
Image StringSprite Template Id - ID of the resource.
- name String
- Image sprite template name, length limit: 64 characters.
- resolution
Adaptive String - Adaptive resolution, optional value:open: At this time, Width represents the long side of the video, Height represents the short side of the video.close: At this point, Width represents the width of the video, and Height represents the height of the video.Default value: open.
- row
Count Double - The number of rows in the small image in the sprite.
- sample
Interval Double - Sampling interval.When SampleType is Percent, specify the percentage of the sampling interval.When SampleType is Time, specify the sampling interval time in seconds.
- sample
Type String - Sampling type, optional value:Percent/Time.
- width Double
- The maximum value of the width (or long side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- column
Count number - The number of columns in the small image in the sprite.
- comment string
- Template description information, length limit: 256 characters.
- fill
Type string - Filling type, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling type:stretch: Stretching, stretching each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the video aspect ratio unchanged, and fill the rest of the edge with black.Default value: black.
- format string
- Image format, the value can be jpg, png, webp. Default is jpg.
- height number
- The maximum value of the height (or short side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- mps
Image stringSprite Template Id - ID of the resource.
- name string
- Image sprite template name, length limit: 64 characters.
- resolution
Adaptive string - Adaptive resolution, optional value:open: At this time, Width represents the long side of the video, Height represents the short side of the video.close: At this point, Width represents the width of the video, and Height represents the height of the video.Default value: open.
- row
Count number - The number of rows in the small image in the sprite.
- sample
Interval number - Sampling interval.When SampleType is Percent, specify the percentage of the sampling interval.When SampleType is Time, specify the sampling interval time in seconds.
- sample
Type string - Sampling type, optional value:Percent/Time.
- width number
- The maximum value of the width (or long side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- column_
count float - The number of columns in the small image in the sprite.
- comment str
- Template description information, length limit: 256 characters.
- fill_
type str - Filling type, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling type:stretch: Stretching, stretching each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the video aspect ratio unchanged, and fill the rest of the edge with black.Default value: black.
- format str
- Image format, the value can be jpg, png, webp. Default is jpg.
- height float
- The maximum value of the height (or short side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- mps_
image_ strsprite_ template_ id - ID of the resource.
- name str
- Image sprite template name, length limit: 64 characters.
- resolution_
adaptive str - Adaptive resolution, optional value:open: At this time, Width represents the long side of the video, Height represents the short side of the video.close: At this point, Width represents the width of the video, and Height represents the height of the video.Default value: open.
- row_
count float - The number of rows in the small image in the sprite.
- sample_
interval float - Sampling interval.When SampleType is Percent, specify the percentage of the sampling interval.When SampleType is Time, specify the sampling interval time in seconds.
- sample_
type str - Sampling type, optional value:Percent/Time.
- width float
- The maximum value of the width (or long side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- column
Count Number - The number of columns in the small image in the sprite.
- comment String
- Template description information, length limit: 256 characters.
- fill
Type String - Filling type, when the aspect ratio of the video stream configuration is inconsistent with the aspect ratio of the original video, the processing method for transcoding is filling. Optional filling type:stretch: Stretching, stretching each frame to fill the entire screen, which may cause the transcoded video to be squashed or stretched.black: Leave black, keep the video aspect ratio unchanged, and fill the rest of the edge with black.Default value: black.
- format String
- Image format, the value can be jpg, png, webp. Default is jpg.
- height Number
- The maximum value of the height (or short side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
- mps
Image StringSprite Template Id - ID of the resource.
- name String
- Image sprite template name, length limit: 64 characters.
- resolution
Adaptive String - Adaptive resolution, optional value:open: At this time, Width represents the long side of the video, Height represents the short side of the video.close: At this point, Width represents the width of the video, and Height represents the height of the video.Default value: open.
- row
Count Number - The number of rows in the small image in the sprite.
- sample
Interval Number - Sampling interval.When SampleType is Percent, specify the percentage of the sampling interval.When SampleType is Time, specify the sampling interval time in seconds.
- sample
Type String - Sampling type, optional value:Percent/Time.
- width Number
- The maximum value of the width (or long side) of the small image in the sprite image, value range: 0 and [128, 4096], unit: px.When Width and Height are both 0, the resolution is the same.When Width is 0 and Height is not 0, Width is scaled proportionally.When Width is not 0 and Height is 0, Height is scaled proportionally.When both Width and Height are not 0, the resolution is specified by the user.Default value: 0.
Import
mps image_sprite_template can be imported using the id, e.g.
$ pulumi import tencentcloud:index/mpsImageSpriteTemplate:MpsImageSpriteTemplate image_sprite_template image_sprite_template_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.