encodings

package
v0.20240130.1181631 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/media/2021-11-01/encodings Documentation

The encodings SDK allows for interaction with the Azure Resource Manager Service media (API Version 2021-11-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/2021-11-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

func PossibleValuesForAacAudioProfile() []string

func PossibleValuesForAnalysisResolution

func PossibleValuesForAnalysisResolution() []string

func PossibleValuesForAttributeFilter

func PossibleValuesForAttributeFilter() []string

func PossibleValuesForAudioAnalysisMode

func PossibleValuesForAudioAnalysisMode() []string

func PossibleValuesForBlurType

func PossibleValuesForBlurType() []string

func PossibleValuesForChannelMapping

func PossibleValuesForChannelMapping() []string

func PossibleValuesForComplexity

func PossibleValuesForComplexity() []string

func PossibleValuesForDeinterlaceMode

func PossibleValuesForDeinterlaceMode() []string

func PossibleValuesForDeinterlaceParity

func PossibleValuesForDeinterlaceParity() []string

func PossibleValuesForEncoderNamedPreset

func PossibleValuesForEncoderNamedPreset() []string

func PossibleValuesForEntropyMode

func PossibleValuesForEntropyMode() []string

func PossibleValuesForFaceRedactorMode

func PossibleValuesForFaceRedactorMode() []string

func PossibleValuesForH264Complexity

func PossibleValuesForH264Complexity() []string

func PossibleValuesForH264RateControlMode

func PossibleValuesForH264RateControlMode() []string

func PossibleValuesForH264VideoProfile

func PossibleValuesForH264VideoProfile() []string

func PossibleValuesForH265Complexity

func PossibleValuesForH265Complexity() []string

func PossibleValuesForH265VideoProfile

func PossibleValuesForH265VideoProfile() []string

func PossibleValuesForInsightsType

func PossibleValuesForInsightsType() []string

func PossibleValuesForInterleaveOutput

func PossibleValuesForInterleaveOutput() []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

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

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

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

type AacAudioProfile

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

func (*AacAudioProfile) UnmarshalJSON

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

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"
)

func (*AnalysisResolution) UnmarshalJSON

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

type AttributeFilter

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

func (*AttributeFilter) UnmarshalJSON

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

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"
)

func (*AudioAnalysisMode) UnmarshalJSON

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

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"
)

func (*BlurType) UnmarshalJSON

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

type BuiltInStandardEncoderPreset

type BuiltInStandardEncoderPreset struct {
	Configurations *PresetConfigurations `json:"configurations,omitempty"`
	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"
)

func (*ChannelMapping) UnmarshalJSON

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

type ClipTime

type ClipTime interface {
}

type Codec

type Codec interface {
}

type Complexity

type Complexity string
const (
	ComplexityBalanced Complexity = "Balanced"
	ComplexityQuality  Complexity = "Quality"
	ComplexitySpeed    Complexity = "Speed"
)

func (*Complexity) UnmarshalJSON

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

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"
)

func (*DeinterlaceMode) UnmarshalJSON

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

type DeinterlaceParity

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

func (*DeinterlaceParity) UnmarshalJSON

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

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"
)

func (*EncoderNamedPreset) UnmarshalJSON

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

type EncodingsClient

type EncodingsClient struct {
	Client *resourcemanager.Client
}

func NewEncodingsClientWithBaseURI

func NewEncodingsClientWithBaseURI(sdkApi sdkEnv.Api) (*EncodingsClient, error)

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 the results into a single object

func (EncodingsClient) JobsListCompleteMatchingPredicate

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

JobsListCompleteMatchingPredicate retrieves all the results and then applies 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 the results into a single object

func (EncodingsClient) TransformsListCompleteMatchingPredicate

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

TransformsListCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (EncodingsClient) TransformsUpdate

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

TransformsUpdate ...

type EntropyMode

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

func (*EntropyMode) UnmarshalJSON

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

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"
)

func (*FaceRedactorMode) UnmarshalJSON

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

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

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

func (*H264Complexity) UnmarshalJSON

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

type H264Layer

type H264Layer struct {
	AdaptiveBFrame  *bool             `json:"adaptiveBFrame,omitempty"`
	BFrames         *int64            `json:"bFrames,omitempty"`
	Bitrate         int64             `json:"bitrate"`
	BufferWindow    *string           `json:"bufferWindow,omitempty"`
	Crf             *float64          `json:"crf,omitempty"`
	EntropyMode     *EntropyMode      `json:"entropyMode,omitempty"`
	FrameRate       *string           `json:"frameRate,omitempty"`
	Height          *string           `json:"height,omitempty"`
	Label           *string           `json:"label,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"`
	Width           *string           `json:"width,omitempty"`
}

type H264RateControlMode

type H264RateControlMode string
const (
	H264RateControlModeABR H264RateControlMode = "ABR"
	H264RateControlModeCBR H264RateControlMode = "CBR"
	H264RateControlModeCRF H264RateControlMode = "CRF"
)

func (*H264RateControlMode) UnmarshalJSON

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

type H264Video

type H264Video struct {
	Complexity           *H264Complexity      `json:"complexity,omitempty"`
	KeyFrameInterval     *string              `json:"keyFrameInterval,omitempty"`
	Layers               *[]H264Layer         `json:"layers,omitempty"`
	RateControlMode      *H264RateControlMode `json:"rateControlMode,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

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

type H264VideoProfile

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

func (*H264VideoProfile) UnmarshalJSON

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

type H265Complexity

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

func (*H265Complexity) UnmarshalJSON

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

type H265Layer

type H265Layer struct {
	AdaptiveBFrame  *bool             `json:"adaptiveBFrame,omitempty"`
	BFrames         *int64            `json:"bFrames,omitempty"`
	Bitrate         int64             `json:"bitrate"`
	BufferWindow    *string           `json:"bufferWindow,omitempty"`
	Crf             *float64          `json:"crf,omitempty"`
	FrameRate       *string           `json:"frameRate,omitempty"`
	Height          *string           `json:"height,omitempty"`
	Label           *string           `json:"label,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"`
	Width           *string           `json:"width,omitempty"`
}

type H265Video

type H265Video struct {
	Complexity           *H265Complexity `json:"complexity,omitempty"`
	KeyFrameInterval     *string         `json:"keyFrameInterval,omitempty"`
	Layers               *[]H265Layer    `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

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

type H265VideoProfile

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

func (*H265VideoProfile) UnmarshalJSON

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

type Image

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

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

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

func (*InsightsType) UnmarshalJSON

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

type InterleaveOutput

type InterleaveOutput string
const (
	InterleaveOutputInterleavedOutput    InterleaveOutput = "InterleavedOutput"
	InterleaveOutputNonInterleavedOutput InterleaveOutput = "NonInterleavedOutput"
)

func (*InterleaveOutput) UnmarshalJSON

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

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"
)

func (*JobErrorCategory) UnmarshalJSON

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

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"
)

func (*JobErrorCode) UnmarshalJSON

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

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) FromParseResult

func (id *JobId) FromParseResult(input resourceids.ParseResult) error

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

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

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

func (*JobInputAsset) UnmarshalJSON

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

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

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

func (*JobInputHTTP) UnmarshalJSON

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

type JobInputSequence

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

func (JobInputSequence) MarshalJSON

func (s JobInputSequence) MarshalJSON() ([]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"`
	PresetOverride Preset    `json:"presetOverride"`
	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)

func (*JobOutputAsset) UnmarshalJSON

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

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"
)

func (*JobRetry) UnmarshalJSON

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

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"
)

func (*JobState) UnmarshalJSON

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

type JobsCancelJobOperationResponse

type JobsCancelJobOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type JobsCreateOperationResponse

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

type JobsDeleteOperationResponse

type JobsDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type JobsGetOperationResponse

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

type JobsListCompleteResult

type JobsListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Job
}

type JobsListOperationOptions

type JobsListOperationOptions struct {
	Filter  *string
	Orderby *string
}

func DefaultJobsListOperationOptions

func DefaultJobsListOperationOptions() JobsListOperationOptions

func (JobsListOperationOptions) ToHeaders

func (o JobsListOperationOptions) ToHeaders() *client.Headers

func (JobsListOperationOptions) ToOData

func (o JobsListOperationOptions) ToOData() *odata.Query

func (JobsListOperationOptions) ToQuery

type JobsListOperationResponse

type JobsListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Job
}

type JobsUpdateOperationResponse

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

type JpgFormat

