encodings

package
v0.20230127.1024009 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/media/2020-05-01/encodings Documentation

The encodings SDK allows for interaction with the Azure Resource Manager Service media (API Version 2020-05-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/media/2020-05-01/encodings"

Client Initialization

client := encodings.NewEncodingsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: EncodingsClient.JobsCancelJob

ctx := context.TODO()
id := encodings.NewJobID("12345678-1234-9876-4563-123456789012", "example-resource-group", "mediaServiceValue", "transformValue", "jobValue")

read, err := client.JobsCancelJob(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EncodingsClient.JobsCreate

ctx := context.TODO()
id := encodings.NewJobID("12345678-1234-9876-4563-123456789012", "example-resource-group", "mediaServiceValue", "transformValue", "jobValue")

payload := encodings.Job{
	// ...
}


read, err := client.JobsCreate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EncodingsClient.JobsDelete

ctx := context.TODO()
id := encodings.NewJobID("12345678-1234-9876-4563-123456789012", "example-resource-group", "mediaServiceValue", "transformValue", "jobValue")

read, err := client.JobsDelete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EncodingsClient.JobsGet

ctx := context.TODO()
id := encodings.NewJobID("12345678-1234-9876-4563-123456789012", "example-resource-group", "mediaServiceValue", "transformValue", "jobValue")

read, err := client.JobsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EncodingsClient.JobsList

ctx := context.TODO()
id := encodings.NewTransformID("12345678-1234-9876-4563-123456789012", "example-resource-group", "mediaServiceValue", "transformValue")

// alternatively `client.JobsList(ctx, id, encodings.DefaultJobsListOperationOptions())` can be used to do batched pagination
items, err := client.JobsListComplete(ctx, id, encodings.DefaultJobsListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: EncodingsClient.JobsUpdate

ctx := context.TODO()
id := encodings.NewJobID("12345678-1234-9876-4563-123456789012", "example-resource-group", "mediaServiceValue", "transformValue", "jobValue")

payload := encodings.Job{
	// ...
}


read, err := client.JobsUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EncodingsClient.TransformsCreateOrUpdate

ctx := context.TODO()
id := encodings.NewTransformID("12345678-1234-9876-4563-123456789012", "example-resource-group", "mediaServiceValue", "transformValue")

payload := encodings.Transform{
	// ...
}


read, err := client.TransformsCreateOrUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EncodingsClient.TransformsDelete

ctx := context.TODO()
id := encodings.NewTransformID("12345678-1234-9876-4563-123456789012", "example-resource-group", "mediaServiceValue", "transformValue")

read, err := client.TransformsDelete(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EncodingsClient.TransformsGet

ctx := context.TODO()
id := encodings.NewTransformID("12345678-1234-9876-4563-123456789012", "example-resource-group", "mediaServiceValue", "transformValue")

read, err := client.TransformsGet(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: EncodingsClient.TransformsList

ctx := context.TODO()
id := encodings.NewMediaServiceID("12345678-1234-9876-4563-123456789012", "example-resource-group", "mediaServiceValue")

// alternatively `client.TransformsList(ctx, id, encodings.DefaultTransformsListOperationOptions())` can be used to do batched pagination
items, err := client.TransformsListComplete(ctx, id, encodings.DefaultTransformsListOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: EncodingsClient.TransformsUpdate

ctx := context.TODO()
id := encodings.NewTransformID("12345678-1234-9876-4563-123456789012", "example-resource-group", "mediaServiceValue", "transformValue")

payload := encodings.Transform{
	// ...
}


read, err := client.TransformsUpdate(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAacAudioProfile added in v0.20221116.1175352

func PossibleValuesForAacAudioProfile() []string

func PossibleValuesForAnalysisResolution

func PossibleValuesForAnalysisResolution() []string

func PossibleValuesForAttributeFilter added in v0.20221116.1175352

func PossibleValuesForAttributeFilter() []string

func PossibleValuesForAudioAnalysisMode

func PossibleValuesForAudioAnalysisMode() []string

func PossibleValuesForBlurType

func PossibleValuesForBlurType() []string

func PossibleValuesForChannelMapping

func PossibleValuesForChannelMapping() []string

func PossibleValuesForDeinterlaceMode

func PossibleValuesForDeinterlaceMode() []string

func PossibleValuesForDeinterlaceParity

func PossibleValuesForDeinterlaceParity() []string

func PossibleValuesForEncoderNamedPreset

func PossibleValuesForEncoderNamedPreset() []string

func PossibleValuesForEntropyMode added in v0.20221116.1175352

func PossibleValuesForEntropyMode() []string

func PossibleValuesForFaceRedactorMode

func PossibleValuesForFaceRedactorMode() []string

func PossibleValuesForH264Complexity added in v0.20221116.1175352

func PossibleValuesForH264Complexity() []string

func PossibleValuesForH264VideoProfile added in v0.20221116.1175352

func PossibleValuesForH264VideoProfile() []string

func PossibleValuesForH265Complexity added in v0.20221116.1175352

func PossibleValuesForH265Complexity() []string

func PossibleValuesForH265VideoProfile added in v0.20221116.1175352

func PossibleValuesForH265VideoProfile() []string

func PossibleValuesForInsightsType added in v0.20221116.1175352

func PossibleValuesForInsightsType() []string

func PossibleValuesForJobErrorCategory

func PossibleValuesForJobErrorCategory() []string

func PossibleValuesForJobErrorCode

func PossibleValuesForJobErrorCode() []string

func PossibleValuesForJobRetry

func PossibleValuesForJobRetry() []string

func PossibleValuesForJobState

func PossibleValuesForJobState() []string

func PossibleValuesForOnErrorType

func PossibleValuesForOnErrorType() []string

func PossibleValuesForPriority

func PossibleValuesForPriority() []string

func PossibleValuesForRotation

func PossibleValuesForRotation() []string

func PossibleValuesForStretchMode

func PossibleValuesForStretchMode() []string

func PossibleValuesForTrackAttribute added in v0.20221116.1175352

func PossibleValuesForTrackAttribute() []string

func PossibleValuesForVideoSyncMode

func PossibleValuesForVideoSyncMode() []string

func ValidateJobID

func ValidateJobID(input interface{}, key string) (warnings []string, errors []error)

ValidateJobID checks that 'input' can be parsed as a Job ID

func ValidateMediaServiceID

func ValidateMediaServiceID(input interface{}, key string) (warnings []string, errors []error)

ValidateMediaServiceID checks that 'input' can be parsed as a Media Service ID

func ValidateTransformID

func ValidateTransformID(input interface{}, key string) (warnings []string, errors []error)

ValidateTransformID checks that 'input' can be parsed as a Transform ID

Types

type AacAudio added in v0.20221116.1175352

type AacAudio struct {
	Bitrate      *int64           `json:"bitrate,omitempty"`
	Channels     *int64           `json:"channels,omitempty"`
	Profile      *AacAudioProfile `json:"profile,omitempty"`
	SamplingRate *int64           `json:"samplingRate,omitempty"`

	// Fields inherited from Codec
	Label *string `json:"label,omitempty"`
}

func (AacAudio) MarshalJSON added in v0.20221116.1175352

func (s AacAudio) MarshalJSON() ([]byte, error)

type AacAudioProfile added in v0.20221116.1175352

type AacAudioProfile string
const (
	AacAudioProfileAacLc     AacAudioProfile = "AacLc"
	AacAudioProfileHeAacVOne AacAudioProfile = "HeAacV1"
	AacAudioProfileHeAacVTwo AacAudioProfile = "HeAacV2"
)

type AbsoluteClipTime

type AbsoluteClipTime struct {
	Time string `json:"time"`
}

func (AbsoluteClipTime) MarshalJSON

func (s AbsoluteClipTime) MarshalJSON() ([]byte, error)

type AnalysisResolution

type AnalysisResolution string
const (
	AnalysisResolutionSourceResolution   AnalysisResolution = "SourceResolution"
	AnalysisResolutionStandardDefinition AnalysisResolution = "StandardDefinition"
)

type AttributeFilter added in v0.20221116.1175352

type AttributeFilter string
const (
	AttributeFilterAll         AttributeFilter = "All"
	AttributeFilterBottom      AttributeFilter = "Bottom"
	AttributeFilterTop         AttributeFilter = "Top"
	AttributeFilterValueEquals AttributeFilter = "ValueEquals"
)

type Audio

type Audio struct {
	Bitrate      *int64 `json:"bitrate,omitempty"`
	Channels     *int64 `json:"channels,omitempty"`
	SamplingRate *int64 `json:"samplingRate,omitempty"`

	// Fields inherited from Codec
	Label *string `json:"label,omitempty"`
}

func (Audio) MarshalJSON

func (s Audio) MarshalJSON() ([]byte, error)

type AudioAnalysisMode

type AudioAnalysisMode string
const (
	AudioAnalysisModeBasic    AudioAnalysisMode = "Basic"
	AudioAnalysisModeStandard AudioAnalysisMode = "Standard"
)

type AudioAnalyzerPreset

type AudioAnalyzerPreset struct {
	AudioLanguage       *string            `json:"audioLanguage,omitempty"`
	ExperimentalOptions *map[string]string `json:"experimentalOptions,omitempty"`
	Mode                *AudioAnalysisMode `json:"mode,omitempty"`
}

func (AudioAnalyzerPreset) MarshalJSON

func (s AudioAnalyzerPreset) MarshalJSON() ([]byte, error)

type AudioOverlay

type AudioOverlay struct {

	// Fields inherited from Overlay
	AudioGainLevel  *float64 `json:"audioGainLevel,omitempty"`
	End             *string  `json:"end,omitempty"`
	FadeInDuration  *string  `json:"fadeInDuration,omitempty"`
	FadeOutDuration *string  `json:"fadeOutDuration,omitempty"`
	InputLabel      string   `json:"inputLabel"`
	Start           *string  `json:"start,omitempty"`
}

func (AudioOverlay) MarshalJSON

func (s AudioOverlay) MarshalJSON() ([]byte, error)

type AudioTrackDescriptor

type AudioTrackDescriptor struct {
	ChannelMapping *ChannelMapping `json:"channelMapping,omitempty"`
}

func (AudioTrackDescriptor) MarshalJSON

func (s AudioTrackDescriptor) MarshalJSON() ([]byte, error)

type BlurType

type BlurType string
const (
	BlurTypeBlack BlurType = "Black"
	BlurTypeBox   BlurType = "Box"
	BlurTypeHigh  BlurType = "High"
	BlurTypeLow   BlurType = "Low"
	BlurTypeMed   BlurType = "Med"
)

type BuiltInStandardEncoderPreset

type BuiltInStandardEncoderPreset struct {
	PresetName EncoderNamedPreset `json:"presetName"`
}

func (BuiltInStandardEncoderPreset) MarshalJSON

func (s BuiltInStandardEncoderPreset) MarshalJSON() ([]byte, error)

type ChannelMapping

type ChannelMapping string
const (
	ChannelMappingBackLeft            ChannelMapping = "BackLeft"
	ChannelMappingBackRight           ChannelMapping = "BackRight"
	ChannelMappingCenter              ChannelMapping = "Center"
	ChannelMappingFrontLeft           ChannelMapping = "FrontLeft"
	ChannelMappingFrontRight          ChannelMapping = "FrontRight"
	ChannelMappingLowFrequencyEffects ChannelMapping = "LowFrequencyEffects"
	ChannelMappingStereoLeft          ChannelMapping = "StereoLeft"
	ChannelMappingStereoRight         ChannelMapping = "StereoRight"
)

type ClipTime

type ClipTime interface {
}

type Codec

type Codec interface {
}

type CopyAudio

type CopyAudio struct {

	// Fields inherited from Codec
	Label *string `json:"label,omitempty"`
}

func (CopyAudio) MarshalJSON

func (s CopyAudio) MarshalJSON() ([]byte, error)

type CopyVideo

type CopyVideo struct {

	// Fields inherited from Codec
	Label *string `json:"label,omitempty"`
}

func (CopyVideo) MarshalJSON

func (s CopyVideo) MarshalJSON() ([]byte, error)

type Deinterlace

type Deinterlace struct {
	Mode   *DeinterlaceMode   `json:"mode,omitempty"`
	Parity *DeinterlaceParity `json:"parity,omitempty"`
}

type DeinterlaceMode

type DeinterlaceMode string
const (
	DeinterlaceModeAutoPixelAdaptive DeinterlaceMode = "AutoPixelAdaptive"
	DeinterlaceModeOff               DeinterlaceMode = "Off"
)

type DeinterlaceParity

type DeinterlaceParity string
const (
	DeinterlaceParityAuto             DeinterlaceParity = "Auto"
	DeinterlaceParityBottomFieldFirst DeinterlaceParity = "BottomFieldFirst"
	DeinterlaceParityTopFieldFirst    DeinterlaceParity = "TopFieldFirst"
)

type EncoderNamedPreset

type EncoderNamedPreset string
const (
	EncoderNamedPresetAACGoodQualityAudio                         EncoderNamedPreset = "AACGoodQualityAudio"
	EncoderNamedPresetAdaptiveStreaming                           EncoderNamedPreset = "AdaptiveStreaming"
	EncoderNamedPresetContentAwareEncoding                        EncoderNamedPreset = "ContentAwareEncoding"
	EncoderNamedPresetContentAwareEncodingExperimental            EncoderNamedPreset = "ContentAwareEncodingExperimental"
	EncoderNamedPresetCopyAllBitrateNonInterleaved                EncoderNamedPreset = "CopyAllBitrateNonInterleaved"
	EncoderNamedPresetHTwoSixFiveAdaptiveStreaming                EncoderNamedPreset = "H265AdaptiveStreaming"
	EncoderNamedPresetHTwoSixFiveContentAwareEncoding             EncoderNamedPreset = "H265ContentAwareEncoding"
	EncoderNamedPresetHTwoSixFiveSingleBitrateFourK               EncoderNamedPreset = "H265SingleBitrate4K"
	EncoderNamedPresetHTwoSixFiveSingleBitrateOneZeroEightZerop   EncoderNamedPreset = "H265SingleBitrate1080p"
	EncoderNamedPresetHTwoSixFiveSingleBitrateSevenTwoZerop       EncoderNamedPreset = "H265SingleBitrate720p"
	EncoderNamedPresetHTwoSixFourMultipleBitrateOneZeroEightZerop EncoderNamedPreset = "H264MultipleBitrate1080p"
	EncoderNamedPresetHTwoSixFourMultipleBitrateSD                EncoderNamedPreset = "H264MultipleBitrateSD"
	EncoderNamedPresetHTwoSixFourMultipleBitrateSevenTwoZerop     EncoderNamedPreset = "H264MultipleBitrate720p"
	EncoderNamedPresetHTwoSixFourSingleBitrateOneZeroEightZerop   EncoderNamedPreset = "H264SingleBitrate1080p"
	EncoderNamedPresetHTwoSixFourSingleBitrateSD                  EncoderNamedPreset = "H264SingleBitrateSD"
	EncoderNamedPresetHTwoSixFourSingleBitrateSevenTwoZerop       EncoderNamedPreset = "H264SingleBitrate720p"
)

type EncodingsClient

type EncodingsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewEncodingsClientWithBaseURI

func NewEncodingsClientWithBaseURI(endpoint string) EncodingsClient

func (EncodingsClient) JobsCancelJob

func (c EncodingsClient) JobsCancelJob(ctx context.Context, id JobId) (result JobsCancelJobOperationResponse, err error)

JobsCancelJob ...

func (EncodingsClient) JobsCreate

func (c EncodingsClient) JobsCreate(ctx context.Context, id JobId, input Job) (result JobsCreateOperationResponse, err error)

JobsCreate ...

func (EncodingsClient) JobsDelete

func (c EncodingsClient) JobsDelete(ctx context.Context, id JobId) (result JobsDeleteOperationResponse, err error)

JobsDelete ...

func (EncodingsClient) JobsGet

func (c EncodingsClient) JobsGet(ctx context.Context, id JobId) (result JobsGetOperationResponse, err error)

JobsGet ...

func (EncodingsClient) JobsList

JobsList ...

func (EncodingsClient) JobsListComplete

JobsListComplete retrieves all of the results into a single object

func (EncodingsClient) JobsListCompleteMatchingPredicate

func (c EncodingsClient) JobsListCompleteMatchingPredicate(ctx context.Context, id TransformId, options JobsListOperationOptions, predicate JobOperationPredicate) (resp JobsListCompleteResult, err error)

JobsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (EncodingsClient) JobsUpdate

func (c EncodingsClient) JobsUpdate(ctx context.Context, id JobId, input Job) (result JobsUpdateOperationResponse, err error)

JobsUpdate ...

func (EncodingsClient) TransformsCreateOrUpdate

func (c EncodingsClient) TransformsCreateOrUpdate(ctx context.Context, id TransformId, input Transform) (result TransformsCreateOrUpdateOperationResponse, err error)

TransformsCreateOrUpdate ...

func (EncodingsClient) TransformsDelete

func (c EncodingsClient) TransformsDelete(ctx context.Context, id TransformId) (result TransformsDeleteOperationResponse, err error)

TransformsDelete ...

func (EncodingsClient) TransformsGet

func (c EncodingsClient) TransformsGet(ctx context.Context, id TransformId) (result TransformsGetOperationResponse, err error)

TransformsGet ...

func (EncodingsClient) TransformsList

TransformsList ...

func (EncodingsClient) TransformsListComplete

TransformsListComplete retrieves all of the results into a single object

func (EncodingsClient) TransformsListCompleteMatchingPredicate

func (c EncodingsClient) TransformsListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, options TransformsListOperationOptions, predicate TransformOperationPredicate) (resp TransformsListCompleteResult, err error)

TransformsListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (EncodingsClient) TransformsUpdate

func (c EncodingsClient) TransformsUpdate(ctx context.Context, id TransformId, input Transform) (result TransformsUpdateOperationResponse, err error)

TransformsUpdate ...

type EntropyMode added in v0.20221116.1175352

type EntropyMode string
const (
	EntropyModeCabac EntropyMode = "Cabac"
	EntropyModeCavlc EntropyMode = "Cavlc"
)

type FaceDetectorPreset

type FaceDetectorPreset struct {
	BlurType            *BlurType           `json:"blurType,omitempty"`
	ExperimentalOptions *map[string]string  `json:"experimentalOptions,omitempty"`
	Mode                *FaceRedactorMode   `json:"mode,omitempty"`
	Resolution          *AnalysisResolution `json:"resolution,omitempty"`
}

func (FaceDetectorPreset) MarshalJSON

func (s FaceDetectorPreset) MarshalJSON() ([]byte, error)

type FaceRedactorMode

type FaceRedactorMode string
const (
	FaceRedactorModeAnalyze  FaceRedactorMode = "Analyze"
	FaceRedactorModeCombined FaceRedactorMode = "Combined"
	FaceRedactorModeRedact   FaceRedactorMode = "Redact"
)

type Filters

type Filters struct {
	Crop        *Rectangle   `json:"crop,omitempty"`
	Deinterlace *Deinterlace `json:"deinterlace,omitempty"`
	Overlays    *[]Overlay   `json:"overlays,omitempty"`
	Rotation    *Rotation    `json:"rotation,omitempty"`
}

func (*Filters) UnmarshalJSON

func (s *Filters) UnmarshalJSON(bytes []byte) error

type Format

type Format interface {
}

type FromAllInputFile

type FromAllInputFile struct {

	// Fields inherited from InputDefinition
	IncludedTracks *[]TrackDescriptor `json:"includedTracks,omitempty"`
}

func (FromAllInputFile) MarshalJSON

func (s FromAllInputFile) MarshalJSON() ([]byte, error)

func (*FromAllInputFile) UnmarshalJSON

func (s *FromAllInputFile) UnmarshalJSON(bytes []byte) error

type FromEachInputFile

type FromEachInputFile struct {

	// Fields inherited from InputDefinition
	IncludedTracks *[]TrackDescriptor `json:"includedTracks,omitempty"`
}

func (FromEachInputFile) MarshalJSON

func (s FromEachInputFile) MarshalJSON() ([]byte, error)

func (*FromEachInputFile) UnmarshalJSON

func (s *FromEachInputFile) UnmarshalJSON(bytes []byte) error

type H264Complexity added in v0.20221116.1175352

type H264Complexity string
const (
	H264ComplexityBalanced H264Complexity = "Balanced"
	H264ComplexityQuality  H264Complexity = "Quality"
	H264ComplexitySpeed    H264Complexity = "Speed"
)

type H264Layer added in v0.20221116.1175352

type H264Layer struct {
	AdaptiveBFrame  *bool             `json:"adaptiveBFrame,omitempty"`
	BFrames         *int64            `json:"bFrames,omitempty"`
	Bitrate         int64             `json:"bitrate"`
	BufferWindow    *string           `json:"bufferWindow,omitempty"`
	EntropyMode     *EntropyMode      `json:"entropyMode,omitempty"`
	FrameRate       *string           `json:"frameRate,omitempty"`
	Level           *string           `json:"level,omitempty"`
	MaxBitrate      *int64            `json:"maxBitrate,omitempty"`
	Profile         *H264VideoProfile `json:"profile,omitempty"`
	ReferenceFrames *int64            `json:"referenceFrames,omitempty"`
	Slices          *int64            `json:"slices,omitempty"`

	// Fields inherited from Layer
	Height *string `json:"height,omitempty"`
	Label  *string `json:"label,omitempty"`
	Width  *string `json:"width,omitempty"`
}

func (H264Layer) MarshalJSON added in v0.20221116.1175352

func (s H264Layer) MarshalJSON() ([]byte, error)

type H264Video added in v0.20221116.1175352

type H264Video struct {
	Complexity           *H264Complexity `json:"complexity,omitempty"`
	KeyFrameInterval     *string         `json:"keyFrameInterval,omitempty"`
	Layers               *[]Layer        `json:"layers,omitempty"`
	SceneChangeDetection *bool           `json:"sceneChangeDetection,omitempty"`
	StretchMode          *StretchMode    `json:"stretchMode,omitempty"`
	SyncMode             *VideoSyncMode  `json:"syncMode,omitempty"`

	// Fields inherited from Codec
	Label *string `json:"label,omitempty"`
}

func (H264Video) MarshalJSON added in v0.20221116.1175352

func (s H264Video) MarshalJSON() ([]byte, error)

func (*H264Video) UnmarshalJSON added in v0.20221116.1175352

func (s *H264Video) UnmarshalJSON(bytes []byte) error

type H264VideoProfile added in v0.20221116.1175352

type H264VideoProfile string
const (
	H264VideoProfileAuto             H264VideoProfile = "Auto"
	H264VideoProfileBaseline         H264VideoProfile = "Baseline"
	H264VideoProfileHigh             H264VideoProfile = "High"
	H264VideoProfileHighFourFourFour H264VideoProfile = "High444"
	H264VideoProfileHighFourTwoTwo   H264VideoProfile = "High422"
	H264VideoProfileMain             H264VideoProfile = "Main"
)

type H265Complexity added in v0.20221116.1175352

type H265Complexity string
const (
	H265ComplexityBalanced H265Complexity = "Balanced"
	H265ComplexityQuality  H265Complexity = "Quality"
	H265ComplexitySpeed    H265Complexity = "Speed"
)

type H265Layer added in v0.20221116.1175352

type H265Layer struct {
	AdaptiveBFrame  *bool             `json:"adaptiveBFrame,omitempty"`
	BFrames         *int64            `json:"bFrames,omitempty"`
	Bitrate         int64             `json:"bitrate"`
	BufferWindow    *string           `json:"bufferWindow,omitempty"`
	FrameRate       *string           `json:"frameRate,omitempty"`
	Level           *string           `json:"level,omitempty"`
	MaxBitrate      *int64            `json:"maxBitrate,omitempty"`
	Profile         *H265VideoProfile `json:"profile,omitempty"`
	ReferenceFrames *int64            `json:"referenceFrames,omitempty"`
	Slices          *int64            `json:"slices,omitempty"`

	// Fields inherited from Layer
	Height *string `json:"height,omitempty"`
	Label  *string `json:"label,omitempty"`
	Width  *string `json:"width,omitempty"`
}

func (H265Layer) MarshalJSON added in v0.20221116.1175352

func (s H265Layer) MarshalJSON() ([]byte, error)

type H265Video added in v0.20221116.1175352

type H265Video struct {
	Complexity           *H265Complexity `json:"complexity,omitempty"`
	KeyFrameInterval     *string         `json:"keyFrameInterval,omitempty"`
	Layers               *[]Layer        `json:"layers,omitempty"`
	SceneChangeDetection *bool           `json:"sceneChangeDetection,omitempty"`
	StretchMode          *StretchMode    `json:"stretchMode,omitempty"`
	SyncMode             *VideoSyncMode  `json:"syncMode,omitempty"`

	// Fields inherited from Codec
	Label *string `json:"label,omitempty"`
}

func (H265Video) MarshalJSON added in v0.20221116.1175352

func (s H265Video) MarshalJSON() ([]byte, error)

func (*H265Video) UnmarshalJSON added in v0.20221116.1175352

func (s *H265Video) UnmarshalJSON(bytes []byte) error

type H265VideoLayer added in v0.20221116.1175352

type H265VideoLayer struct {
	AdaptiveBFrame *bool   `json:"adaptiveBFrame,omitempty"`
	BFrames        *int64  `json:"bFrames,omitempty"`
	Bitrate        int64   `json:"bitrate"`
	FrameRate      *string `json:"frameRate,omitempty"`
	MaxBitrate     *int64  `json:"maxBitrate,omitempty"`
	Slices         *int64  `json:"slices,omitempty"`

	// Fields inherited from Layer
	Height *string `json:"height,omitempty"`
	Label  *string `json:"label,omitempty"`
	Width  *string `json:"width,omitempty"`
}

func (H265VideoLayer) MarshalJSON added in v0.20221116.1175352

func (s H265VideoLayer) MarshalJSON() ([]byte, error)

type H265VideoProfile added in v0.20221116.1175352

type H265VideoProfile string
const (
	H265VideoProfileAuto H265VideoProfile = "Auto"
	H265VideoProfileMain H265VideoProfile = "Main"
)

type Image added in v0.20221116.1175352

type Image struct {
	KeyFrameInterval *string        `json:"keyFrameInterval,omitempty"`
	Range            *string        `json:"range,omitempty"`
	Start            string         `json:"start"`
	Step             *string        `json:"step,omitempty"`
	StretchMode      *StretchMode   `json:"stretchMode,omitempty"`
	SyncMode         *VideoSyncMode `json:"syncMode,omitempty"`

	// Fields inherited from Codec
	Label *string `json:"label,omitempty"`
}

func (Image) MarshalJSON added in v0.20221116.1175352

func (s Image) MarshalJSON() ([]byte, error)

type ImageFormat

type ImageFormat struct {

	// Fields inherited from Format
	FilenamePattern string `json:"filenamePattern"`
}

func (ImageFormat) MarshalJSON

func (s ImageFormat) MarshalJSON() ([]byte, error)

type InputDefinition

type InputDefinition interface {
}

type InputFile

type InputFile struct {
	Filename *string `json:"filename,omitempty"`

	// Fields inherited from InputDefinition
	IncludedTracks *[]TrackDescriptor `json:"includedTracks,omitempty"`
}

func (InputFile) MarshalJSON

func (s InputFile) MarshalJSON() ([]byte, error)

func (*InputFile) UnmarshalJSON

func (s *InputFile) UnmarshalJSON(bytes []byte) error

type InsightsType added in v0.20221116.1175352

type InsightsType string
const (
	InsightsTypeAllInsights       InsightsType = "AllInsights"
	InsightsTypeAudioInsightsOnly InsightsType = "AudioInsightsOnly"
	InsightsTypeVideoInsightsOnly InsightsType = "VideoInsightsOnly"
)

type Job

type Job struct {
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties *JobProperties         `json:"properties,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type JobError

type JobError struct {
	Category *JobErrorCategory `json:"category,omitempty"`
	Code     *JobErrorCode     `json:"code,omitempty"`
	Details  *[]JobErrorDetail `json:"details,omitempty"`
	Message  *string           `json:"message,omitempty"`
	Retry    *JobRetry         `json:"retry,omitempty"`
}

type JobErrorCategory

type JobErrorCategory string
const (
	JobErrorCategoryConfiguration JobErrorCategory = "Configuration"
	JobErrorCategoryContent       JobErrorCategory = "Content"
	JobErrorCategoryDownload      JobErrorCategory = "Download"
	JobErrorCategoryService       JobErrorCategory = "Service"
	JobErrorCategoryUpload        JobErrorCategory = "Upload"
)

type JobErrorCode

type JobErrorCode string
const (
	JobErrorCodeConfigurationUnsupported JobErrorCode = "ConfigurationUnsupported"
	JobErrorCodeContentMalformed         JobErrorCode = "ContentMalformed"
	JobErrorCodeContentUnsupported       JobErrorCode = "ContentUnsupported"
	JobErrorCodeDownloadNotAccessible    JobErrorCode = "DownloadNotAccessible"
	JobErrorCodeDownloadTransientError   JobErrorCode = "DownloadTransientError"
	JobErrorCodeServiceError             JobErrorCode = "ServiceError"
	JobErrorCodeServiceTransientError    JobErrorCode = "ServiceTransientError"
	JobErrorCodeUploadNotAccessible      JobErrorCode = "UploadNotAccessible"
	JobErrorCodeUploadTransientError     JobErrorCode = "UploadTransientError"
)

type JobErrorDetail

type JobErrorDetail struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

type JobId

type JobId struct {
	SubscriptionId    string
	ResourceGroupName string
	MediaServiceName  string
	TransformName     string
	JobName           string
}

JobId is a struct representing the Resource ID for a Job

func NewJobID

func NewJobID(subscriptionId string, resourceGroupName string, mediaServiceName string, transformName string, jobName string) JobId

NewJobID returns a new JobId struct

func ParseJobID

func ParseJobID(input string) (*JobId, error)

ParseJobID parses 'input' into a JobId

func ParseJobIDInsensitively

func ParseJobIDInsensitively(input string) (*JobId, error)

ParseJobIDInsensitively parses 'input' case-insensitively into a JobId note: this method should only be used for API response data and not user input

func (JobId) ID

func (id JobId) ID() string

ID returns the formatted Job ID

func (JobId) Segments

func (id JobId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Job ID

func (JobId) String

func (id JobId) String() string

String returns a human-readable description of this Job ID

type JobInput

type JobInput interface {
}

type JobInputAsset added in v0.20221116.1175352

type JobInputAsset struct {
	AssetName        string             `json:"assetName"`
	End              ClipTime           `json:"end"`
	Files            *[]string          `json:"files,omitempty"`
	InputDefinitions *[]InputDefinition `json:"inputDefinitions,omitempty"`
	Label            *string            `json:"label,omitempty"`
	Start            ClipTime           `json:"start"`
}

func (JobInputAsset) MarshalJSON added in v0.20221116.1175352

func (s JobInputAsset) MarshalJSON() ([]byte, error)

func (*JobInputAsset) UnmarshalJSON added in v0.20221116.1175352

func (s *JobInputAsset) UnmarshalJSON(bytes []byte) error

type JobInputClip

type JobInputClip struct {
	End              ClipTime           `json:"end"`
	Files            *[]string          `json:"files,omitempty"`
	InputDefinitions *[]InputDefinition `json:"inputDefinitions,omitempty"`
	Label            *string            `json:"label,omitempty"`
	Start            ClipTime           `json:"start"`
}

func (JobInputClip) MarshalJSON

func (s JobInputClip) MarshalJSON() ([]byte, error)

func (*JobInputClip) UnmarshalJSON

func (s *JobInputClip) UnmarshalJSON(bytes []byte) error

type JobInputHTTP added in v0.20221116.1175352

type JobInputHTTP struct {
	BaseUri          *string            `json:"baseUri,omitempty"`
	End              ClipTime           `json:"end"`
	Files            *[]string          `json:"files,omitempty"`
	InputDefinitions *[]InputDefinition `json:"inputDefinitions,omitempty"`
	Label            *string            `json:"label,omitempty"`
	Start            ClipTime           `json:"start"`
}

func (JobInputHTTP) MarshalJSON added in v0.20221116.1175352

func (s JobInputHTTP) MarshalJSON() ([]byte, error)

func (*JobInputHTTP) UnmarshalJSON added in v0.20221116.1175352

func (s *JobInputHTTP) UnmarshalJSON(bytes []byte) error

type JobInputSequence

type JobInputSequence struct {
	Inputs *[]JobInput `json:"inputs,omitempty"`
}

func (JobInputSequence) MarshalJSON

func (s JobInputSequence) MarshalJSON() ([]byte, error)

func (*JobInputSequence) UnmarshalJSON

func (s *JobInputSequence) UnmarshalJSON(bytes []byte) error

type JobInputs

type JobInputs struct {
	Inputs *[]JobInput `json:"inputs,omitempty"`
}

func (JobInputs) MarshalJSON

func (s JobInputs) MarshalJSON() ([]byte, error)

func (*JobInputs) UnmarshalJSON

func (s *JobInputs) UnmarshalJSON(bytes []byte) error

type JobOperationPredicate

type JobOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (JobOperationPredicate) Matches

func (p JobOperationPredicate) Matches(input Job) bool

type JobOutput

type JobOutput interface {
}

type JobOutputAsset

type JobOutputAsset struct {
	AssetName string `json:"assetName"`

	// Fields inherited from JobOutput
	EndTime   *string   `json:"endTime,omitempty"`
	Error     *JobError `json:"error,omitempty"`
	Label     *string   `json:"label,omitempty"`
	Progress  *int64    `json:"progress,omitempty"`
	StartTime *string   `json:"startTime,omitempty"`
	State     *JobState `json:"state,omitempty"`
}

func (*JobOutputAsset) GetEndTimeAsTime

func (o *JobOutputAsset) GetEndTimeAsTime() (*time.Time, error)

func (*JobOutputAsset) GetStartTimeAsTime

func (o *JobOutputAsset) GetStartTimeAsTime() (*time.Time, error)

func (JobOutputAsset) MarshalJSON

func (s JobOutputAsset) MarshalJSON() ([]byte, error)

func (*JobOutputAsset) SetEndTimeAsTime

func (o *JobOutputAsset) SetEndTimeAsTime(input time.Time)

func (*JobOutputAsset) SetStartTimeAsTime

func (o *JobOutputAsset) SetStartTimeAsTime(input time.Time)

type JobProperties

type JobProperties struct {
	CorrelationData *map[string]string `json:"correlationData,omitempty"`
	Created         *string            `json:"created,omitempty"`
	Description     *string            `json:"description,omitempty"`
	EndTime         *string            `json:"endTime,omitempty"`
	Input           JobInput           `json:"input"`
	LastModified    *string            `json:"lastModified,omitempty"`
	Outputs         []JobOutput        `json:"outputs"`
	Priority        *Priority          `json:"priority,omitempty"`
	StartTime       *string            `json:"startTime,omitempty"`
	State           *JobState          `json:"state,omitempty"`
}

func (*JobProperties) GetCreatedAsTime

func (o *JobProperties) GetCreatedAsTime() (*time.Time, error)

func (*JobProperties) GetEndTimeAsTime

func (o *JobProperties) GetEndTimeAsTime() (*time.Time, error)

func (*JobProperties) GetLastModifiedAsTime

func (o *JobProperties) GetLastModifiedAsTime() (*time.Time, error)

func (*JobProperties) GetStartTimeAsTime

func (o *JobProperties) GetStartTimeAsTime() (*time.Time, error)

func (*JobProperties) SetCreatedAsTime

func (o *JobProperties) SetCreatedAsTime(input time.Time)

func (*JobProperties) SetEndTimeAsTime

func (o *JobProperties) SetEndTimeAsTime(input time.Time)

func (*JobProperties) SetLastModifiedAsTime

func (o *JobProperties) SetLastModifiedAsTime(input time.Time)

func (*JobProperties) SetStartTimeAsTime

func (o *JobProperties) SetStartTimeAsTime(input time.Time)

func (*JobProperties) UnmarshalJSON

func (s *JobProperties) UnmarshalJSON(bytes []byte) error

type JobRetry

type JobRetry string
const (
	JobRetryDoNotRetry JobRetry = "DoNotRetry"
	JobRetryMayRetry   JobRetry = "MayRetry"
)

type JobState

type JobState string
const (
	JobStateCanceled   JobState = "Canceled"
	JobStateCanceling  JobState = "Canceling"
	JobStateError      JobState = "Error"
	JobStateFinished   JobState = "Finished"
	JobStateProcessing JobState = "Processing"
	JobStateQueued     JobState = "Queued"
	JobStateScheduled  JobState = "Scheduled"
)

type JobsCancelJobOperationResponse

type JobsCancelJobOperationResponse struct {
	HttpResponse *http.Response
}

type JobsCreateOperationResponse

type JobsCreateOperationResponse struct {
	HttpResponse *http.Response
	Model        *Job
}

type JobsDeleteOperationResponse

type JobsDeleteOperationResponse struct {
	HttpResponse *http.Response
}

type JobsGetOperationResponse

type JobsGetOperationResponse struct {
	HttpResponse *http.Response
	Model        *Job
}

type JobsListCompleteResult

type JobsListCompleteResult struct {
	Items []Job
}

type JobsListOperationOptions

type JobsListOperationOptions struct {
	Filter  *string
	Orderby *string
}

func DefaultJobsListOperationOptions

func DefaultJobsListOperationOptions() JobsListOperationOptions

type JobsListOperationResponse

type JobsListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]Job
	// contains filtered or unexported fields
}

func (JobsListOperationResponse) HasMore

func (r JobsListOperationResponse) HasMore() bool

func (JobsListOperationResponse) LoadMore

type JobsUpdateOperationResponse

type JobsUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *Job
}

type JpgFormat added in v0.20221116.1175352

type JpgFormat struct {

	// Fields inherited from Format
	FilenamePattern string `json:"filenamePattern"`
}

func (JpgFormat) MarshalJSON added in v0.20221116.1175352

func (s JpgFormat) MarshalJSON() ([]byte, error)

type JpgLayer added in v0.20221116.1175352

type JpgLayer struct {
	Quality *int64 `json:"quality,omitempty"`

	// Fields inherited from Layer
	Height *string `json:"height,omitempty"`
	Label  *string `json:"label,omitempty"`
	Width  *string `json:"width,omitempty"`
}

func (JpgLayer) MarshalJSON added in v0.20221116.1175352

func (s JpgLayer) MarshalJSON() ([]byte, error)

type Layer added in v0.20221116.1175352

type Layer interface {
}

type MediaServiceId

type MediaServiceId struct {
	SubscriptionId    string
	ResourceGroupName string
	MediaServiceName  string
}

MediaServiceId is a struct representing the Resource ID for a Media Service

func NewMediaServiceID

func NewMediaServiceID(subscriptionId string, resourceGroupName string, mediaServiceName string) MediaServiceId

NewMediaServiceID returns a new MediaServiceId struct

func ParseMediaServiceID

func ParseMediaServiceID(input string) (*MediaServiceId, error)

ParseMediaServiceID parses 'input' into a MediaServiceId

func ParseMediaServiceIDInsensitively

func ParseMediaServiceIDInsensitively(input string) (*MediaServiceId, error)

ParseMediaServiceIDInsensitively parses 'input' case-insensitively into a MediaServiceId note: this method should only be used for API response data and not user input

func (MediaServiceId) ID

func (id MediaServiceId) ID() string

ID returns the formatted Media Service ID

func (MediaServiceId) Segments

func (id MediaServiceId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Media Service ID

func (MediaServiceId) String

func (id MediaServiceId) String() string

String returns a human-readable description of this Media Service ID

type Mp4Format added in v0.20221116.1175352

type Mp4Format struct {
	OutputFiles *[]OutputFile `json:"outputFiles,omitempty"`

	// Fields inherited from Format
	FilenamePattern string `json:"filenamePattern"`
}

func (Mp4Format) MarshalJSON added in v0.20221116.1175352

func (s Mp4Format) MarshalJSON() ([]byte, error)

type MultiBitrateFormat

type MultiBitrateFormat struct {
	OutputFiles *[]OutputFile `json:"outputFiles,omitempty"`

	// Fields inherited from Format
	FilenamePattern string `json:"filenamePattern"`
}

func (MultiBitrateFormat) MarshalJSON

func (s MultiBitrateFormat) MarshalJSON() ([]byte, error)

type OnErrorType

type OnErrorType string
const (
	OnErrorTypeContinueJob       OnErrorType = "ContinueJob"
	OnErrorTypeStopProcessingJob OnErrorType = "StopProcessingJob"
)

type OutputFile

type OutputFile struct {
	Labels []string `json:"labels"`
}

type Overlay

type Overlay interface {
}

type PngFormat added in v0.20221116.1175352

type PngFormat struct {

	// Fields inherited from Format
	FilenamePattern string `json:"filenamePattern"`
}

func (PngFormat) MarshalJSON added in v0.20221116.1175352

func (s PngFormat) MarshalJSON() ([]byte, error)

type PngLayer added in v0.20221116.1175352

type PngLayer struct {

	// Fields inherited from Layer
	Height *string `json:"height,omitempty"`
	Label  *string `json:"label,omitempty"`
	Width  *string `json:"width,omitempty"`
}

func (PngLayer) MarshalJSON added in v0.20221116.1175352

func (s PngLayer) MarshalJSON() ([]byte, error)

type Preset

type Preset interface {
}

type Priority

type Priority string
const (
	PriorityHigh   Priority = "High"
	PriorityLow    Priority = "Low"
	PriorityNormal Priority = "Normal"
)

type Rectangle

type Rectangle struct {
	Height *string `json:"height,omitempty"`
	Left   *string `json:"left,omitempty"`
	Top    *string `json:"top,omitempty"`
	Width  *string `json:"width,omitempty"`
}

type Rotation

type Rotation string
const (
	RotationAuto               Rotation = "Auto"
	RotationNone               Rotation = "None"
	RotationRotateNineZero     Rotation = "Rotate90"
	RotationRotateOneEightZero Rotation = "Rotate180"
	RotationRotateTwoSevenZero Rotation = "Rotate270"
	RotationRotateZero         Rotation = "Rotate0"
)

type SelectAudioTrackByAttribute added in v0.20221116.1175352

type SelectAudioTrackByAttribute struct {
	Attribute      TrackAttribute  `json:"attribute"`
	ChannelMapping *ChannelMapping `json:"channelMapping,omitempty"`
	Filter         AttributeFilter `json:"filter"`
	FilterValue    *string         `json:"filterValue,omitempty"`
}

func (SelectAudioTrackByAttribute) MarshalJSON added in v0.20221116.1175352

func (s SelectAudioTrackByAttribute) MarshalJSON() ([]byte, error)

type SelectAudioTrackById added in v0.20221116.1175352

type SelectAudioTrackById struct {
	ChannelMapping *ChannelMapping `json:"channelMapping,omitempty"`
	TrackId        int64           `json:"trackId"`
}

func (SelectAudioTrackById) MarshalJSON added in v0.20221116.1175352

func (s SelectAudioTrackById) MarshalJSON() ([]byte, error)

type SelectVideoTrackByAttribute added in v0.20221116.1175352

type SelectVideoTrackByAttribute struct {
	Attribute   TrackAttribute  `json:"attribute"`
	Filter      AttributeFilter `json:"filter"`
	FilterValue *string         `json:"filterValue,omitempty"`
}

func (SelectVideoTrackByAttribute) MarshalJSON added in v0.20221116.1175352

func (s SelectVideoTrackByAttribute) MarshalJSON() ([]byte, error)

type SelectVideoTrackById added in v0.20221116.1175352

type SelectVideoTrackById struct {
	TrackId int64 `json:"trackId"`
}

func (SelectVideoTrackById) MarshalJSON added in v0.20221116.1175352

func (s SelectVideoTrackById) MarshalJSON() ([]byte, error)

type StandardEncoderPreset

type StandardEncoderPreset struct {
	Codecs  []Codec  `json:"codecs"`
	Filters *Filters `json:"filters,omitempty"`
	Formats []Format `json:"formats"`
}

func (StandardEncoderPreset) MarshalJSON

func (s StandardEncoderPreset) MarshalJSON() ([]byte, error)

func (*StandardEncoderPreset) UnmarshalJSON

func (s *StandardEncoderPreset) UnmarshalJSON(bytes []byte) error

type StretchMode

type StretchMode string
const (
	StretchModeAutoFit  StretchMode = "AutoFit"
	StretchModeAutoSize StretchMode = "AutoSize"
	StretchModeNone     StretchMode = "None"
)

type TrackAttribute added in v0.20221116.1175352

type TrackAttribute string
const (
	TrackAttributeBitrate  TrackAttribute = "Bitrate"
	TrackAttributeLanguage TrackAttribute = "Language"
)

type TrackDescriptor

type TrackDescriptor interface {
}

type Transform

type Transform struct {
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties *TransformProperties   `json:"properties,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type TransformId

type TransformId struct {
	SubscriptionId    string
	ResourceGroupName string
	MediaServiceName  string
	TransformName     string
}

TransformId is a struct representing the Resource ID for a Transform

func NewTransformID

func NewTransformID(subscriptionId string, resourceGroupName string, mediaServiceName string, transformName string) TransformId

NewTransformID returns a new TransformId struct

func ParseTransformID

func ParseTransformID(input string) (*TransformId, error)

ParseTransformID parses 'input' into a TransformId

func ParseTransformIDInsensitively

func ParseTransformIDInsensitively(input string) (*TransformId, error)

ParseTransformIDInsensitively parses 'input' case-insensitively into a TransformId note: this method should only be used for API response data and not user input

func (TransformId) ID

func (id TransformId) ID() string

ID returns the formatted Transform ID

func (TransformId) Segments

func (id TransformId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Transform ID

func (TransformId) String

func (id TransformId) String() string

String returns a human-readable description of this Transform ID

type TransformOperationPredicate

type TransformOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (TransformOperationPredicate) Matches

func (p TransformOperationPredicate) Matches(input Transform) bool

type TransformOutput

type TransformOutput struct {
	OnError          *OnErrorType `json:"onError,omitempty"`
	Preset           Preset       `json:"preset"`
	RelativePriority *Priority    `json:"relativePriority,omitempty"`
}

func (*TransformOutput) UnmarshalJSON

func (s *TransformOutput) UnmarshalJSON(bytes []byte) error

type TransformProperties

type TransformProperties struct {
	Created      *string           `json:"created,omitempty"`
	Description  *string           `json:"description,omitempty"`
	LastModified *string           `json:"lastModified,omitempty"`
	Outputs      []TransformOutput `json:"outputs"`
}

func (*TransformProperties) GetCreatedAsTime

func (o *TransformProperties) GetCreatedAsTime() (*time.Time, error)

func (*TransformProperties) GetLastModifiedAsTime

func (o *TransformProperties) GetLastModifiedAsTime() (*time.Time, error)

func (*TransformProperties) SetCreatedAsTime

func (o *TransformProperties) SetCreatedAsTime(input time.Time)

func (*TransformProperties) SetLastModifiedAsTime

func (o *TransformProperties) SetLastModifiedAsTime(input time.Time)

type TransformsCreateOrUpdateOperationResponse

type TransformsCreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *Transform
}

type TransformsDeleteOperationResponse

type TransformsDeleteOperationResponse struct {
	HttpResponse *http.Response
}

type TransformsGetOperationResponse

type TransformsGetOperationResponse struct {
	HttpResponse *http.Response
	Model        *Transform
}

type TransformsListCompleteResult

type TransformsListCompleteResult struct {
	Items []Transform
}

type TransformsListOperationOptions

type TransformsListOperationOptions struct {
	Filter  *string
	Orderby *string
}

func DefaultTransformsListOperationOptions

func DefaultTransformsListOperationOptions() TransformsListOperationOptions

type TransformsListOperationResponse

type TransformsListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]Transform
	// contains filtered or unexported fields
}

func (TransformsListOperationResponse) HasMore

func (TransformsListOperationResponse) LoadMore

type TransformsUpdateOperationResponse

type TransformsUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *Transform
}

type TransportStreamFormat added in v0.20221116.1175352

type TransportStreamFormat struct {
	OutputFiles *[]OutputFile `json:"outputFiles,omitempty"`

	// Fields inherited from Format
	FilenamePattern string `json:"filenamePattern"`
}

func (TransportStreamFormat) MarshalJSON added in v0.20221116.1175352

func (s TransportStreamFormat) MarshalJSON() ([]byte, error)

type UtcClipTime

type UtcClipTime struct {
	Time string `json:"time"`
}

func (UtcClipTime) MarshalJSON

func (s UtcClipTime) MarshalJSON() ([]byte, error)

type Video

type Video struct {
	KeyFrameInterval *string        `json:"keyFrameInterval,omitempty"`
	StretchMode      *StretchMode   `json:"stretchMode,omitempty"`
	SyncMode         *VideoSyncMode `json:"syncMode,omitempty"`

	// Fields inherited from Codec
	Label *string `json:"label,omitempty"`
}

func (Video) MarshalJSON

func (s Video) MarshalJSON() ([]byte, error)

type VideoAnalyzerPreset added in v0.20221116.1175352

type VideoAnalyzerPreset struct {
	AudioLanguage       *string            `json:"audioLanguage,omitempty"`
	ExperimentalOptions *map[string]string `json:"experimentalOptions,omitempty"`
	InsightsToExtract   *InsightsType      `json:"insightsToExtract,omitempty"`
	Mode                *AudioAnalysisMode `json:"mode,omitempty"`
}

func (VideoAnalyzerPreset) MarshalJSON added in v0.20221116.1175352

func (s VideoAnalyzerPreset) MarshalJSON() ([]byte, error)

type VideoLayer added in v0.20221116.1175352

type VideoLayer struct {
	AdaptiveBFrame *bool   `json:"adaptiveBFrame,omitempty"`
	BFrames        *int64  `json:"bFrames,omitempty"`
	Bitrate        int64   `json:"bitrate"`
	FrameRate      *string `json:"frameRate,omitempty"`
	MaxBitrate     *int64  `json:"maxBitrate,omitempty"`
	Slices         *int64  `json:"slices,omitempty"`

	// Fields inherited from Layer
	Height *string `json:"height,omitempty"`
	Label  *string `json:"label,omitempty"`
	Width  *string `json:"width,omitempty"`
}

func (VideoLayer) MarshalJSON added in v0.20221116.1175352

func (s VideoLayer) MarshalJSON() ([]byte, error)

type VideoOverlay

type VideoOverlay struct {
	CropRectangle *Rectangle `json:"cropRectangle,omitempty"`
	Opacity       *float64   `json:"opacity,omitempty"`
	Position      *Rectangle `json:"position,omitempty"`

	// Fields inherited from Overlay
	AudioGainLevel  *float64 `json:"audioGainLevel,omitempty"`
	End             *string  `json:"end,omitempty"`
	FadeInDuration  *string  `json:"fadeInDuration,omitempty"`
	FadeOutDuration *string  `json:"fadeOutDuration,omitempty"`
	InputLabel      string   `json:"inputLabel"`
	Start           *string  `json:"start,omitempty"`
}

func (VideoOverlay) MarshalJSON

func (s VideoOverlay) MarshalJSON() ([]byte, error)

type VideoSyncMode

type VideoSyncMode string
const (
	VideoSyncModeAuto        VideoSyncMode = "Auto"
	VideoSyncModeCfr         VideoSyncMode = "Cfr"
	VideoSyncModePassthrough VideoSyncMode = "Passthrough"
	VideoSyncModeVfr         VideoSyncMode = "Vfr"
)

type VideoTrackDescriptor

type VideoTrackDescriptor struct {
}

func (VideoTrackDescriptor) MarshalJSON

func (s VideoTrackDescriptor) MarshalJSON() ([]byte, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL