Documentation ¶
Index ¶
- func PossibleValuesForAnalysisResolution() []string
- func PossibleValuesForAudioAnalysisMode() []string
- func PossibleValuesForBlurType() []string
- func PossibleValuesForChannelMapping() []string
- func PossibleValuesForDeinterlaceMode() []string
- func PossibleValuesForDeinterlaceParity() []string
- func PossibleValuesForEncoderNamedPreset() []string
- func PossibleValuesForFaceRedactorMode() []string
- func PossibleValuesForJobErrorCategory() []string
- func PossibleValuesForJobErrorCode() []string
- func PossibleValuesForJobRetry() []string
- func PossibleValuesForJobState() []string
- func PossibleValuesForOnErrorType() []string
- func PossibleValuesForPriority() []string
- func PossibleValuesForRotation() []string
- func PossibleValuesForStretchMode() []string
- func PossibleValuesForVideoSyncMode() []string
- func ValidateJobID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateMediaServiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateTransformID(input interface{}, key string) (warnings []string, errors []error)
- type AbsoluteClipTime
- type AnalysisResolution
- type Audio
- type AudioAnalysisMode
- type AudioAnalyzerPreset
- type AudioOverlay
- type AudioTrackDescriptor
- type BlurType
- type BuiltInStandardEncoderPreset
- type ChannelMapping
- type ClipTime
- type Codec
- type CopyAudio
- type CopyVideo
- type Deinterlace
- type DeinterlaceMode
- type DeinterlaceParity
- type EncoderNamedPreset
- type EncodingsClient
- func (c EncodingsClient) JobsCancelJob(ctx context.Context, id JobId) (result JobsCancelJobOperationResponse, err error)
- func (c EncodingsClient) JobsCreate(ctx context.Context, id JobId, input Job) (result JobsCreateOperationResponse, err error)
- func (c EncodingsClient) JobsDelete(ctx context.Context, id JobId) (result JobsDeleteOperationResponse, err error)
- func (c EncodingsClient) JobsGet(ctx context.Context, id JobId) (result JobsGetOperationResponse, err error)
- func (c EncodingsClient) JobsList(ctx context.Context, id TransformId, options JobsListOperationOptions) (resp JobsListOperationResponse, err error)
- func (c EncodingsClient) JobsListComplete(ctx context.Context, id TransformId, options JobsListOperationOptions) (JobsListCompleteResult, error)
- func (c EncodingsClient) JobsListCompleteMatchingPredicate(ctx context.Context, id TransformId, options JobsListOperationOptions, ...) (resp JobsListCompleteResult, err error)
- func (c EncodingsClient) JobsUpdate(ctx context.Context, id JobId, input Job) (result JobsUpdateOperationResponse, err error)
- func (c EncodingsClient) TransformsCreateOrUpdate(ctx context.Context, id TransformId, input Transform) (result TransformsCreateOrUpdateOperationResponse, err error)
- func (c EncodingsClient) TransformsDelete(ctx context.Context, id TransformId) (result TransformsDeleteOperationResponse, err error)
- func (c EncodingsClient) TransformsGet(ctx context.Context, id TransformId) (result TransformsGetOperationResponse, err error)
- func (c EncodingsClient) TransformsList(ctx context.Context, id MediaServiceId, options TransformsListOperationOptions) (resp TransformsListOperationResponse, err error)
- func (c EncodingsClient) TransformsListComplete(ctx context.Context, id MediaServiceId, options TransformsListOperationOptions) (TransformsListCompleteResult, error)
- func (c EncodingsClient) TransformsListCompleteMatchingPredicate(ctx context.Context, id MediaServiceId, options TransformsListOperationOptions, ...) (resp TransformsListCompleteResult, err error)
- func (c EncodingsClient) TransformsUpdate(ctx context.Context, id TransformId, input Transform) (result TransformsUpdateOperationResponse, err error)
- type FaceDetectorPreset
- type FaceRedactorMode
- type Filters
- type Format
- type FromAllInputFile
- type FromEachInputFile
- type ImageFormat
- type InputDefinition
- type InputFile
- type Job
- type JobError
- type JobErrorCategory
- type JobErrorCode
- type JobErrorDetail
- type JobId
- type JobInput
- type JobInputClip
- type JobInputSequence
- type JobInputs
- type JobOperationPredicate
- type JobOutput
- type JobOutputAsset
- func (o *JobOutputAsset) GetEndTimeAsTime() (*time.Time, error)
- func (o *JobOutputAsset) GetStartTimeAsTime() (*time.Time, error)
- func (s JobOutputAsset) MarshalJSON() ([]byte, error)
- func (o *JobOutputAsset) SetEndTimeAsTime(input time.Time)
- func (o *JobOutputAsset) SetStartTimeAsTime(input time.Time)
- type JobProperties
- func (o *JobProperties) GetCreatedAsTime() (*time.Time, error)
- func (o *JobProperties) GetEndTimeAsTime() (*time.Time, error)
- func (o *JobProperties) GetLastModifiedAsTime() (*time.Time, error)
- func (o *JobProperties) GetStartTimeAsTime() (*time.Time, error)
- func (o *JobProperties) SetCreatedAsTime(input time.Time)
- func (o *JobProperties) SetEndTimeAsTime(input time.Time)
- func (o *JobProperties) SetLastModifiedAsTime(input time.Time)
- func (o *JobProperties) SetStartTimeAsTime(input time.Time)
- func (s *JobProperties) UnmarshalJSON(bytes []byte) error
- type JobRetry
- type JobState
- type JobsCancelJobOperationResponse
- type JobsCreateOperationResponse
- type JobsDeleteOperationResponse
- type JobsGetOperationResponse
- type JobsListCompleteResult
- type JobsListOperationOptions
- type JobsListOperationResponse
- type JobsUpdateOperationResponse
- type MediaServiceId
- type MultiBitrateFormat
- type OnErrorType
- type OutputFile
- type Overlay
- type Preset
- type Priority
- type Rectangle
- type Rotation
- type StandardEncoderPreset
- type StretchMode
- type TrackDescriptor
- type Transform
- type TransformId
- type TransformOperationPredicate
- type TransformOutput
- type TransformProperties
- type TransformsCreateOrUpdateOperationResponse
- type TransformsDeleteOperationResponse
- type TransformsGetOperationResponse
- type TransformsListCompleteResult
- type TransformsListOperationOptions
- type TransformsListOperationResponse
- type TransformsUpdateOperationResponse
- type UtcClipTime
- type Video
- type VideoOverlay
- type VideoSyncMode
- type VideoTrackDescriptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAnalysisResolution ¶
func PossibleValuesForAnalysisResolution() []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 PossibleValuesForFaceRedactorMode ¶
func PossibleValuesForFaceRedactorMode() []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 PossibleValuesForVideoSyncMode ¶
func PossibleValuesForVideoSyncMode() []string
func ValidateJobID ¶
ValidateJobID checks that 'input' can be parsed as a Job ID
func ValidateMediaServiceID ¶
ValidateMediaServiceID checks that 'input' can be parsed as a Media Service ID
func ValidateTransformID ¶
ValidateTransformID checks that 'input' can be parsed as a Transform ID
Types ¶
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 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 ¶
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 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 CopyAudio ¶
type CopyAudio struct { // Fields inherited from Codec Label *string `json:"label,omitempty"` }
func (CopyAudio) MarshalJSON ¶
type CopyVideo ¶
type CopyVideo struct { // Fields inherited from Codec Label *string `json:"label,omitempty"` }
func (CopyVideo) MarshalJSON ¶
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 ¶
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 ¶
func (c EncodingsClient) JobsList(ctx context.Context, id TransformId, options JobsListOperationOptions) (resp JobsListOperationResponse, err error)
JobsList ...
func (EncodingsClient) JobsListComplete ¶
func (c EncodingsClient) JobsListComplete(ctx context.Context, id TransformId, options JobsListOperationOptions) (JobsListCompleteResult, error)
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 ¶
func (c EncodingsClient) TransformsList(ctx context.Context, id MediaServiceId, options TransformsListOperationOptions) (resp TransformsListOperationResponse, err error)
TransformsList ...
func (EncodingsClient) TransformsListComplete ¶
func (c EncodingsClient) TransformsListComplete(ctx context.Context, id MediaServiceId, options TransformsListOperationOptions) (TransformsListCompleteResult, error)
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 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 ¶
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 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 (*InputFile) UnmarshalJSON ¶
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 JobId ¶
type JobId struct { SubscriptionId string ResourceGroupName string AccountName string TransformName string JobName string }
JobId is a struct representing the Resource ID for a Job
func NewJobID ¶
func NewJobID(subscriptionId string, resourceGroupName string, accountName string, transformName string, jobName string) JobId
NewJobID returns a new JobId struct
func ParseJobID ¶
ParseJobID parses 'input' into a JobId
func ParseJobIDInsensitively ¶
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) Segments ¶
func (id JobId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Job ID
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 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 (*JobInputs) UnmarshalJSON ¶
type JobOperationPredicate ¶
func (JobOperationPredicate) Matches ¶
func (p JobOperationPredicate) Matches(input Job) bool
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 JobsListCompleteResult ¶
type JobsListCompleteResult struct {
Items []Job
}
type JobsListOperationOptions ¶
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 ¶
func (r JobsListOperationResponse) LoadMore(ctx context.Context) (resp JobsListOperationResponse, err error)
type MediaServiceId ¶
MediaServiceId is a struct representing the Resource ID for a Media Service
func NewMediaServiceID ¶
func NewMediaServiceID(subscriptionId string, accountName 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 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 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 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 AccountName string TransformName string }
TransformId is a struct representing the Resource ID for a Transform
func NewTransformID ¶
func NewTransformID(subscriptionId string, resourceGroupName string, accountName 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) 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 ¶
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 TransformsListCompleteResult ¶
type TransformsListCompleteResult struct {
Items []Transform
}
type TransformsListOperationOptions ¶
func DefaultTransformsListOperationOptions ¶
func DefaultTransformsListOperationOptions() TransformsListOperationOptions
type TransformsListOperationResponse ¶
type TransformsListOperationResponse struct { HttpResponse *http.Response Model *[]Transform // contains filtered or unexported fields }
func (TransformsListOperationResponse) HasMore ¶
func (r TransformsListOperationResponse) HasMore() bool
func (TransformsListOperationResponse) LoadMore ¶
func (r TransformsListOperationResponse) LoadMore(ctx context.Context) (resp TransformsListOperationResponse, err 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 ¶
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 ¶
- client.go
- constants.go
- id_job.go
- id_mediaservice.go
- id_transform.go
- method_jobscanceljob_autorest.go
- method_jobscreate_autorest.go
- method_jobsdelete_autorest.go
- method_jobsget_autorest.go
- method_jobslist_autorest.go
- method_jobsupdate_autorest.go
- method_transformscreateorupdate_autorest.go
- method_transformsdelete_autorest.go
- method_transformsget_autorest.go
- method_transformslist_autorest.go
- method_transformsupdate_autorest.go
- model_absolutecliptime.go
- model_audio.go
- model_audioanalyzerpreset.go
- model_audiooverlay.go
- model_audiotrackdescriptor.go
- model_builtinstandardencoderpreset.go
- model_cliptime.go
- model_codec.go
- model_copyaudio.go
- model_copyvideo.go
- model_deinterlace.go
- model_facedetectorpreset.go
- model_filters.go
- model_format.go
- model_fromallinputfile.go
- model_fromeachinputfile.go
- model_imageformat.go
- model_inputdefinition.go
- model_inputfile.go
- model_job.go
- model_joberror.go
- model_joberrordetail.go
- model_jobinput.go
- model_jobinputclip.go
- model_jobinputs.go
- model_jobinputsequence.go
- model_joboutput.go
- model_joboutputasset.go
- model_jobproperties.go
- model_multibitrateformat.go
- model_outputfile.go
- model_overlay.go
- model_preset.go
- model_rectangle.go
- model_standardencoderpreset.go
- model_trackdescriptor.go
- model_transform.go
- model_transformoutput.go
- model_transformproperties.go
- model_utccliptime.go
- model_video.go
- model_videooverlay.go
- model_videotrackdescriptor.go
- predicates.go
- version.go