tencentcloud.MpsAnimatedGraphicsTemplate
Explore with Pulumi AI
Provides a resource to create a mps animated_graphics_template
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const animatedGraphicsTemplate = new tencentcloud.MpsAnimatedGraphicsTemplate("animatedGraphicsTemplate", {
format: "gif",
fps: 20,
height: 130,
quality: 75,
resolutionAdaptive: "open",
width: 140,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
animated_graphics_template = tencentcloud.MpsAnimatedGraphicsTemplate("animatedGraphicsTemplate",
format="gif",
fps=20,
height=130,
quality=75,
resolution_adaptive="open",
width=140)
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.NewMpsAnimatedGraphicsTemplate(ctx, "animatedGraphicsTemplate", &tencentcloud.MpsAnimatedGraphicsTemplateArgs{
Format: pulumi.String("gif"),
Fps: pulumi.Float64(20),
Height: pulumi.Float64(130),
Quality: pulumi.Float64(75),
ResolutionAdaptive: pulumi.String("open"),
Width: pulumi.Float64(140),
})
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 animatedGraphicsTemplate = new Tencentcloud.MpsAnimatedGraphicsTemplate("animatedGraphicsTemplate", new()
{
Format = "gif",
Fps = 20,
Height = 130,
Quality = 75,
ResolutionAdaptive = "open",
Width = 140,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.MpsAnimatedGraphicsTemplate;
import com.pulumi.tencentcloud.MpsAnimatedGraphicsTemplateArgs;
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 animatedGraphicsTemplate = new MpsAnimatedGraphicsTemplate("animatedGraphicsTemplate", MpsAnimatedGraphicsTemplateArgs.builder()
.format("gif")
.fps(20)
.height(130)
.quality(75)
.resolutionAdaptive("open")
.width(140)
.build());
}
}
resources:
animatedGraphicsTemplate:
type: tencentcloud:MpsAnimatedGraphicsTemplate
properties:
format: gif
fps: 20
height: 130
quality: 75
resolutionAdaptive: open
width: 140
Create MpsAnimatedGraphicsTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MpsAnimatedGraphicsTemplate(name: string, args: MpsAnimatedGraphicsTemplateArgs, opts?: CustomResourceOptions);
@overload
def MpsAnimatedGraphicsTemplate(resource_name: str,
args: MpsAnimatedGraphicsTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MpsAnimatedGraphicsTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
fps: Optional[float] = None,
comment: Optional[str] = None,
format: Optional[str] = None,
height: Optional[float] = None,
mps_animated_graphics_template_id: Optional[str] = None,
name: Optional[str] = None,
quality: Optional[float] = None,
resolution_adaptive: Optional[str] = None,
width: Optional[float] = None)
func NewMpsAnimatedGraphicsTemplate(ctx *Context, name string, args MpsAnimatedGraphicsTemplateArgs, opts ...ResourceOption) (*MpsAnimatedGraphicsTemplate, error)
public MpsAnimatedGraphicsTemplate(string name, MpsAnimatedGraphicsTemplateArgs args, CustomResourceOptions? opts = null)
public MpsAnimatedGraphicsTemplate(String name, MpsAnimatedGraphicsTemplateArgs args)
public MpsAnimatedGraphicsTemplate(String name, MpsAnimatedGraphicsTemplateArgs args, CustomResourceOptions options)
type: tencentcloud:MpsAnimatedGraphicsTemplate
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 MpsAnimatedGraphicsTemplateArgs
- 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 MpsAnimatedGraphicsTemplateArgs
- 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 MpsAnimatedGraphicsTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MpsAnimatedGraphicsTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MpsAnimatedGraphicsTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
MpsAnimatedGraphicsTemplate 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 MpsAnimatedGraphicsTemplate resource accepts the following input properties:
- Fps double
- Frame rate, value range: [1, 30], unit: Hz.
- Comment string
- Template description information, length limit: 256 characters.
- Format string
- Animation format, the values are gif and webp. Default is gif.
- Height double
- The maximum value of the animation height (or short side), 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
Animated stringGraphics Template Id - ID of the resource.
- Name string
- Rotation diagram template name, length limit: 64 characters.
- Quality double
- Image quality, value range: [1, 100], default value is 75.
- 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 animation width (or long side), 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.
- Fps float64
- Frame rate, value range: [1, 30], unit: Hz.
- Comment string
- Template description information, length limit: 256 characters.
- Format string
- Animation format, the values are gif and webp. Default is gif.
- Height float64
- The maximum value of the animation height (or short side), 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
Animated stringGraphics Template Id - ID of the resource.
- Name string
- Rotation diagram template name, length limit: 64 characters.
- Quality float64
- Image quality, value range: [1, 100], default value is 75.
- 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 animation width (or long side), 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.
- fps Double
- Frame rate, value range: [1, 30], unit: Hz.
- comment String
- Template description information, length limit: 256 characters.
- format String
- Animation format, the values are gif and webp. Default is gif.
- height Double
- The maximum value of the animation height (or short side), 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
Animated StringGraphics Template Id - ID of the resource.
- name String
- Rotation diagram template name, length limit: 64 characters.
- quality Double
- Image quality, value range: [1, 100], default value is 75.
- 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 animation width (or long side), 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.
- fps number
- Frame rate, value range: [1, 30], unit: Hz.
- comment string
- Template description information, length limit: 256 characters.
- format string
- Animation format, the values are gif and webp. Default is gif.
- height number
- The maximum value of the animation height (or short side), 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
Animated stringGraphics Template Id - ID of the resource.
- name string
- Rotation diagram template name, length limit: 64 characters.
- quality number
- Image quality, value range: [1, 100], default value is 75.
- 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 animation width (or long side), 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.
- fps float
- Frame rate, value range: [1, 30], unit: Hz.
- comment str
- Template description information, length limit: 256 characters.
- format str
- Animation format, the values are gif and webp. Default is gif.
- height float
- The maximum value of the animation height (or short side), 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_
animated_ strgraphics_ template_ id - ID of the resource.
- name str
- Rotation diagram template name, length limit: 64 characters.
- quality float
- Image quality, value range: [1, 100], default value is 75.
- 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 animation width (or long side), 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.
- fps Number
- Frame rate, value range: [1, 30], unit: Hz.
- comment String
- Template description information, length limit: 256 characters.
- format String
- Animation format, the values are gif and webp. Default is gif.
- height Number
- The maximum value of the animation height (or short side), 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
Animated StringGraphics Template Id - ID of the resource.
- name String
- Rotation diagram template name, length limit: 64 characters.
- quality Number
- Image quality, value range: [1, 100], default value is 75.
- 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 animation width (or long side), 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 MpsAnimatedGraphicsTemplate 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 MpsAnimatedGraphicsTemplate Resource
Get an existing MpsAnimatedGraphicsTemplate 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?: MpsAnimatedGraphicsTemplateState, opts?: CustomResourceOptions): MpsAnimatedGraphicsTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
comment: Optional[str] = None,
format: Optional[str] = None,
fps: Optional[float] = None,
height: Optional[float] = None,
mps_animated_graphics_template_id: Optional[str] = None,
name: Optional[str] = None,
quality: Optional[float] = None,
resolution_adaptive: Optional[str] = None,
width: Optional[float] = None) -> MpsAnimatedGraphicsTemplate
func GetMpsAnimatedGraphicsTemplate(ctx *Context, name string, id IDInput, state *MpsAnimatedGraphicsTemplateState, opts ...ResourceOption) (*MpsAnimatedGraphicsTemplate, error)
public static MpsAnimatedGraphicsTemplate Get(string name, Input<string> id, MpsAnimatedGraphicsTemplateState? state, CustomResourceOptions? opts = null)
public static MpsAnimatedGraphicsTemplate get(String name, Output<String> id, MpsAnimatedGraphicsTemplateState state, CustomResourceOptions options)
resources: _: type: tencentcloud:MpsAnimatedGraphicsTemplate 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.
- Comment string
- Template description information, length limit: 256 characters.
- Format string
- Animation format, the values are gif and webp. Default is gif.
- Fps double
- Frame rate, value range: [1, 30], unit: Hz.
- Height double
- The maximum value of the animation height (or short side), 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
Animated stringGraphics Template Id - ID of the resource.
- Name string
- Rotation diagram template name, length limit: 64 characters.
- Quality double
- Image quality, value range: [1, 100], default value is 75.
- 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 animation width (or long side), 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.
- Comment string
- Template description information, length limit: 256 characters.
- Format string
- Animation format, the values are gif and webp. Default is gif.
- Fps float64
- Frame rate, value range: [1, 30], unit: Hz.
- Height float64
- The maximum value of the animation height (or short side), 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
Animated stringGraphics Template Id - ID of the resource.
- Name string
- Rotation diagram template name, length limit: 64 characters.
- Quality float64
- Image quality, value range: [1, 100], default value is 75.
- 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 animation width (or long side), 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.
- comment String
- Template description information, length limit: 256 characters.
- format String
- Animation format, the values are gif and webp. Default is gif.
- fps Double
- Frame rate, value range: [1, 30], unit: Hz.
- height Double
- The maximum value of the animation height (or short side), 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
Animated StringGraphics Template Id - ID of the resource.
- name String
- Rotation diagram template name, length limit: 64 characters.
- quality Double
- Image quality, value range: [1, 100], default value is 75.
- 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 animation width (or long side), 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.
- comment string
- Template description information, length limit: 256 characters.
- format string
- Animation format, the values are gif and webp. Default is gif.
- fps number
- Frame rate, value range: [1, 30], unit: Hz.
- height number
- The maximum value of the animation height (or short side), 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
Animated stringGraphics Template Id - ID of the resource.
- name string
- Rotation diagram template name, length limit: 64 characters.
- quality number
- Image quality, value range: [1, 100], default value is 75.
- 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 animation width (or long side), 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.
- comment str
- Template description information, length limit: 256 characters.
- format str
- Animation format, the values are gif and webp. Default is gif.
- fps float
- Frame rate, value range: [1, 30], unit: Hz.
- height float
- The maximum value of the animation height (or short side), 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_
animated_ strgraphics_ template_ id - ID of the resource.
- name str
- Rotation diagram template name, length limit: 64 characters.
- quality float
- Image quality, value range: [1, 100], default value is 75.
- 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 animation width (or long side), 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.
- comment String
- Template description information, length limit: 256 characters.
- format String
- Animation format, the values are gif and webp. Default is gif.
- fps Number
- Frame rate, value range: [1, 30], unit: Hz.
- height Number
- The maximum value of the animation height (or short side), 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
Animated StringGraphics Template Id - ID of the resource.
- name String
- Rotation diagram template name, length limit: 64 characters.
- quality Number
- Image quality, value range: [1, 100], default value is 75.
- 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 animation width (or long side), 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 animated_graphics_template can be imported using the id, e.g.
$ pulumi import tencentcloud:index/mpsAnimatedGraphicsTemplate:MpsAnimatedGraphicsTemplate animated_graphics_template animated_graphics_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.