type JpgFormat struct {

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

func (JpgFormat) MarshalJSON

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

type JpgImage

type JpgImage struct {
	KeyFrameInterval *string        `json:"keyFrameInterval,omitempty"`
	Layers           *[]JpgLayer    `json:"layers,omitempty"`
	Range            *string        `json:"range,omitempty"`
	SpriteColumn     *int64         `json:"spriteColumn,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 (JpgImage) MarshalJSON

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

type JpgLayer

type JpgLayer struct {
	Height  *string `json:"height,omitempty"`
	Label   *string `json:"label,omitempty"`
	Quality *int64  `json:"quality,omitempty"`
	Width   *string `json:"width,omitempty"`
}

type Layer

type Layer struct {
	Height *string `json:"height,omitempty"`
	Label  *string `json:"label,omitempty"`
	Width  *string `json:"width,omitempty"`
}

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) FromParseResult

func (id *MediaServiceId) FromParseResult(input resourceids.ParseResult) error

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

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

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

func (Mp4Format) MarshalJSON

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"
)

func (*OnErrorType) UnmarshalJSON

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

type OutputFile

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

type Overlay

type Overlay interface {
}

type PngFormat

type PngFormat struct {

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

func (PngFormat) MarshalJSON

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

type PngImage

type PngImage struct {
	KeyFrameInterval *string        `json:"keyFrameInterval,omitempty"`
	Layers           *[]Layer       `json:"layers,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 (PngImage) MarshalJSON

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

type Preset

type Preset interface {
}

type PresetConfigurations

type PresetConfigurations struct {
	Complexity                *Complexity       `json:"complexity,omitempty"`
	InterleaveOutput          *InterleaveOutput `json:"interleaveOutput,omitempty"`
	KeyFrameIntervalInSeconds *float64          `json:"keyFrameIntervalInSeconds,omitempty"`
	MaxBitrateBps             *int64            `json:"maxBitrateBps,omitempty"`
	MaxHeight                 *int64            `json:"maxHeight,omitempty"`
	MaxLayers                 *int64            `json:"maxLayers,omitempty"`
	MinBitrateBps             *int64            `json:"minBitrateBps,omitempty"`
	MinHeight                 *int64            `json:"minHeight,omitempty"`
}

type Priority

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

func (*Priority) UnmarshalJSON

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

type RawClipTimeImpl

type RawClipTimeImpl struct {
	Type   string
	Values map[string]interface{}
}

RawClipTimeImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RawCodecImpl

type RawCodecImpl struct {
	Type   string
	Values map[string]interface{}
}

RawCodecImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RawFormatImpl

type RawFormatImpl struct {
	Type   string
	Values map[string]interface{}
}

RawFormatImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RawInputDefinitionImpl

type RawInputDefinitionImpl struct {
	Type   string
	Values map[string]interface{}
}

RawInputDefinitionImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RawJobInputImpl

type RawJobInputImpl struct {
	Type   string
	Values map[string]interface{}
}

RawJobInputImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RawJobOutputImpl

type RawJobOutputImpl struct {
	Type   string
	Values map[string]interface{}
}

RawJobOutputImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RawOverlayImpl

type RawOverlayImpl struct {
	Type   string
	Values map[string]interface{}
}

RawOverlayImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RawPresetImpl

type RawPresetImpl struct {
	Type   string
	Values map[string]interface{}
}

RawPresetImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RawTrackDescriptorImpl

type RawTrackDescriptorImpl struct {
	Type   string
	Values map[string]interface{}
}

RawTrackDescriptorImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

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"
)

func (*Rotation) UnmarshalJSON

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

type SelectAudioTrackByAttribute

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

func (SelectAudioTrackByAttribute) MarshalJSON

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

type SelectAudioTrackById

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

func (SelectAudioTrackById) MarshalJSON

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

type SelectVideoTrackByAttribute

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

func (SelectVideoTrackByAttribute) MarshalJSON

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

type SelectVideoTrackById

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

func (SelectVideoTrackById) MarshalJSON

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"
)

func (*StretchMode) UnmarshalJSON

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

type TrackAttribute

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

func (*TrackAttribute) UnmarshalJSON

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

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) FromParseResult

func (id *TransformId) FromParseResult(input resourceids.ParseResult) error

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
	OData        *odata.OData
	Model        *Transform
}

type TransformsDeleteOperationResponse

type TransformsDeleteOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type TransformsGetOperationResponse

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

type TransformsListCompleteResult

type TransformsListCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Transform
}

type TransformsListOperationOptions

type TransformsListOperationOptions struct {
	Filter  *string
	Orderby *string
}

func DefaultTransformsListOperationOptions

func DefaultTransformsListOperationOptions() TransformsListOperationOptions

func (TransformsListOperationOptions) ToHeaders

func (TransformsListOperationOptions) ToOData

func (TransformsListOperationOptions) ToQuery

type TransformsListOperationResponse

type TransformsListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Transform
}

type TransformsUpdateOperationResponse

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

type TransportStreamFormat

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

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

func (TransportStreamFormat) MarshalJSON

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

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

func (s VideoAnalyzerPreset) 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"
)

func (*VideoSyncMode) UnmarshalJSON

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

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