Documentation ¶
Index ¶
- Constants
- Variables
- func DataSourceTencentCloudVodAdaptiveDynamicStreamingTemplates() *schema.Resource
- func DataSourceTencentCloudVodImageSpriteTemplates() *schema.Resource
- func DataSourceTencentCloudVodProcedureTemplates() *schema.Resource
- func DataSourceTencentCloudVodSnapshotByTimeOffsetTemplates() *schema.Resource
- func DataSourceTencentCloudVodSuperPlayerConfigs() *schema.Resource
- func ResourceTencentCloudVodAdaptiveDynamicStreamingTemplate() *schema.Resource
- func ResourceTencentCloudVodImageSpriteTemplate() *schema.Resource
- func ResourceTencentCloudVodProcedureTemplate() *schema.Resource
- func ResourceTencentCloudVodSnapshotByTimeOffsetTemplate() *schema.Resource
- func ResourceTencentCloudVodSubApplication() *schema.Resource
- func ResourceTencentCloudVodSuperPlayerConfig() *schema.Resource
- func VodWatermarkResource() *schema.Resource
- type VodService
- func (me *VodService) DeleteAdaptiveDynamicStreamingTemplate(ctx context.Context, templateId string, subAppid uint64) (errRet error)
- func (me *VodService) DeleteImageSpriteTemplate(ctx context.Context, templateId string, subAppid uint64) (errRet error)
- func (me *VodService) DeleteProcedureTemplate(ctx context.Context, templateId string, subAppid uint64) (errRet error)
- func (me *VodService) DeleteSnapshotByTimeOffsetTemplate(ctx context.Context, templateId string, subAppid uint64) (errRet error)
- func (me *VodService) DeleteSuperPlayerConfig(ctx context.Context, configId string, subAppid uint64) (errRet error)
- func (me *VodService) DescribeAdaptiveDynamicStreamingTemplatesByFilter(ctx context.Context, filters map[string]interface{}) (templates []*vod.AdaptiveDynamicStreamingTemplate, errRet error)
- func (me *VodService) DescribeAdaptiveDynamicStreamingTemplatesById(ctx context.Context, templateId string, subAppId int) (templateInfo *vod.AdaptiveDynamicStreamingTemplate, has bool, errRet error)
- func (me *VodService) DescribeImageSpriteTemplatesByFilter(ctx context.Context, filters map[string]interface{}) (templates []*vod.ImageSpriteTemplate, errRet error)
- func (me *VodService) DescribeImageSpriteTemplatesById(ctx context.Context, templateId string, subAppId int) (templateInfo *vod.ImageSpriteTemplate, has bool, errRet error)
- func (me *VodService) DescribeProcedureTemplatesByFilter(ctx context.Context, filters map[string]interface{}) (templates []*vod.ProcedureTemplate, errRet error)
- func (me *VodService) DescribeProcedureTemplatesById(ctx context.Context, templateId string, subAppId int) (templateInfo *vod.ProcedureTemplate, has bool, errRet error)
- func (me *VodService) DescribeSnapshotByTimeOffsetTemplatesByFilter(ctx context.Context, filters map[string]interface{}) (templates []*vod.SnapshotByTimeOffsetTemplate, errRet error)
- func (me *VodService) DescribeSnapshotByTimeOffsetTemplatesById(ctx context.Context, templateId string, subAppId int) (templateInfo *vod.SnapshotByTimeOffsetTemplate, has bool, errRet error)
- func (me *VodService) DescribeSuperPlayerConfigsByFilter(ctx context.Context, filters map[string]interface{}) (configs []*vod.PlayerConfig, errRet error)
- func (me *VodService) DescribeSuperPlayerConfigsById(ctx context.Context, configId string) (configInfo *vod.PlayerConfig, has bool, errRet error)
Constants ¶
View Source
const ( VOD_AUDIO_CHANNEL_MONO = "mono" VOD_AUDIO_CHANNEL_DUAL = "dual" VOD_AUDIO_CHANNEL_STEREO = "stereo" VOD_SUB_APPLICATION_RUNNING = "On" VOD_SUB_APPLICATION_STOPPED = "Off" VOD_SUB_APPLICATION_DESTROY = "Destroyed" VOD_DEFAULT_OFFSET = 0 VOD_MAX_LIMIT = 100 )
Variables ¶
View Source
var ( VOD_AUDIO_CHANNEL_TYPE_TO_INT = map[string]int64{ VOD_AUDIO_CHANNEL_MONO: 1, VOD_AUDIO_CHANNEL_DUAL: 2, VOD_AUDIO_CHANNEL_STEREO: 6, } VOD_AUDIO_CHANNEL_TYPE_TO_STRING = map[int64]string{ 1: VOD_AUDIO_CHANNEL_MONO, 2: VOD_AUDIO_CHANNEL_DUAL, 6: VOD_AUDIO_CHANNEL_STEREO, } DISABLE_HIGHER_VIDEO_BITRATE_TO_UNINT = map[bool]uint64{ // contains filtered or unexported fields } DISABLE_HIGHER_VIDEO_RESOLUTION_TO_UNINT = map[bool]uint64{ // contains filtered or unexported fields } RESOLUTION_ADAPTIVE_TO_STRING = map[bool]string{ // contains filtered or unexported fields } REMOVE_AUDIO_TO_UNINT = map[bool]uint64{ // contains filtered or unexported fields } DRM_SWITCH_TO_STRING = map[bool]string{ // contains filtered or unexported fields } )
View Source
var VOD_SUB_APPLICATION_STATUS = []string{ VOD_SUB_APPLICATION_RUNNING, VOD_SUB_APPLICATION_STOPPED, VOD_SUB_APPLICATION_DESTROY, }
Functions ¶
func VodWatermarkResource ¶
Types ¶
type VodService ¶
type VodService struct {
// contains filtered or unexported fields
}
func NewVodService ¶
func NewVodService(client *connectivity.TencentCloudClient) VodService
func (*VodService) DeleteAdaptiveDynamicStreamingTemplate ¶
func (*VodService) DeleteImageSpriteTemplate ¶
func (*VodService) DeleteProcedureTemplate ¶
func (*VodService) DeleteSnapshotByTimeOffsetTemplate ¶
func (*VodService) DeleteSuperPlayerConfig ¶
func (*VodService) DescribeAdaptiveDynamicStreamingTemplatesByFilter ¶
func (me *VodService) DescribeAdaptiveDynamicStreamingTemplatesByFilter(ctx context.Context, filters map[string]interface{}) (templates []*vod.AdaptiveDynamicStreamingTemplate, errRet error)
func (*VodService) DescribeAdaptiveDynamicStreamingTemplatesById ¶
func (me *VodService) DescribeAdaptiveDynamicStreamingTemplatesById(ctx context.Context, templateId string, subAppId int) (templateInfo *vod.AdaptiveDynamicStreamingTemplate, has bool, errRet error)
func (*VodService) DescribeImageSpriteTemplatesByFilter ¶
func (me *VodService) DescribeImageSpriteTemplatesByFilter(ctx context.Context, filters map[string]interface{}) (templates []*vod.ImageSpriteTemplate, errRet error)
func (*VodService) DescribeImageSpriteTemplatesById ¶
func (me *VodService) DescribeImageSpriteTemplatesById(ctx context.Context, templateId string, subAppId int) (templateInfo *vod.ImageSpriteTemplate, has bool, errRet error)
func (*VodService) DescribeProcedureTemplatesByFilter ¶
func (me *VodService) DescribeProcedureTemplatesByFilter(ctx context.Context, filters map[string]interface{}) (templates []*vod.ProcedureTemplate, errRet error)
func (*VodService) DescribeProcedureTemplatesById ¶
func (me *VodService) DescribeProcedureTemplatesById(ctx context.Context, templateId string, subAppId int) (templateInfo *vod.ProcedureTemplate, has bool, errRet error)
func (*VodService) DescribeSnapshotByTimeOffsetTemplatesByFilter ¶
func (me *VodService) DescribeSnapshotByTimeOffsetTemplatesByFilter(ctx context.Context, filters map[string]interface{}) (templates []*vod.SnapshotByTimeOffsetTemplate, errRet error)
func (*VodService) DescribeSnapshotByTimeOffsetTemplatesById ¶
func (me *VodService) DescribeSnapshotByTimeOffsetTemplatesById(ctx context.Context, templateId string, subAppId int) (templateInfo *vod.SnapshotByTimeOffsetTemplate, has bool, errRet error)
func (*VodService) DescribeSuperPlayerConfigsByFilter ¶
func (me *VodService) DescribeSuperPlayerConfigsByFilter(ctx context.Context, filters map[string]interface{}) (configs []*vod.PlayerConfig, errRet error)
func (*VodService) DescribeSuperPlayerConfigsById ¶
func (me *VodService) DescribeSuperPlayerConfigsById(ctx context.Context, configId string) (configInfo *vod.PlayerConfig, has bool, errRet error)
Source Files ¶
- data_source_tc_vod_adaptive_dynamic_streaming_templates.go
- data_source_tc_vod_image_sprite_templates.go
- data_source_tc_vod_procedure_templates.go
- data_source_tc_vod_snapshot_by_time_offset_templates.go
- data_source_tc_vod_super_player_configs.go
- extension_vod.go
- resource_tc_vod_adaptive_dynamic_streaming_template.go
- resource_tc_vod_image_sprite_template.go
- resource_tc_vod_procedure_template.go
- resource_tc_vod_snapshot_by_time_offset_template.go
- resource_tc_vod_sub_application.go
- resource_tc_vod_super_player_config.go
- service_tencentcloud_vod.go
Click to show internal directories.
Click to hide internal directories.