videoanalyzer

package
v63.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package videoanalyzer implements the Azure ARM Videoanalyzer service API version 2021-11-01-preview.

Azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Videoanalyzer
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type AccessPoliciesClient

type AccessPoliciesClient struct {
	BaseClient
}

AccessPoliciesClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

func NewAccessPoliciesClient

func NewAccessPoliciesClient(subscriptionID string) AccessPoliciesClient

NewAccessPoliciesClient creates an instance of the AccessPoliciesClient client.

func NewAccessPoliciesClientWithBaseURI

func NewAccessPoliciesClientWithBaseURI(baseURI string, subscriptionID string) AccessPoliciesClient

NewAccessPoliciesClientWithBaseURI creates an instance of the AccessPoliciesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AccessPoliciesClient) CreateOrUpdate

func (client AccessPoliciesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, accessPolicyName string, parameters AccessPolicyEntity) (result AccessPolicyEntity, err error)

CreateOrUpdate creates a new access policy resource or updates an existing one with the given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. accessPolicyName - the Access Policy name. parameters - the request parameters

func (AccessPoliciesClient) CreateOrUpdatePreparer

func (client AccessPoliciesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, accessPolicyName string, parameters AccessPolicyEntity) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (AccessPoliciesClient) CreateOrUpdateResponder

func (client AccessPoliciesClient) CreateOrUpdateResponder(resp *http.Response) (result AccessPolicyEntity, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (AccessPoliciesClient) CreateOrUpdateSender

func (client AccessPoliciesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (AccessPoliciesClient) Delete

func (client AccessPoliciesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, accessPolicyName string) (result autorest.Response, err error)

Delete deletes an existing access policy resource with the given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. accessPolicyName - the Access Policy name.

func (AccessPoliciesClient) DeletePreparer

func (client AccessPoliciesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, accessPolicyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AccessPoliciesClient) DeleteResponder

func (client AccessPoliciesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AccessPoliciesClient) DeleteSender

func (client AccessPoliciesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AccessPoliciesClient) Get

func (client AccessPoliciesClient) Get(ctx context.Context, resourceGroupName string, accountName string, accessPolicyName string) (result AccessPolicyEntity, err error)

Get retrieves an existing access policy resource with the given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. accessPolicyName - the Access Policy name.

func (AccessPoliciesClient) GetPreparer

func (client AccessPoliciesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, accessPolicyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AccessPoliciesClient) GetResponder

func (client AccessPoliciesClient) GetResponder(resp *http.Response) (result AccessPolicyEntity, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AccessPoliciesClient) GetSender

func (client AccessPoliciesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AccessPoliciesClient) List

func (client AccessPoliciesClient) List(ctx context.Context, resourceGroupName string, accountName string, top *int32) (result AccessPolicyEntityCollectionPage, err error)

List retrieves all existing access policy resources, along with their JSON representations. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. top - specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.

func (AccessPoliciesClient) ListComplete

func (client AccessPoliciesClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, top *int32) (result AccessPolicyEntityCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AccessPoliciesClient) ListPreparer

func (client AccessPoliciesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (AccessPoliciesClient) ListResponder

func (client AccessPoliciesClient) ListResponder(resp *http.Response) (result AccessPolicyEntityCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AccessPoliciesClient) ListSender

func (client AccessPoliciesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (AccessPoliciesClient) Update

func (client AccessPoliciesClient) Update(ctx context.Context, resourceGroupName string, accountName string, accessPolicyName string, parameters AccessPolicyEntity) (result AccessPolicyEntity, err error)

Update updates individual properties of an existing access policy resource with the given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. accessPolicyName - the Access Policy name. parameters - the request parameters

func (AccessPoliciesClient) UpdatePreparer

func (client AccessPoliciesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, accessPolicyName string, parameters AccessPolicyEntity) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AccessPoliciesClient) UpdateResponder

func (client AccessPoliciesClient) UpdateResponder(resp *http.Response) (result AccessPolicyEntity, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (AccessPoliciesClient) UpdateSender

func (client AccessPoliciesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type AccessPolicyEccAlgo

type AccessPolicyEccAlgo string

AccessPolicyEccAlgo enumerates the values for access policy ecc algo.

const (
	// AccessPolicyEccAlgoES256 ES265
	AccessPolicyEccAlgoES256 AccessPolicyEccAlgo = "ES256"
	// AccessPolicyEccAlgoES384 ES384
	AccessPolicyEccAlgoES384 AccessPolicyEccAlgo = "ES384"
	// AccessPolicyEccAlgoES512 ES512
	AccessPolicyEccAlgoES512 AccessPolicyEccAlgo = "ES512"
)

func PossibleAccessPolicyEccAlgoValues

func PossibleAccessPolicyEccAlgoValues() []AccessPolicyEccAlgo

PossibleAccessPolicyEccAlgoValues returns an array of possible values for the AccessPolicyEccAlgo const type.

type AccessPolicyEntity

type AccessPolicyEntity struct {
	autorest.Response `json:"-"`
	// AccessPolicyProperties - The resource properties.
	*AccessPolicyProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

AccessPolicyEntity access policies help define the authentication rules, and control access to specific video resources.

func (AccessPolicyEntity) MarshalJSON

func (ape AccessPolicyEntity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccessPolicyEntity.

func (*AccessPolicyEntity) UnmarshalJSON

func (ape *AccessPolicyEntity) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AccessPolicyEntity struct.

type AccessPolicyEntityCollection

type AccessPolicyEntityCollection struct {
	autorest.Response `json:"-"`
	// Value - A collection of AccessPolicyEntity items.
	Value *[]AccessPolicyEntity `json:"value,omitempty"`
	// NextLink - A link to the next page of the collection (when the collection contains too many results to return in one response).
	NextLink *string `json:"@nextLink,omitempty"`
}

AccessPolicyEntityCollection a collection of AccessPolicyEntity items.

func (AccessPolicyEntityCollection) IsEmpty

func (apec AccessPolicyEntityCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AccessPolicyEntityCollectionIterator

type AccessPolicyEntityCollectionIterator struct {
	// contains filtered or unexported fields
}

AccessPolicyEntityCollectionIterator provides access to a complete listing of AccessPolicyEntity values.

func NewAccessPolicyEntityCollectionIterator

func NewAccessPolicyEntityCollectionIterator(page AccessPolicyEntityCollectionPage) AccessPolicyEntityCollectionIterator

Creates a new instance of the AccessPolicyEntityCollectionIterator type.

func (*AccessPolicyEntityCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AccessPolicyEntityCollectionIterator) NextWithContext

func (iter *AccessPolicyEntityCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AccessPolicyEntityCollectionIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (AccessPolicyEntityCollectionIterator) Response

Response returns the raw server response from the last page request.

func (AccessPolicyEntityCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AccessPolicyEntityCollectionPage

type AccessPolicyEntityCollectionPage struct {
	// contains filtered or unexported fields
}

AccessPolicyEntityCollectionPage contains a page of AccessPolicyEntity values.

func NewAccessPolicyEntityCollectionPage

Creates a new instance of the AccessPolicyEntityCollectionPage type.

func (*AccessPolicyEntityCollectionPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AccessPolicyEntityCollectionPage) NextWithContext

func (page *AccessPolicyEntityCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AccessPolicyEntityCollectionPage) NotDone

func (page AccessPolicyEntityCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AccessPolicyEntityCollectionPage) Response

Response returns the raw server response from the last page request.

func (AccessPolicyEntityCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type AccessPolicyProperties

type AccessPolicyProperties struct {
	// Role - Defines the access level granted by this policy. Possible values include: 'AccessPolicyRoleReader'
	Role AccessPolicyRole `json:"role,omitempty"`
	// Authentication - Authentication method to be used when validating client API access.
	Authentication BasicAuthenticationBase `json:"authentication,omitempty"`
}

AccessPolicyProperties application level properties for the access policy resource.

func (*AccessPolicyProperties) UnmarshalJSON

func (app *AccessPolicyProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AccessPolicyProperties struct.

type AccessPolicyRole

type AccessPolicyRole string

AccessPolicyRole enumerates the values for access policy role.

const (
	// AccessPolicyRoleReader Reader role allows for read-only operations to be performed through the client
	// APIs.
	AccessPolicyRoleReader AccessPolicyRole = "Reader"
)

func PossibleAccessPolicyRoleValues

func PossibleAccessPolicyRoleValues() []AccessPolicyRole

PossibleAccessPolicyRoleValues returns an array of possible values for the AccessPolicyRole const type.

type AccessPolicyRsaAlgo

type AccessPolicyRsaAlgo string

AccessPolicyRsaAlgo enumerates the values for access policy rsa algo.

const (
	// AccessPolicyRsaAlgoRS256 RS256
	AccessPolicyRsaAlgoRS256 AccessPolicyRsaAlgo = "RS256"
	// AccessPolicyRsaAlgoRS384 RS384
	AccessPolicyRsaAlgoRS384 AccessPolicyRsaAlgo = "RS384"
	// AccessPolicyRsaAlgoRS512 RS512
	AccessPolicyRsaAlgoRS512 AccessPolicyRsaAlgo = "RS512"
)

func PossibleAccessPolicyRsaAlgoValues

func PossibleAccessPolicyRsaAlgoValues() []AccessPolicyRsaAlgo

PossibleAccessPolicyRsaAlgoValues returns an array of possible values for the AccessPolicyRsaAlgo const type.

type AccountEncryption

type AccountEncryption struct {
	// Type - The type of key used to encrypt the Account Key. Possible values include: 'AccountEncryptionKeyTypeSystemKey', 'AccountEncryptionKeyTypeCustomerKey'
	Type AccountEncryptionKeyType `json:"type,omitempty"`
	// KeyVaultProperties - The properties of the key used to encrypt the account.
	KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"`
	// Identity - The Key Vault identity.
	Identity *ResourceIdentity `json:"identity,omitempty"`
	// Status - READ-ONLY; The current status of the Key Vault mapping.
	Status *string `json:"status,omitempty"`
}

AccountEncryption defines how the Video Analyzer account is (optionally) encrypted.

func (AccountEncryption) MarshalJSON

func (ae AccountEncryption) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AccountEncryption.

type AccountEncryptionKeyType

type AccountEncryptionKeyType string

AccountEncryptionKeyType enumerates the values for account encryption key type.

const (
	// AccountEncryptionKeyTypeCustomerKey The Account Key is encrypted with a Customer Key.
	AccountEncryptionKeyTypeCustomerKey AccountEncryptionKeyType = "CustomerKey"
	// AccountEncryptionKeyTypeSystemKey The Account Key is encrypted with a System Key.
	AccountEncryptionKeyTypeSystemKey AccountEncryptionKeyType = "SystemKey"
)

func PossibleAccountEncryptionKeyTypeValues

func PossibleAccountEncryptionKeyTypeValues() []AccountEncryptionKeyType

PossibleAccountEncryptionKeyTypeValues returns an array of possible values for the AccountEncryptionKeyType const type.

type ActionType

type ActionType string

ActionType enumerates the values for action type.

const (
	// ActionTypeInternal An internal action.
	ActionTypeInternal ActionType = "Internal"
)

func PossibleActionTypeValues

func PossibleActionTypeValues() []ActionType

PossibleActionTypeValues returns an array of possible values for the ActionType const type.

type AudioEncoderAac

type AudioEncoderAac struct {
	// BitrateKbps - Bitrate, in kilobits per second or Kbps, at which audio should be encoded (2-channel stereo audio at a sampling rate of 48 kHz). Allowed values are 96, 112, 128, 160, 192, 224, and 256. If omitted, the bitrate of the input audio is used.
	BitrateKbps *string `json:"bitrateKbps,omitempty"`
	// Type - Possible values include: 'TypeBasicAudioEncoderBaseTypeAudioEncoderBase', 'TypeBasicAudioEncoderBaseTypeMicrosoftVideoAnalyzerAudioEncoderAac'
	Type TypeBasicAudioEncoderBase `json:"@type,omitempty"`
}

AudioEncoderAac a custom preset for encoding audio with the AAC codec.

func (AudioEncoderAac) AsAudioEncoderAac

func (aea AudioEncoderAac) AsAudioEncoderAac() (*AudioEncoderAac, bool)

AsAudioEncoderAac is the BasicAudioEncoderBase implementation for AudioEncoderAac.

func (AudioEncoderAac) AsAudioEncoderBase

func (aea AudioEncoderAac) AsAudioEncoderBase() (*AudioEncoderBase, bool)

AsAudioEncoderBase is the BasicAudioEncoderBase implementation for AudioEncoderAac.

func (AudioEncoderAac) AsBasicAudioEncoderBase

func (aea AudioEncoderAac) AsBasicAudioEncoderBase() (BasicAudioEncoderBase, bool)

AsBasicAudioEncoderBase is the BasicAudioEncoderBase implementation for AudioEncoderAac.

func (AudioEncoderAac) MarshalJSON

func (aea AudioEncoderAac) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AudioEncoderAac.

type AudioEncoderBase

type AudioEncoderBase struct {
	// BitrateKbps - Bitrate, in kilobits per second or Kbps, at which audio should be encoded (2-channel stereo audio at a sampling rate of 48 kHz). Allowed values are 96, 112, 128, 160, 192, 224, and 256. If omitted, the bitrate of the input audio is used.
	BitrateKbps *string `json:"bitrateKbps,omitempty"`
	// Type - Possible values include: 'TypeBasicAudioEncoderBaseTypeAudioEncoderBase', 'TypeBasicAudioEncoderBaseTypeMicrosoftVideoAnalyzerAudioEncoderAac'
	Type TypeBasicAudioEncoderBase `json:"@type,omitempty"`
}

AudioEncoderBase base type for all audio encoder presets, which define the recipe or instructions on how audio should be processed.

func (AudioEncoderBase) AsAudioEncoderAac

func (aeb AudioEncoderBase) AsAudioEncoderAac() (*AudioEncoderAac, bool)

AsAudioEncoderAac is the BasicAudioEncoderBase implementation for AudioEncoderBase.

func (AudioEncoderBase) AsAudioEncoderBase

func (aeb AudioEncoderBase) AsAudioEncoderBase() (*AudioEncoderBase, bool)

AsAudioEncoderBase is the BasicAudioEncoderBase implementation for AudioEncoderBase.

func (AudioEncoderBase) AsBasicAudioEncoderBase

func (aeb AudioEncoderBase) AsBasicAudioEncoderBase() (BasicAudioEncoderBase, bool)

AsBasicAudioEncoderBase is the BasicAudioEncoderBase implementation for AudioEncoderBase.

func (AudioEncoderBase) MarshalJSON

func (aeb AudioEncoderBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AudioEncoderBase.

type AuthenticationBase

type AuthenticationBase struct {
	// Type - Possible values include: 'TypeBasicAuthenticationBaseTypeAuthenticationBase', 'TypeBasicAuthenticationBaseTypeMicrosoftVideoAnalyzerJwtAuthentication'
	Type TypeBasicAuthenticationBase `json:"@type,omitempty"`
}

AuthenticationBase base class for access policies authentication methods.

func (AuthenticationBase) AsAuthenticationBase

func (ab AuthenticationBase) AsAuthenticationBase() (*AuthenticationBase, bool)

AsAuthenticationBase is the BasicAuthenticationBase implementation for AuthenticationBase.

func (AuthenticationBase) AsBasicAuthenticationBase

func (ab AuthenticationBase) AsBasicAuthenticationBase() (BasicAuthenticationBase, bool)

AsBasicAuthenticationBase is the BasicAuthenticationBase implementation for AuthenticationBase.

func (AuthenticationBase) AsJwtAuthentication

func (ab AuthenticationBase) AsJwtAuthentication() (*JwtAuthentication, bool)

AsJwtAuthentication is the BasicAuthenticationBase implementation for AuthenticationBase.

func (AuthenticationBase) MarshalJSON

func (ab AuthenticationBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AuthenticationBase.

type AzureEntityResource

type AzureEntityResource struct {
	// Etag - READ-ONLY; Resource Etag.
	Etag *string `json:"etag,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

AzureEntityResource the resource model definition for an Azure Resource Manager resource with an etag.

func (AzureEntityResource) MarshalJSON

func (aer AzureEntityResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AzureEntityResource.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Videoanalyzer.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BasicAudioEncoderBase

type BasicAudioEncoderBase interface {
	AsAudioEncoderAac() (*AudioEncoderAac, bool)
	AsAudioEncoderBase() (*AudioEncoderBase, bool)
}

BasicAudioEncoderBase base type for all audio encoder presets, which define the recipe or instructions on how audio should be processed.

type BasicAuthenticationBase

type BasicAuthenticationBase interface {
	AsJwtAuthentication() (*JwtAuthentication, bool)
	AsAuthenticationBase() (*AuthenticationBase, bool)
}

BasicAuthenticationBase base class for access policies authentication methods.

type BasicCertificateSource

type BasicCertificateSource interface {
	AsPemCertificateList() (*PemCertificateList, bool)
	AsCertificateSource() (*CertificateSource, bool)
}

BasicCertificateSource base class for certificate sources.

type BasicCredentialsBase

type BasicCredentialsBase interface {
	AsUsernamePasswordCredentials() (*UsernamePasswordCredentials, bool)
	AsCredentialsBase() (*CredentialsBase, bool)
}

BasicCredentialsBase base class for credential objects.

type BasicEncoderPresetBase

type BasicEncoderPresetBase interface {
	AsEncoderSystemPreset() (*EncoderSystemPreset, bool)
	AsEncoderCustomPreset() (*EncoderCustomPreset, bool)
	AsEncoderPresetBase() (*EncoderPresetBase, bool)
}

BasicEncoderPresetBase base type for all encoder presets, which define the recipe or instructions on how the input content should be processed.

type BasicEndpointBase

type BasicEndpointBase interface {
	AsUnsecuredEndpoint() (*UnsecuredEndpoint, bool)
	AsTLSEndpoint() (*TLSEndpoint, bool)
	AsEndpointBase() (*EndpointBase, bool)
}

BasicEndpointBase base class for endpoints.

type BasicNodeBase

type BasicNodeBase interface {
	AsSourceNodeBase() (*SourceNodeBase, bool)
	AsBasicSourceNodeBase() (BasicSourceNodeBase, bool)
	AsProcessorNodeBase() (*ProcessorNodeBase, bool)
	AsBasicProcessorNodeBase() (BasicProcessorNodeBase, bool)
	AsSinkNodeBase() (*SinkNodeBase, bool)
	AsBasicSinkNodeBase() (BasicSinkNodeBase, bool)
	AsRtspSource() (*RtspSource, bool)
	AsVideoSource() (*VideoSource, bool)
	AsEncoderProcessor() (*EncoderProcessor, bool)
	AsVideoSink() (*VideoSink, bool)
	AsNodeBase() (*NodeBase, bool)
}

BasicNodeBase base class for nodes.

type BasicProcessorNodeBase

type BasicProcessorNodeBase interface {
	AsEncoderProcessor() (*EncoderProcessor, bool)
	AsProcessorNodeBase() (*ProcessorNodeBase, bool)
}

BasicProcessorNodeBase base class for topology processor nodes.

type BasicSinkNodeBase

type BasicSinkNodeBase interface {
	AsVideoSink() (*VideoSink, bool)
	AsSinkNodeBase() (*SinkNodeBase, bool)
}

BasicSinkNodeBase base class for topology sink nodes.

type BasicSourceNodeBase

type BasicSourceNodeBase interface {
	AsRtspSource() (*RtspSource, bool)
	AsVideoSource() (*VideoSource, bool)
	AsSourceNodeBase() (*SourceNodeBase, bool)
}

BasicSourceNodeBase base class for topology source nodes.

type BasicTimeSequenceBase

type BasicTimeSequenceBase interface {
	AsVideoSequenceAbsoluteTimeMarkers() (*VideoSequenceAbsoluteTimeMarkers, bool)
	AsTimeSequenceBase() (*TimeSequenceBase, bool)
}

BasicTimeSequenceBase a sequence of datetime ranges as a string.

type BasicTokenKey

type BasicTokenKey interface {
	AsRsaTokenKey() (*RsaTokenKey, bool)
	AsEccTokenKey() (*EccTokenKey, bool)
	AsTokenKey() (*TokenKey, bool)
}

BasicTokenKey key properties for JWT token validation.

type BasicTunnelBase

type BasicTunnelBase interface {
	AsSecureIotDeviceRemoteTunnel() (*SecureIotDeviceRemoteTunnel, bool)
	AsTunnelBase() (*TunnelBase, bool)
}

BasicTunnelBase base class for tunnel objects.

type BasicVideoEncoderBase

type BasicVideoEncoderBase interface {
	AsVideoEncoderH264() (*VideoEncoderH264, bool)
	AsVideoEncoderBase() (*VideoEncoderBase, bool)
}

BasicVideoEncoderBase base type for all video encoding presets, which define the recipe or instructions on how the input video should be processed.

type CertificateSource

type CertificateSource struct {
	// Type - Possible values include: 'TypeBasicCertificateSourceTypeCertificateSource', 'TypeBasicCertificateSourceTypeMicrosoftVideoAnalyzerPemCertificateList'
	Type TypeBasicCertificateSource `json:"@type,omitempty"`
}

CertificateSource base class for certificate sources.

func (CertificateSource) AsBasicCertificateSource

func (cs CertificateSource) AsBasicCertificateSource() (BasicCertificateSource, bool)

AsBasicCertificateSource is the BasicCertificateSource implementation for CertificateSource.

func (CertificateSource) AsCertificateSource

func (cs CertificateSource) AsCertificateSource() (*CertificateSource, bool)

AsCertificateSource is the BasicCertificateSource implementation for CertificateSource.

func (CertificateSource) AsPemCertificateList

func (cs CertificateSource) AsPemCertificateList() (*PemCertificateList, bool)

AsPemCertificateList is the BasicCertificateSource implementation for CertificateSource.

func (CertificateSource) MarshalJSON

func (cs CertificateSource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CertificateSource.

type CheckNameAvailabilityReason

type CheckNameAvailabilityReason string

CheckNameAvailabilityReason enumerates the values for check name availability reason.

const (
	// CheckNameAvailabilityReasonAlreadyExists ...
	CheckNameAvailabilityReasonAlreadyExists CheckNameAvailabilityReason = "AlreadyExists"
	// CheckNameAvailabilityReasonInvalid ...
	CheckNameAvailabilityReasonInvalid CheckNameAvailabilityReason = "Invalid"
)

func PossibleCheckNameAvailabilityReasonValues

func PossibleCheckNameAvailabilityReasonValues() []CheckNameAvailabilityReason

PossibleCheckNameAvailabilityReasonValues returns an array of possible values for the CheckNameAvailabilityReason const type.

type CheckNameAvailabilityRequest

type CheckNameAvailabilityRequest struct {
	// Name - The name of the resource for which availability needs to be checked.
	Name *string `json:"name,omitempty"`
	// Type - The resource type.
	Type *string `json:"type,omitempty"`
}

CheckNameAvailabilityRequest the check availability request body.

type CheckNameAvailabilityResponse

type CheckNameAvailabilityResponse struct {
	autorest.Response `json:"-"`
	// NameAvailable - Indicates if the resource name is available.
	NameAvailable *bool `json:"nameAvailable,omitempty"`
	// Reason - The reason why the given name is not available. Possible values include: 'CheckNameAvailabilityReasonInvalid', 'CheckNameAvailabilityReasonAlreadyExists'
	Reason CheckNameAvailabilityReason `json:"reason,omitempty"`
	// Message - Detailed reason why the given name is available.
	Message *string `json:"message,omitempty"`
}

CheckNameAvailabilityResponse the check availability result.

type Collection

type Collection struct {
	autorest.Response `json:"-"`
	// Value - A collection of VideoAnalyzer items.
	Value *[]Model `json:"value,omitempty"`
}

Collection a collection of VideoAnalyzer items.

type CreatedByType

type CreatedByType string

CreatedByType enumerates the values for created by type.

const (
	// CreatedByTypeApplication ...
	CreatedByTypeApplication CreatedByType = "Application"
	// CreatedByTypeKey ...
	CreatedByTypeKey CreatedByType = "Key"
	// CreatedByTypeManagedIdentity ...
	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
	// CreatedByTypeUser ...
	CreatedByTypeUser CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type CredentialsBase

type CredentialsBase struct {
	// Type - Possible values include: 'TypeBasicCredentialsBaseTypeCredentialsBase', 'TypeBasicCredentialsBaseTypeMicrosoftVideoAnalyzerUsernamePasswordCredentials'
	Type TypeBasicCredentialsBase `json:"@type,omitempty"`
}

CredentialsBase base class for credential objects.

func (CredentialsBase) AsBasicCredentialsBase

func (cb CredentialsBase) AsBasicCredentialsBase() (BasicCredentialsBase, bool)

AsBasicCredentialsBase is the BasicCredentialsBase implementation for CredentialsBase.

func (CredentialsBase) AsCredentialsBase

func (cb CredentialsBase) AsCredentialsBase() (*CredentialsBase, bool)

AsCredentialsBase is the BasicCredentialsBase implementation for CredentialsBase.

func (CredentialsBase) AsUsernamePasswordCredentials

func (cb CredentialsBase) AsUsernamePasswordCredentials() (*UsernamePasswordCredentials, bool)

AsUsernamePasswordCredentials is the BasicCredentialsBase implementation for CredentialsBase.

func (CredentialsBase) MarshalJSON

func (cb CredentialsBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CredentialsBase.

type EccTokenKey

type EccTokenKey struct {
	// Alg - Elliptical curve algorithm to be used: ES256, ES384 or ES512. Possible values include: 'AccessPolicyEccAlgoES256', 'AccessPolicyEccAlgoES384', 'AccessPolicyEccAlgoES512'
	Alg AccessPolicyEccAlgo `json:"alg,omitempty"`
	// X - X coordinate.
	X *string `json:"x,omitempty"`
	// Y - Y coordinate.
	Y *string `json:"y,omitempty"`
	// Kid - JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
	Kid *string `json:"kid,omitempty"`
	// Type - Possible values include: 'TypeBasicTokenKeyTypeTokenKey', 'TypeBasicTokenKeyTypeMicrosoftVideoAnalyzerRsaTokenKey', 'TypeBasicTokenKeyTypeMicrosoftVideoAnalyzerEccTokenKey'
	Type TypeBasicTokenKey `json:"@type,omitempty"`
}

EccTokenKey required validation properties for tokens generated with Elliptical Curve algorithm.

func (EccTokenKey) AsBasicTokenKey

func (etk EccTokenKey) AsBasicTokenKey() (BasicTokenKey, bool)

AsBasicTokenKey is the BasicTokenKey implementation for EccTokenKey.

func (EccTokenKey) AsEccTokenKey

func (etk EccTokenKey) AsEccTokenKey() (*EccTokenKey, bool)

AsEccTokenKey is the BasicTokenKey implementation for EccTokenKey.

func (EccTokenKey) AsRsaTokenKey

func (etk EccTokenKey) AsRsaTokenKey() (*RsaTokenKey, bool)

AsRsaTokenKey is the BasicTokenKey implementation for EccTokenKey.

func (EccTokenKey) AsTokenKey

func (etk EccTokenKey) AsTokenKey() (*TokenKey, bool)

AsTokenKey is the BasicTokenKey implementation for EccTokenKey.

func (EccTokenKey) MarshalJSON

func (etk EccTokenKey) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EccTokenKey.

type EdgeModuleEntity

type EdgeModuleEntity struct {
	autorest.Response `json:"-"`
	// EdgeModuleProperties - The resource properties.
	*EdgeModuleProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

EdgeModuleEntity the representation of an edge module.

func (EdgeModuleEntity) MarshalJSON

func (eme EdgeModuleEntity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EdgeModuleEntity.

func (*EdgeModuleEntity) UnmarshalJSON

func (eme *EdgeModuleEntity) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EdgeModuleEntity struct.

type EdgeModuleEntityCollection

type EdgeModuleEntityCollection struct {
	autorest.Response `json:"-"`
	// Value - A collection of EdgeModuleEntity items.
	Value *[]EdgeModuleEntity `json:"value,omitempty"`
	// NextLink - A link to the next page of the collection (when the collection contains too many results to return in one response).
	NextLink *string `json:"@nextLink,omitempty"`
}

EdgeModuleEntityCollection a collection of EdgeModuleEntity items.

func (EdgeModuleEntityCollection) IsEmpty

func (emec EdgeModuleEntityCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EdgeModuleEntityCollectionIterator

type EdgeModuleEntityCollectionIterator struct {
	// contains filtered or unexported fields
}

EdgeModuleEntityCollectionIterator provides access to a complete listing of EdgeModuleEntity values.

func NewEdgeModuleEntityCollectionIterator

func NewEdgeModuleEntityCollectionIterator(page EdgeModuleEntityCollectionPage) EdgeModuleEntityCollectionIterator

Creates a new instance of the EdgeModuleEntityCollectionIterator type.

func (*EdgeModuleEntityCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EdgeModuleEntityCollectionIterator) NextWithContext

func (iter *EdgeModuleEntityCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (EdgeModuleEntityCollectionIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (EdgeModuleEntityCollectionIterator) Response

Response returns the raw server response from the last page request.

func (EdgeModuleEntityCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type EdgeModuleEntityCollectionPage

type EdgeModuleEntityCollectionPage struct {
	// contains filtered or unexported fields
}

EdgeModuleEntityCollectionPage contains a page of EdgeModuleEntity values.

func NewEdgeModuleEntityCollectionPage

Creates a new instance of the EdgeModuleEntityCollectionPage type.

func (*EdgeModuleEntityCollectionPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EdgeModuleEntityCollectionPage) NextWithContext

func (page *EdgeModuleEntityCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (EdgeModuleEntityCollectionPage) NotDone

func (page EdgeModuleEntityCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (EdgeModuleEntityCollectionPage) Response

Response returns the raw server response from the last page request.

func (EdgeModuleEntityCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type EdgeModuleProperties

type EdgeModuleProperties struct {
	// EdgeModuleID - READ-ONLY; Internal ID generated for the instance of the Video Analyzer edge module.
	EdgeModuleID *uuid.UUID `json:"edgeModuleId,omitempty"`
}

EdgeModuleProperties application level properties for the edge module resource.

func (EdgeModuleProperties) MarshalJSON

func (emp EdgeModuleProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EdgeModuleProperties.

type EdgeModuleProvisioningToken

type EdgeModuleProvisioningToken struct {
	autorest.Response `json:"-"`
	// ExpirationDate - READ-ONLY; The expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date.
	ExpirationDate *date.Time `json:"expirationDate,omitempty"`
	// Token - READ-ONLY; The token blob to be provided to the Azure Video Analyzer IoT edge module through the Azure IoT Edge module twin properties.
	Token *string `json:"token,omitempty"`
}

EdgeModuleProvisioningToken provisioning token properties. A provisioning token allows for a single instance of Azure Video analyzer IoT edge module to be initialized and authorized to the cloud account. The provisioning token itself is short lived and it is only used for the initial handshake between IoT edge module and the cloud. After the initial handshake, the IoT edge module will agree on a set of authentication keys which will be auto-rotated as long as the module is able to periodically connect to the cloud. A new provisioning token can be generated for the same IoT edge module in case the module state lost or reset.

func (EdgeModuleProvisioningToken) MarshalJSON

func (empt EdgeModuleProvisioningToken) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EdgeModuleProvisioningToken.

type EdgeModulesClient

type EdgeModulesClient struct {
	BaseClient
}

EdgeModulesClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

func NewEdgeModulesClient

func NewEdgeModulesClient(subscriptionID string) EdgeModulesClient

NewEdgeModulesClient creates an instance of the EdgeModulesClient client.

func NewEdgeModulesClientWithBaseURI

func NewEdgeModulesClientWithBaseURI(baseURI string, subscriptionID string) EdgeModulesClient

NewEdgeModulesClientWithBaseURI creates an instance of the EdgeModulesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (EdgeModulesClient) CreateOrUpdate

func (client EdgeModulesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, edgeModuleName string, parameters EdgeModuleEntity) (result EdgeModuleEntity, err error)

CreateOrUpdate creates a new edge module or updates an existing one. An edge module resource enables a single instance of an Azure Video Analyzer IoT edge module to interact with the Video Analyzer Account. This is used for authorization and also to make sure that the particular edge module instance only has access to the data it requires from the Azure Video Analyzer service. A new edge module resource should be created for every new instance of an Azure Video Analyzer edge module deployed to you Azure IoT edge environment. Edge module resources can be deleted if the specific module is not in use anymore. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. edgeModuleName - the Edge Module name. parameters - the request parameters

func (EdgeModulesClient) CreateOrUpdatePreparer

func (client EdgeModulesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, edgeModuleName string, parameters EdgeModuleEntity) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (EdgeModulesClient) CreateOrUpdateResponder

func (client EdgeModulesClient) CreateOrUpdateResponder(resp *http.Response) (result EdgeModuleEntity, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (EdgeModulesClient) CreateOrUpdateSender

func (client EdgeModulesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (EdgeModulesClient) Delete

func (client EdgeModulesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, edgeModuleName string) (result autorest.Response, err error)

Delete deletes an existing edge module resource. Deleting the edge module resource will prevent an Azure Video Analyzer IoT edge module which was previously initiated with the module provisioning token from communicating with the cloud. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. edgeModuleName - the Edge Module name.

func (EdgeModulesClient) DeletePreparer

func (client EdgeModulesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, edgeModuleName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (EdgeModulesClient) DeleteResponder

func (client EdgeModulesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (EdgeModulesClient) DeleteSender

func (client EdgeModulesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (EdgeModulesClient) Get

func (client EdgeModulesClient) Get(ctx context.Context, resourceGroupName string, accountName string, edgeModuleName string) (result EdgeModuleEntity, err error)

Get retrieves an existing edge module resource with the given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. edgeModuleName - the Edge Module name.

func (EdgeModulesClient) GetPreparer

func (client EdgeModulesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, edgeModuleName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (EdgeModulesClient) GetResponder

func (client EdgeModulesClient) GetResponder(resp *http.Response) (result EdgeModuleEntity, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (EdgeModulesClient) GetSender

func (client EdgeModulesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (EdgeModulesClient) List

func (client EdgeModulesClient) List(ctx context.Context, resourceGroupName string, accountName string, top *int32) (result EdgeModuleEntityCollectionPage, err error)

List list all existing edge module resources, along with their JSON representations. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. top - specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.

func (EdgeModulesClient) ListComplete

func (client EdgeModulesClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, top *int32) (result EdgeModuleEntityCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (EdgeModulesClient) ListPreparer

func (client EdgeModulesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (EdgeModulesClient) ListProvisioningToken

func (client EdgeModulesClient) ListProvisioningToken(ctx context.Context, resourceGroupName string, accountName string, edgeModuleName string, parameters ListProvisioningTokenInput) (result EdgeModuleProvisioningToken, err error)

ListProvisioningToken creates a new provisioning token. A provisioning token allows for a single instance of Azure Video analyzer IoT edge module to be initialized and authorized to the cloud account. The provisioning token itself is short lived and it is only used for the initial handshake between IoT edge module and the cloud. After the initial handshake, the IoT edge module will agree on a set of authentication keys which will be auto-rotated as long as the module is able to periodically connect to the cloud. A new provisioning token can be generated for the same IoT edge module in case the module state lost or reset. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. edgeModuleName - the Edge Module name. parameters - the request parameters

func (EdgeModulesClient) ListProvisioningTokenPreparer

func (client EdgeModulesClient) ListProvisioningTokenPreparer(ctx context.Context, resourceGroupName string, accountName string, edgeModuleName string, parameters ListProvisioningTokenInput) (*http.Request, error)

ListProvisioningTokenPreparer prepares the ListProvisioningToken request.

func (EdgeModulesClient) ListProvisioningTokenResponder

func (client EdgeModulesClient) ListProvisioningTokenResponder(resp *http.Response) (result EdgeModuleProvisioningToken, err error)

ListProvisioningTokenResponder handles the response to the ListProvisioningToken request. The method always closes the http.Response Body.

func (EdgeModulesClient) ListProvisioningTokenSender

func (client EdgeModulesClient) ListProvisioningTokenSender(req *http.Request) (*http.Response, error)

ListProvisioningTokenSender sends the ListProvisioningToken request. The method will close the http.Response Body if it receives an error.

func (EdgeModulesClient) ListResponder

func (client EdgeModulesClient) ListResponder(resp *http.Response) (result EdgeModuleEntityCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (EdgeModulesClient) ListSender

func (client EdgeModulesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type EncoderCustomPreset

type EncoderCustomPreset struct {
	// AudioEncoder - Describes a custom preset for encoding audio.
	AudioEncoder BasicAudioEncoderBase `json:"audioEncoder,omitempty"`
	// VideoEncoder - Describes a custom preset for encoding video.
	VideoEncoder BasicVideoEncoderBase `json:"videoEncoder,omitempty"`
	// Type - Possible values include: 'TypeBasicEncoderPresetBaseTypeEncoderPresetBase', 'TypeBasicEncoderPresetBaseTypeMicrosoftVideoAnalyzerEncoderSystemPreset', 'TypeBasicEncoderPresetBaseTypeMicrosoftVideoAnalyzerEncoderCustomPreset'
	Type TypeBasicEncoderPresetBase `json:"@type,omitempty"`
}

EncoderCustomPreset describes a custom preset for encoding the input content using the encoder processor.

func (EncoderCustomPreset) AsBasicEncoderPresetBase

func (ecp EncoderCustomPreset) AsBasicEncoderPresetBase() (BasicEncoderPresetBase, bool)

AsBasicEncoderPresetBase is the BasicEncoderPresetBase implementation for EncoderCustomPreset.

func (EncoderCustomPreset) AsEncoderCustomPreset

func (ecp EncoderCustomPreset) AsEncoderCustomPreset() (*EncoderCustomPreset, bool)

AsEncoderCustomPreset is the BasicEncoderPresetBase implementation for EncoderCustomPreset.

func (EncoderCustomPreset) AsEncoderPresetBase

func (ecp EncoderCustomPreset) AsEncoderPresetBase() (*EncoderPresetBase, bool)

AsEncoderPresetBase is the BasicEncoderPresetBase implementation for EncoderCustomPreset.

func (EncoderCustomPreset) AsEncoderSystemPreset

func (ecp EncoderCustomPreset) AsEncoderSystemPreset() (*EncoderSystemPreset, bool)

AsEncoderSystemPreset is the BasicEncoderPresetBase implementation for EncoderCustomPreset.

func (EncoderCustomPreset) MarshalJSON

func (ecp EncoderCustomPreset) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EncoderCustomPreset.

func (*EncoderCustomPreset) UnmarshalJSON

func (ecp *EncoderCustomPreset) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EncoderCustomPreset struct.

type EncoderPresetBase

type EncoderPresetBase struct {
	// Type - Possible values include: 'TypeBasicEncoderPresetBaseTypeEncoderPresetBase', 'TypeBasicEncoderPresetBaseTypeMicrosoftVideoAnalyzerEncoderSystemPreset', 'TypeBasicEncoderPresetBaseTypeMicrosoftVideoAnalyzerEncoderCustomPreset'
	Type TypeBasicEncoderPresetBase `json:"@type,omitempty"`
}

EncoderPresetBase base type for all encoder presets, which define the recipe or instructions on how the input content should be processed.

func (EncoderPresetBase) AsBasicEncoderPresetBase

func (epb EncoderPresetBase) AsBasicEncoderPresetBase() (BasicEncoderPresetBase, bool)

AsBasicEncoderPresetBase is the BasicEncoderPresetBase implementation for EncoderPresetBase.

func (EncoderPresetBase) AsEncoderCustomPreset

func (epb EncoderPresetBase) AsEncoderCustomPreset() (*EncoderCustomPreset, bool)

AsEncoderCustomPreset is the BasicEncoderPresetBase implementation for EncoderPresetBase.

func (EncoderPresetBase) AsEncoderPresetBase

func (epb EncoderPresetBase) AsEncoderPresetBase() (*EncoderPresetBase, bool)

AsEncoderPresetBase is the BasicEncoderPresetBase implementation for EncoderPresetBase.

func (EncoderPresetBase) AsEncoderSystemPreset

func (epb EncoderPresetBase) AsEncoderSystemPreset() (*EncoderSystemPreset, bool)

AsEncoderSystemPreset is the BasicEncoderPresetBase implementation for EncoderPresetBase.

func (EncoderPresetBase) MarshalJSON

func (epb EncoderPresetBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EncoderPresetBase.

type EncoderProcessor

type EncoderProcessor struct {
	// Preset - The encoder preset, which defines the recipe or instructions on how the input content should be processed.
	Preset BasicEncoderPresetBase `json:"preset,omitempty"`
	// Inputs - An array of upstream node references within the topology to be used as inputs for this node.
	Inputs *[]NodeInput `json:"inputs,omitempty"`
	// Name - Node name. Must be unique within the topology.
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeNodeBase', 'TypeMicrosoftVideoAnalyzerSourceNodeBase', 'TypeMicrosoftVideoAnalyzerProcessorNodeBase', 'TypeMicrosoftVideoAnalyzerSinkNodeBase', 'TypeMicrosoftVideoAnalyzerRtspSource', 'TypeMicrosoftVideoAnalyzerVideoSource', 'TypeMicrosoftVideoAnalyzerEncoderProcessor', 'TypeMicrosoftVideoAnalyzerVideoSink'
	Type Type `json:"@type,omitempty"`
}

EncoderProcessor encoder processor allows for encoding of the input content. For example, it can used to change the resolution from 4K to 1280x720.

func (EncoderProcessor) AsBasicNodeBase

func (ep EncoderProcessor) AsBasicNodeBase() (BasicNodeBase, bool)

AsBasicNodeBase is the BasicNodeBase implementation for EncoderProcessor.

func (EncoderProcessor) AsBasicProcessorNodeBase

func (ep EncoderProcessor) AsBasicProcessorNodeBase() (BasicProcessorNodeBase, bool)

AsBasicProcessorNodeBase is the BasicNodeBase implementation for EncoderProcessor.

func (EncoderProcessor) AsBasicSinkNodeBase

func (ep EncoderProcessor) AsBasicSinkNodeBase() (BasicSinkNodeBase, bool)

AsBasicSinkNodeBase is the BasicNodeBase implementation for EncoderProcessor.

func (EncoderProcessor) AsBasicSourceNodeBase

func (ep EncoderProcessor) AsBasicSourceNodeBase() (BasicSourceNodeBase, bool)

AsBasicSourceNodeBase is the BasicNodeBase implementation for EncoderProcessor.

func (EncoderProcessor) AsEncoderProcessor

func (ep EncoderProcessor) AsEncoderProcessor() (*EncoderProcessor, bool)

AsEncoderProcessor is the BasicNodeBase implementation for EncoderProcessor.

func (EncoderProcessor) AsNodeBase

func (ep EncoderProcessor) AsNodeBase() (*NodeBase, bool)

AsNodeBase is the BasicNodeBase implementation for EncoderProcessor.

func (EncoderProcessor) AsProcessorNodeBase

func (ep EncoderProcessor) AsProcessorNodeBase() (*ProcessorNodeBase, bool)

AsProcessorNodeBase is the BasicNodeBase implementation for EncoderProcessor.

func (EncoderProcessor) AsRtspSource

func (ep EncoderProcessor) AsRtspSource() (*RtspSource, bool)

AsRtspSource is the BasicNodeBase implementation for EncoderProcessor.

func (EncoderProcessor) AsSinkNodeBase

func (ep EncoderProcessor) AsSinkNodeBase() (*SinkNodeBase, bool)

AsSinkNodeBase is the BasicNodeBase implementation for EncoderProcessor.

func (EncoderProcessor) AsSourceNodeBase

func (ep EncoderProcessor) AsSourceNodeBase() (*SourceNodeBase, bool)

AsSourceNodeBase is the BasicNodeBase implementation for EncoderProcessor.

func (EncoderProcessor) AsVideoSink

func (ep EncoderProcessor) AsVideoSink() (*VideoSink, bool)

AsVideoSink is the BasicNodeBase implementation for EncoderProcessor.

func (EncoderProcessor) AsVideoSource

func (ep EncoderProcessor) AsVideoSource() (*VideoSource, bool)

AsVideoSource is the BasicNodeBase implementation for EncoderProcessor.

func (EncoderProcessor) MarshalJSON

func (ep EncoderProcessor) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EncoderProcessor.

func (*EncoderProcessor) UnmarshalJSON

func (ep *EncoderProcessor) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EncoderProcessor struct.

type EncoderSystemPreset

type EncoderSystemPreset struct {
	// Name - Name of the built-in encoding preset. Possible values include: 'EncoderSystemPresetTypeSingleLayer540pH264AAC', 'EncoderSystemPresetTypeSingleLayer720pH264AAC', 'EncoderSystemPresetTypeSingleLayer1080pH264AAC', 'EncoderSystemPresetTypeSingleLayer2160pH264AAC'
	Name EncoderSystemPresetType `json:"name,omitempty"`
	// Type - Possible values include: 'TypeBasicEncoderPresetBaseTypeEncoderPresetBase', 'TypeBasicEncoderPresetBaseTypeMicrosoftVideoAnalyzerEncoderSystemPreset', 'TypeBasicEncoderPresetBaseTypeMicrosoftVideoAnalyzerEncoderCustomPreset'
	Type TypeBasicEncoderPresetBase `json:"@type,omitempty"`
}

EncoderSystemPreset describes a built-in preset for encoding the input content using the encoder processor.

func (EncoderSystemPreset) AsBasicEncoderPresetBase

func (esp EncoderSystemPreset) AsBasicEncoderPresetBase() (BasicEncoderPresetBase, bool)

AsBasicEncoderPresetBase is the BasicEncoderPresetBase implementation for EncoderSystemPreset.

func (EncoderSystemPreset) AsEncoderCustomPreset

func (esp EncoderSystemPreset) AsEncoderCustomPreset() (*EncoderCustomPreset, bool)

AsEncoderCustomPreset is the BasicEncoderPresetBase implementation for EncoderSystemPreset.

func (EncoderSystemPreset) AsEncoderPresetBase

func (esp EncoderSystemPreset) AsEncoderPresetBase() (*EncoderPresetBase, bool)

AsEncoderPresetBase is the BasicEncoderPresetBase implementation for EncoderSystemPreset.

func (EncoderSystemPreset) AsEncoderSystemPreset

func (esp EncoderSystemPreset) AsEncoderSystemPreset() (*EncoderSystemPreset, bool)

AsEncoderSystemPreset is the BasicEncoderPresetBase implementation for EncoderSystemPreset.

func (EncoderSystemPreset) MarshalJSON

func (esp EncoderSystemPreset) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EncoderSystemPreset.

type EncoderSystemPresetType

type EncoderSystemPresetType string

EncoderSystemPresetType enumerates the values for encoder system preset type.

const (
	// EncoderSystemPresetTypeSingleLayer1080pH264AAC Produces an MP4 file where the video is encoded with
	// H.264 codec at a picture height of 1080 pixels, and at a maximum bitrate of 6000 Kbps. Encoded video has
	// the same average frame rate as the input. The aspect ratio of the input is preserved. If the input
	// content has audio, then it is encoded with AAC-LC codec at 128 Kbps
	EncoderSystemPresetTypeSingleLayer1080pH264AAC EncoderSystemPresetType = "SingleLayer_1080p_H264_AAC"
	// EncoderSystemPresetTypeSingleLayer2160pH264AAC Produces an MP4 file where the video is encoded with
	// H.264 codec at a picture height of 2160 pixels, and at a maximum bitrate of 16000 Kbps. Encoded video
	// has the same average frame rate as the input. The aspect ratio of the input is preserved. If the input
	// content has audio, then it is encoded with AAC-LC codec at 128 Kbps
	EncoderSystemPresetTypeSingleLayer2160pH264AAC EncoderSystemPresetType = "SingleLayer_2160p_H264_AAC"
	// EncoderSystemPresetTypeSingleLayer540pH264AAC Produces an MP4 file where the video is encoded with H.264
	// codec at a picture height of 540 pixels, and at a maximum bitrate of 2000 Kbps. Encoded video has the
	// same average frame rate as the input. The aspect ratio of the input is preserved. If the input content
	// has audio, then it is encoded with AAC-LC codec at 96 Kbps
	EncoderSystemPresetTypeSingleLayer540pH264AAC EncoderSystemPresetType = "SingleLayer_540p_H264_AAC"
	// EncoderSystemPresetTypeSingleLayer720pH264AAC Produces an MP4 file where the video is encoded with H.264
	// codec at a picture height of 720 pixels, and at a maximum bitrate of 3500 Kbps. Encoded video has the
	// same average frame rate as the input. The aspect ratio of the input is preserved. If the input content
	// has audio, then it is encoded with AAC-LC codec at 96 Kbps
	EncoderSystemPresetTypeSingleLayer720pH264AAC EncoderSystemPresetType = "SingleLayer_720p_H264_AAC"
)

func PossibleEncoderSystemPresetTypeValues

func PossibleEncoderSystemPresetTypeValues() []EncoderSystemPresetType

PossibleEncoderSystemPresetTypeValues returns an array of possible values for the EncoderSystemPresetType const type.

type Endpoint

type Endpoint struct {
	// EndpointURL - The URL of the endpoint.
	EndpointURL *string `json:"endpointUrl,omitempty"`
	// Type - The type of the endpoint.
	Type *string `json:"type,omitempty"`
}

Endpoint the endpoint details.

type EndpointBase

type EndpointBase struct {
	// Credentials - Credentials to be presented to the endpoint.
	Credentials BasicCredentialsBase `json:"credentials,omitempty"`
	// URL - The endpoint URL for Video Analyzer to connect to.
	URL *string `json:"url,omitempty"`
	// Tunnel - Describes the tunnel through which Video Analyzer can connect to the endpoint URL. This is an optional property, typically used when the endpoint is behind a firewall.
	Tunnel BasicTunnelBase `json:"tunnel,omitempty"`
	// Type - Possible values include: 'TypeBasicEndpointBaseTypeEndpointBase', 'TypeBasicEndpointBaseTypeMicrosoftVideoAnalyzerUnsecuredEndpoint', 'TypeBasicEndpointBaseTypeMicrosoftVideoAnalyzerTLSEndpoint'
	Type TypeBasicEndpointBase `json:"@type,omitempty"`
}

EndpointBase base class for endpoints.

func (EndpointBase) AsBasicEndpointBase

func (eb EndpointBase) AsBasicEndpointBase() (BasicEndpointBase, bool)

AsBasicEndpointBase is the BasicEndpointBase implementation for EndpointBase.

func (EndpointBase) AsEndpointBase

func (eb EndpointBase) AsEndpointBase() (*EndpointBase, bool)

AsEndpointBase is the BasicEndpointBase implementation for EndpointBase.

func (EndpointBase) AsTLSEndpoint

func (eb EndpointBase) AsTLSEndpoint() (*TLSEndpoint, bool)

AsTLSEndpoint is the BasicEndpointBase implementation for EndpointBase.

func (EndpointBase) AsUnsecuredEndpoint

func (eb EndpointBase) AsUnsecuredEndpoint() (*UnsecuredEndpoint, bool)

AsUnsecuredEndpoint is the BasicEndpointBase implementation for EndpointBase.

func (EndpointBase) MarshalJSON

func (eb EndpointBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EndpointBase.

func (*EndpointBase) UnmarshalJSON

func (eb *EndpointBase) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for EndpointBase struct.

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	// Type - READ-ONLY; The additional info type.
	Type *string `json:"type,omitempty"`
	// Info - READ-ONLY; The additional info.
	Info interface{} `json:"info,omitempty"`
}

ErrorAdditionalInfo the resource management error additional info.

func (ErrorAdditionalInfo) MarshalJSON

func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorAdditionalInfo.

type ErrorDetail

type ErrorDetail struct {
	// Code - READ-ONLY; The error code.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; The error message.
	Message *string `json:"message,omitempty"`
	// Target - READ-ONLY; The error target.
	Target *string `json:"target,omitempty"`
	// Details - READ-ONLY; The error details.
	Details *[]ErrorDetail `json:"details,omitempty"`
	// AdditionalInfo - READ-ONLY; The error additional info.
	AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
}

ErrorDetail the error detail.

func (ErrorDetail) MarshalJSON

func (ed ErrorDetail) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ErrorDetail.

type ErrorResponse

type ErrorResponse struct {
	// Error - The error object.
	Error *ErrorDetail `json:"error,omitempty"`
}

ErrorResponse common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).

type GroupLevelAccessControl

type GroupLevelAccessControl struct {
	// PublicNetworkAccess - Whether or not public network access is allowed for specified resources under the Video Analyzer account. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
	PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
}

GroupLevelAccessControl group level network access control.

type Identity

type Identity struct {
	// Type - The identity type.
	Type *string `json:"type,omitempty"`
	// UserAssignedIdentities - The User Assigned Managed Identities.
	UserAssignedIdentities map[string]*UserAssignedManagedIdentity `json:"userAssignedIdentities"`
}

Identity the managed identity for the Video Analyzer resource.

func (Identity) MarshalJSON

func (i Identity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Identity.

type IotHub

type IotHub struct {
	// ID - The IoT Hub resource identifier.
	ID *string `json:"id,omitempty"`
	// Identity - The IoT Hub identity.
	Identity *ResourceIdentity `json:"identity,omitempty"`
	// Status - READ-ONLY; The current status of the Iot Hub mapping.
	Status *string `json:"status,omitempty"`
}

IotHub the IoT Hub details.

func (IotHub) MarshalJSON

func (ih IotHub) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IotHub.

type JwtAuthentication

type JwtAuthentication struct {
	// Issuers - List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
	Issuers *[]string `json:"issuers,omitempty"`
	// Audiences - List of expected token audiences. Token audience is valid if it matches at least one of the given values.
	Audiences *[]string `json:"audiences,omitempty"`
	// Claims - List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
	Claims *[]TokenClaim `json:"claims,omitempty"`
	// Keys - List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
	Keys *[]BasicTokenKey `json:"keys,omitempty"`
	// Type - Possible values include: 'TypeBasicAuthenticationBaseTypeAuthenticationBase', 'TypeBasicAuthenticationBaseTypeMicrosoftVideoAnalyzerJwtAuthentication'
	Type TypeBasicAuthenticationBase `json:"@type,omitempty"`
}

JwtAuthentication properties for access validation based on JSON Web Tokens (JWT).

func (JwtAuthentication) AsAuthenticationBase

func (ja JwtAuthentication) AsAuthenticationBase() (*AuthenticationBase, bool)

AsAuthenticationBase is the BasicAuthenticationBase implementation for JwtAuthentication.

func (JwtAuthentication) AsBasicAuthenticationBase

func (ja JwtAuthentication) AsBasicAuthenticationBase() (BasicAuthenticationBase, bool)

AsBasicAuthenticationBase is the BasicAuthenticationBase implementation for JwtAuthentication.

func (JwtAuthentication) AsJwtAuthentication

func (ja JwtAuthentication) AsJwtAuthentication() (*JwtAuthentication, bool)

AsJwtAuthentication is the BasicAuthenticationBase implementation for JwtAuthentication.

func (JwtAuthentication) MarshalJSON

func (ja JwtAuthentication) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for JwtAuthentication.

func (*JwtAuthentication) UnmarshalJSON

func (ja *JwtAuthentication) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for JwtAuthentication struct.

type KeyVaultProperties

type KeyVaultProperties struct {
	// KeyIdentifier - The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey).
	KeyIdentifier *string `json:"keyIdentifier,omitempty"`
	// CurrentKeyIdentifier - READ-ONLY; The current key used to encrypt Video Analyzer account, including the key version.
	CurrentKeyIdentifier *string `json:"currentKeyIdentifier,omitempty"`
}

KeyVaultProperties the details for accessing the encryption keys in Key Vault.

func (KeyVaultProperties) MarshalJSON

func (kvp KeyVaultProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for KeyVaultProperties.

type Kind

type Kind string

Kind enumerates the values for kind.

const (
	// KindBatch Batch pipeline topology resource.
	KindBatch Kind = "Batch"
	// KindLive Live pipeline topology resource.
	KindLive Kind = "Live"
)

func PossibleKindValues

func PossibleKindValues() []Kind

PossibleKindValues returns an array of possible values for the Kind const type.

type ListProvisioningTokenInput

type ListProvisioningTokenInput struct {
	// ExpirationDate - The desired expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date.
	ExpirationDate *date.Time `json:"expirationDate,omitempty"`
}

ListProvisioningTokenInput the input parameters to generate registration token for the Azure Video Analyzer IoT edge module.

type LivePipeline

type LivePipeline struct {
	autorest.Response `json:"-"`
	// LivePipelineProperties - The resource properties.
	*LivePipelineProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

LivePipeline live pipeline represents a unique instance of a live topology, used for real-time ingestion, archiving and publishing of content for a unique RTSP camera.

func (LivePipeline) MarshalJSON

func (lp LivePipeline) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LivePipeline.

func (*LivePipeline) UnmarshalJSON

func (lp *LivePipeline) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LivePipeline struct.

type LivePipelineCollection

type LivePipelineCollection struct {
	autorest.Response `json:"-"`
	// Value - A collection of LivePipeline items.
	Value *[]LivePipeline `json:"value,omitempty"`
	// NextLink - A link to the next page of the collection (when the collection contains too many results to return in one response).
	NextLink *string `json:"@nextLink,omitempty"`
}

LivePipelineCollection a collection of LivePipeline items.

func (LivePipelineCollection) IsEmpty

func (lpc LivePipelineCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type LivePipelineCollectionIterator

type LivePipelineCollectionIterator struct {
	// contains filtered or unexported fields
}

LivePipelineCollectionIterator provides access to a complete listing of LivePipeline values.

func NewLivePipelineCollectionIterator

func NewLivePipelineCollectionIterator(page LivePipelineCollectionPage) LivePipelineCollectionIterator

Creates a new instance of the LivePipelineCollectionIterator type.

func (*LivePipelineCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LivePipelineCollectionIterator) NextWithContext

func (iter *LivePipelineCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (LivePipelineCollectionIterator) NotDone

func (iter LivePipelineCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (LivePipelineCollectionIterator) Response

Response returns the raw server response from the last page request.

func (LivePipelineCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type LivePipelineCollectionPage

type LivePipelineCollectionPage struct {
	// contains filtered or unexported fields
}

LivePipelineCollectionPage contains a page of LivePipeline values.

func NewLivePipelineCollectionPage

Creates a new instance of the LivePipelineCollectionPage type.

func (*LivePipelineCollectionPage) Next

func (page *LivePipelineCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*LivePipelineCollectionPage) NextWithContext

func (page *LivePipelineCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (LivePipelineCollectionPage) NotDone

func (page LivePipelineCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (LivePipelineCollectionPage) Response

Response returns the raw server response from the last page request.

func (LivePipelineCollectionPage) Values

func (page LivePipelineCollectionPage) Values() []LivePipeline

Values returns the slice of values for the current page or nil if there are no values.

type LivePipelineOperationStatus

type LivePipelineOperationStatus struct {
	autorest.Response `json:"-"`
	// Name - READ-ONLY; The name of the live pipeline operation.
	Name *string `json:"name,omitempty"`
	// Status - READ-ONLY; The status of the live pipeline operation.
	Status *string `json:"status,omitempty"`
	// Error - READ-ONLY; The error details for the live pipeline operation.
	Error *ErrorDetail `json:"error,omitempty"`
}

LivePipelineOperationStatus used for tracking the status of an operation on the live pipeline.

func (LivePipelineOperationStatus) MarshalJSON

func (lpos LivePipelineOperationStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LivePipelineOperationStatus.

type LivePipelineOperationStatusesClient

type LivePipelineOperationStatusesClient struct {
	BaseClient
}

LivePipelineOperationStatusesClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

func NewLivePipelineOperationStatusesClient

func NewLivePipelineOperationStatusesClient(subscriptionID string) LivePipelineOperationStatusesClient

NewLivePipelineOperationStatusesClient creates an instance of the LivePipelineOperationStatusesClient client.

func NewLivePipelineOperationStatusesClientWithBaseURI

func NewLivePipelineOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) LivePipelineOperationStatusesClient

NewLivePipelineOperationStatusesClientWithBaseURI creates an instance of the LivePipelineOperationStatusesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LivePipelineOperationStatusesClient) Get

func (client LivePipelineOperationStatusesClient) Get(ctx context.Context, resourceGroupName string, accountName string, livePipelineName string, operationID string) (result LivePipelineOperationStatus, err error)

Get get the operation status of a live pipeline. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. livePipelineName - live pipeline unique identifier. operationID - the operation ID.

func (LivePipelineOperationStatusesClient) GetPreparer

func (client LivePipelineOperationStatusesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, livePipelineName string, operationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LivePipelineOperationStatusesClient) GetResponder

func (client LivePipelineOperationStatusesClient) GetResponder(resp *http.Response) (result LivePipelineOperationStatus, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (LivePipelineOperationStatusesClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type LivePipelineProperties

type LivePipelineProperties struct {
	// TopologyName - The reference to an existing pipeline topology defined for real-time content processing. When activated, this live pipeline will process content according to the pipeline topology definition.
	TopologyName *string `json:"topologyName,omitempty"`
	// Description - An optional description for the pipeline.
	Description *string `json:"description,omitempty"`
	// BitrateKbps - Maximum bitrate capacity in Kbps reserved for the live pipeline. The allowed range is from 500 to 3000 Kbps in increments of 100 Kbps. If the RTSP camera exceeds this capacity, then the service will disconnect temporarily from the camera. It will retry to re-establish connection (with exponential backoff), checking to see if the camera bitrate is now below the reserved capacity. Doing so will ensure that one 'noisy neighbor' does not affect other live pipelines in your account.
	BitrateKbps *int32 `json:"bitrateKbps,omitempty"`
	// State - READ-ONLY; Current state of the pipeline (read-only). Possible values include: 'LivePipelineStateInactive', 'LivePipelineStateActivating', 'LivePipelineStateActive', 'LivePipelineStateDeactivating'
	State LivePipelineState `json:"state,omitempty"`
	// Parameters - List of the instance level parameter values for the user-defined topology parameters. A pipeline can only define or override parameters values for parameters which have been declared in the referenced topology. Topology parameters without a default value must be defined. Topology parameters with a default value can be optionally be overridden.
	Parameters *[]ParameterDefinition `json:"parameters,omitempty"`
}

LivePipelineProperties live pipeline properties.

func (LivePipelineProperties) MarshalJSON

func (lpp LivePipelineProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LivePipelineProperties.

type LivePipelinePropertiesUpdate

type LivePipelinePropertiesUpdate struct {
	// TopologyName - The reference to an existing pipeline topology defined for real-time content processing. When activated, this live pipeline will process content according to the pipeline topology definition.
	TopologyName *string `json:"topologyName,omitempty"`
	// Description - An optional description for the pipeline.
	Description *string `json:"description,omitempty"`
	// BitrateKbps - Maximum bitrate capacity in Kbps reserved for the live pipeline. The allowed range is from 500 to 3000 Kbps in increments of 100 Kbps. If the RTSP camera exceeds this capacity, then the service will disconnect temporarily from the camera. It will retry to re-establish connection (with exponential backoff), checking to see if the camera bitrate is now below the reserved capacity. Doing so will ensure that one 'noisy neighbor' does not affect other live pipelines in your account.
	BitrateKbps *int32 `json:"bitrateKbps,omitempty"`
	// State - READ-ONLY; Current state of the pipeline (read-only). Possible values include: 'LivePipelineStateInactive', 'LivePipelineStateActivating', 'LivePipelineStateActive', 'LivePipelineStateDeactivating'
	State LivePipelineState `json:"state,omitempty"`
	// Parameters - List of the instance level parameter values for the user-defined topology parameters. A pipeline can only define or override parameters values for parameters which have been declared in the referenced topology. Topology parameters without a default value must be defined. Topology parameters with a default value can be optionally be overridden.
	Parameters *[]ParameterDefinition `json:"parameters,omitempty"`
}

LivePipelinePropertiesUpdate live pipeline properties.

func (LivePipelinePropertiesUpdate) MarshalJSON

func (lppu LivePipelinePropertiesUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LivePipelinePropertiesUpdate.

type LivePipelineState

type LivePipelineState string

LivePipelineState enumerates the values for live pipeline state.

const (
	// LivePipelineStateActivating The live pipeline is transitioning into the active state.
	LivePipelineStateActivating LivePipelineState = "Activating"
	// LivePipelineStateActive The live pipeline is active and able to process media. If your data source is
	// not available, for instance, if your RTSP camera is powered off or unreachable, the pipeline will still
	// be active and periodically retrying the connection. Your Azure subscription will be billed for the
	// duration in which the live pipeline is in the active state.
	LivePipelineStateActive LivePipelineState = "Active"
	// LivePipelineStateDeactivating The live pipeline is transitioning into the inactive state.
	LivePipelineStateDeactivating LivePipelineState = "Deactivating"
	// LivePipelineStateInactive The live pipeline is idle and not processing media.
	LivePipelineStateInactive LivePipelineState = "Inactive"
)

func PossibleLivePipelineStateValues

func PossibleLivePipelineStateValues() []LivePipelineState

PossibleLivePipelineStateValues returns an array of possible values for the LivePipelineState const type.

type LivePipelineUpdate

type LivePipelineUpdate struct {
	// LivePipelinePropertiesUpdate - The resource properties.
	*LivePipelinePropertiesUpdate `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

LivePipelineUpdate live pipeline represents a unique instance of a live topology, used for real-time ingestion, archiving and publishing of content for a unique RTSP camera.

func (LivePipelineUpdate) MarshalJSON

func (lpu LivePipelineUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LivePipelineUpdate.

func (*LivePipelineUpdate) UnmarshalJSON

func (lpu *LivePipelineUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for LivePipelineUpdate struct.

type LivePipelinesActivateFuture

type LivePipelinesActivateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(LivePipelinesClient) (autorest.Response, error)
}

LivePipelinesActivateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*LivePipelinesActivateFuture) UnmarshalJSON

func (future *LivePipelinesActivateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LivePipelinesClient

type LivePipelinesClient struct {
	BaseClient
}

LivePipelinesClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

func NewLivePipelinesClient

func NewLivePipelinesClient(subscriptionID string) LivePipelinesClient

NewLivePipelinesClient creates an instance of the LivePipelinesClient client.

func NewLivePipelinesClientWithBaseURI

func NewLivePipelinesClientWithBaseURI(baseURI string, subscriptionID string) LivePipelinesClient

NewLivePipelinesClientWithBaseURI creates an instance of the LivePipelinesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LivePipelinesClient) Activate

func (client LivePipelinesClient) Activate(ctx context.Context, resourceGroupName string, accountName string, livePipelineName string) (result LivePipelinesActivateFuture, err error)

Activate activates a live pipeline with the given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. livePipelineName - live pipeline unique identifier.

func (LivePipelinesClient) ActivatePreparer

func (client LivePipelinesClient) ActivatePreparer(ctx context.Context, resourceGroupName string, accountName string, livePipelineName string) (*http.Request, error)

ActivatePreparer prepares the Activate request.

func (LivePipelinesClient) ActivateResponder

func (client LivePipelinesClient) ActivateResponder(resp *http.Response) (result autorest.Response, err error)

ActivateResponder handles the response to the Activate request. The method always closes the http.Response Body.

func (LivePipelinesClient) ActivateSender

func (client LivePipelinesClient) ActivateSender(req *http.Request) (future LivePipelinesActivateFuture, err error)

ActivateSender sends the Activate request. The method will close the http.Response Body if it receives an error.

func (LivePipelinesClient) CreateOrUpdate

func (client LivePipelinesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, livePipelineName string, parameters LivePipeline) (result LivePipeline, err error)

CreateOrUpdate creates a new live pipeline or updates an existing one, with the given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. livePipelineName - live pipeline unique identifier. parameters - the request parameters

func (LivePipelinesClient) CreateOrUpdatePreparer

func (client LivePipelinesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, livePipelineName string, parameters LivePipeline) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (LivePipelinesClient) CreateOrUpdateResponder

func (client LivePipelinesClient) CreateOrUpdateResponder(resp *http.Response) (result LivePipeline, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (LivePipelinesClient) CreateOrUpdateSender

func (client LivePipelinesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (LivePipelinesClient) Deactivate

func (client LivePipelinesClient) Deactivate(ctx context.Context, resourceGroupName string, accountName string, livePipelineName string) (result LivePipelinesDeactivateFuture, err error)

Deactivate deactivates a live pipeline with the given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. livePipelineName - live pipeline unique identifier.

func (LivePipelinesClient) DeactivatePreparer

func (client LivePipelinesClient) DeactivatePreparer(ctx context.Context, resourceGroupName string, accountName string, livePipelineName string) (*http.Request, error)

DeactivatePreparer prepares the Deactivate request.

func (LivePipelinesClient) DeactivateResponder

func (client LivePipelinesClient) DeactivateResponder(resp *http.Response) (result autorest.Response, err error)

DeactivateResponder handles the response to the Deactivate request. The method always closes the http.Response Body.

func (LivePipelinesClient) DeactivateSender

func (client LivePipelinesClient) DeactivateSender(req *http.Request) (future LivePipelinesDeactivateFuture, err error)

DeactivateSender sends the Deactivate request. The method will close the http.Response Body if it receives an error.

func (LivePipelinesClient) Delete

func (client LivePipelinesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, livePipelineName string) (result autorest.Response, err error)

Delete deletes a live pipeline with the given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. livePipelineName - live pipeline unique identifier.

func (LivePipelinesClient) DeletePreparer

func (client LivePipelinesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, livePipelineName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (LivePipelinesClient) DeleteResponder

func (client LivePipelinesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (LivePipelinesClient) DeleteSender

func (client LivePipelinesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (LivePipelinesClient) Get

func (client LivePipelinesClient) Get(ctx context.Context, resourceGroupName string, accountName string, livePipelineName string) (result LivePipeline, err error)

Get retrieves a specific live pipeline by name. If a live pipeline with that name has been previously created, the call will return the JSON representation of that instance. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. livePipelineName - live pipeline unique identifier.

func (LivePipelinesClient) GetPreparer

func (client LivePipelinesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, livePipelineName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (LivePipelinesClient) GetResponder

func (client LivePipelinesClient) GetResponder(resp *http.Response) (result LivePipeline, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (LivePipelinesClient) GetSender

func (client LivePipelinesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (LivePipelinesClient) List

func (client LivePipelinesClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32) (result LivePipelineCollectionPage, err error)

List retrieves a list of live pipelines that have been created, along with their JSON representations. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. filter - restricts the set of items returned. top - specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.

func (LivePipelinesClient) ListComplete

func (client LivePipelinesClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32) (result LivePipelineCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (LivePipelinesClient) ListPreparer

func (client LivePipelinesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (LivePipelinesClient) ListResponder

func (client LivePipelinesClient) ListResponder(resp *http.Response) (result LivePipelineCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (LivePipelinesClient) ListSender

func (client LivePipelinesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (LivePipelinesClient) Update

func (client LivePipelinesClient) Update(ctx context.Context, resourceGroupName string, accountName string, livePipelineName string, parameters LivePipelineUpdate) (result LivePipeline, err error)

Update updates an existing live pipeline with the given name. Properties that can be updated include: description, bitrateKbps, and parameter definitions. Only the description can be updated while the live pipeline is active. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. livePipelineName - live pipeline unique identifier. parameters - the request parameters

func (LivePipelinesClient) UpdatePreparer

func (client LivePipelinesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, livePipelineName string, parameters LivePipelineUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (LivePipelinesClient) UpdateResponder

func (client LivePipelinesClient) UpdateResponder(resp *http.Response) (result LivePipeline, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (LivePipelinesClient) UpdateSender

func (client LivePipelinesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type LivePipelinesDeactivateFuture

type LivePipelinesDeactivateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(LivePipelinesClient) (autorest.Response, error)
}

LivePipelinesDeactivateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*LivePipelinesDeactivateFuture) UnmarshalJSON

func (future *LivePipelinesDeactivateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type LocationsClient

type LocationsClient struct {
	BaseClient
}

LocationsClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

func NewLocationsClient

func NewLocationsClient(subscriptionID string) LocationsClient

NewLocationsClient creates an instance of the LocationsClient client.

func NewLocationsClientWithBaseURI

func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient

NewLocationsClientWithBaseURI creates an instance of the LocationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (LocationsClient) CheckNameAvailability

func (client LocationsClient) CheckNameAvailability(ctx context.Context, locationName string, parameters CheckNameAvailabilityRequest) (result CheckNameAvailabilityResponse, err error)

CheckNameAvailability checks whether the Video Analyzer resource name is available. Parameters: locationName - location Name. parameters - the request parameters

func (LocationsClient) CheckNameAvailabilityPreparer

func (client LocationsClient) CheckNameAvailabilityPreparer(ctx context.Context, locationName string, parameters CheckNameAvailabilityRequest) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (LocationsClient) CheckNameAvailabilityResponder

func (client LocationsClient) CheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResponse, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (LocationsClient) CheckNameAvailabilitySender

func (client LocationsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

type LogSpecification

type LogSpecification struct {
	// Name - READ-ONLY; The diagnostic log category name.
	Name *string `json:"name,omitempty"`
	// DisplayName - READ-ONLY; The diagnostic log category display name.
	DisplayName *string `json:"displayName,omitempty"`
	// BlobDuration - READ-ONLY; The time range for requests in each blob.
	BlobDuration *string `json:"blobDuration,omitempty"`
}

LogSpecification a diagnostic log emitted by service.

func (LogSpecification) MarshalJSON

func (ls LogSpecification) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LogSpecification.

type MetricAggregationType

type MetricAggregationType string

MetricAggregationType enumerates the values for metric aggregation type.

const (
	// MetricAggregationTypeAverage The average.
	MetricAggregationTypeAverage MetricAggregationType = "Average"
	// MetricAggregationTypeCount The count of a number of items, usually requests.
	MetricAggregationTypeCount MetricAggregationType = "Count"
	// MetricAggregationTypeTotal The sum.
	MetricAggregationTypeTotal MetricAggregationType = "Total"
)

func PossibleMetricAggregationTypeValues

func PossibleMetricAggregationTypeValues() []MetricAggregationType

PossibleMetricAggregationTypeValues returns an array of possible values for the MetricAggregationType const type.

type MetricDimension

type MetricDimension struct {
	// Name - READ-ONLY; The metric dimension name.
	Name *string `json:"name,omitempty"`
	// DisplayName - READ-ONLY; The display name for the dimension.
	DisplayName *string `json:"displayName,omitempty"`
	// ToBeExportedForShoebox - READ-ONLY; Whether to export metric to shoebox.
	ToBeExportedForShoebox *bool `json:"toBeExportedForShoebox,omitempty"`
}

MetricDimension a metric dimension.

func (MetricDimension) MarshalJSON

func (md MetricDimension) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricDimension.

type MetricSpecification

type MetricSpecification struct {
	// Name - READ-ONLY; The metric name.
	Name *string `json:"name,omitempty"`
	// DisplayName - READ-ONLY; The metric display name.
	DisplayName *string `json:"displayName,omitempty"`
	// DisplayDescription - READ-ONLY; The metric display description.
	DisplayDescription *string `json:"displayDescription,omitempty"`
	// Unit - READ-ONLY; The metric unit. Possible values include: 'MetricUnitBytes', 'MetricUnitCount', 'MetricUnitMilliseconds'
	Unit MetricUnit `json:"unit,omitempty"`
	// AggregationType - READ-ONLY; The metric aggregation type. Possible values include: 'MetricAggregationTypeAverage', 'MetricAggregationTypeCount', 'MetricAggregationTypeTotal'
	AggregationType MetricAggregationType `json:"aggregationType,omitempty"`
	// LockAggregationType - READ-ONLY; The metric lock aggregation type. Possible values include: 'MetricAggregationTypeAverage', 'MetricAggregationTypeCount', 'MetricAggregationTypeTotal'
	LockAggregationType MetricAggregationType `json:"lockAggregationType,omitempty"`
	// SupportedAggregationTypes - Supported aggregation types.
	SupportedAggregationTypes *[]string `json:"supportedAggregationTypes,omitempty"`
	// Dimensions - READ-ONLY; The metric dimensions.
	Dimensions *[]MetricDimension `json:"dimensions,omitempty"`
	// EnableRegionalMdmAccount - READ-ONLY; Indicates whether regional MDM account is enabled.
	EnableRegionalMdmAccount *bool `json:"enableRegionalMdmAccount,omitempty"`
	// SourceMdmAccount - READ-ONLY; The source MDM account.
	SourceMdmAccount *string `json:"sourceMdmAccount,omitempty"`
	// SourceMdmNamespace - READ-ONLY; The source MDM namespace.
	SourceMdmNamespace *string `json:"sourceMdmNamespace,omitempty"`
	// SupportedTimeGrainTypes - READ-ONLY; The supported time grain types.
	SupportedTimeGrainTypes *[]string `json:"supportedTimeGrainTypes,omitempty"`
}

MetricSpecification a metric emitted by service.

func (MetricSpecification) MarshalJSON

func (ms MetricSpecification) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MetricSpecification.

type MetricUnit

type MetricUnit string

MetricUnit enumerates the values for metric unit.

const (
	// MetricUnitBytes The number of bytes.
	MetricUnitBytes MetricUnit = "Bytes"
	// MetricUnitCount The count.
	MetricUnitCount MetricUnit = "Count"
	// MetricUnitMilliseconds The number of milliseconds.
	MetricUnitMilliseconds MetricUnit = "Milliseconds"
)

func PossibleMetricUnitValues

func PossibleMetricUnitValues() []MetricUnit

PossibleMetricUnitValues returns an array of possible values for the MetricUnit const type.

type Model

type Model struct {
	autorest.Response `json:"-"`
	// PropertiesType - The resource properties.
	*PropertiesType `json:"properties,omitempty"`
	// Identity - The identities associated to the Video Analyzer resource.
	Identity *Identity `json:"identity,omitempty"`
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

Model the Video Analyzer account.

func (Model) MarshalJSON

func (mVar Model) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Model.

func (*Model) UnmarshalJSON

func (mVar *Model) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Model struct.

type NetworkAccessControl

type NetworkAccessControl struct {
	// Integration - Public network access for integration group.
	Integration *GroupLevelAccessControl `json:"integration,omitempty"`
	// Ingestion - Public network access for ingestion group.
	Ingestion *GroupLevelAccessControl `json:"ingestion,omitempty"`
	// Consumption - Public network access for consumption group.
	Consumption *GroupLevelAccessControl `json:"consumption,omitempty"`
}

NetworkAccessControl network access control for video analyzer account.

type NodeBase

type NodeBase struct {
	// Name - Node name. Must be unique within the topology.
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeNodeBase', 'TypeMicrosoftVideoAnalyzerSourceNodeBase', 'TypeMicrosoftVideoAnalyzerProcessorNodeBase', 'TypeMicrosoftVideoAnalyzerSinkNodeBase', 'TypeMicrosoftVideoAnalyzerRtspSource', 'TypeMicrosoftVideoAnalyzerVideoSource', 'TypeMicrosoftVideoAnalyzerEncoderProcessor', 'TypeMicrosoftVideoAnalyzerVideoSink'
	Type Type `json:"@type,omitempty"`
}

NodeBase base class for nodes.

func (NodeBase) AsBasicNodeBase

func (nb NodeBase) AsBasicNodeBase() (BasicNodeBase, bool)

AsBasicNodeBase is the BasicNodeBase implementation for NodeBase.

func (NodeBase) AsBasicProcessorNodeBase

func (nb NodeBase) AsBasicProcessorNodeBase() (BasicProcessorNodeBase, bool)

AsBasicProcessorNodeBase is the BasicNodeBase implementation for NodeBase.

func (NodeBase) AsBasicSinkNodeBase

func (nb NodeBase) AsBasicSinkNodeBase() (BasicSinkNodeBase, bool)

AsBasicSinkNodeBase is the BasicNodeBase implementation for NodeBase.

func (NodeBase) AsBasicSourceNodeBase

func (nb NodeBase) AsBasicSourceNodeBase() (BasicSourceNodeBase, bool)

AsBasicSourceNodeBase is the BasicNodeBase implementation for NodeBase.

func (NodeBase) AsEncoderProcessor

func (nb NodeBase) AsEncoderProcessor() (*EncoderProcessor, bool)

AsEncoderProcessor is the BasicNodeBase implementation for NodeBase.

func (NodeBase) AsNodeBase

func (nb NodeBase) AsNodeBase() (*NodeBase, bool)

AsNodeBase is the BasicNodeBase implementation for NodeBase.

func (NodeBase) AsProcessorNodeBase

func (nb NodeBase) AsProcessorNodeBase() (*ProcessorNodeBase, bool)

AsProcessorNodeBase is the BasicNodeBase implementation for NodeBase.

func (NodeBase) AsRtspSource

func (nb NodeBase) AsRtspSource() (*RtspSource, bool)

AsRtspSource is the BasicNodeBase implementation for NodeBase.

func (NodeBase) AsSinkNodeBase

func (nb NodeBase) AsSinkNodeBase() (*SinkNodeBase, bool)

AsSinkNodeBase is the BasicNodeBase implementation for NodeBase.

func (NodeBase) AsSourceNodeBase

func (nb NodeBase) AsSourceNodeBase() (*SourceNodeBase, bool)

AsSourceNodeBase is the BasicNodeBase implementation for NodeBase.

func (NodeBase) AsVideoSink

func (nb NodeBase) AsVideoSink() (*VideoSink, bool)

AsVideoSink is the BasicNodeBase implementation for NodeBase.

func (NodeBase) AsVideoSource

func (nb NodeBase) AsVideoSource() (*VideoSource, bool)

AsVideoSource is the BasicNodeBase implementation for NodeBase.

func (NodeBase) MarshalJSON

func (nb NodeBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NodeBase.

type NodeInput

type NodeInput struct {
	// NodeName - The name of the upstream node in the pipeline which output is used as input of the current node.
	NodeName *string `json:"nodeName,omitempty"`
}

NodeInput describes an input signal to be used on a pipeline node.

type Operation

type Operation struct {
	// Name - The operation name.
	Name *string `json:"name,omitempty"`
	// Display - The operation display name.
	Display *OperationDisplay `json:"display,omitempty"`
	// Origin - Origin of the operation.
	Origin *string `json:"origin,omitempty"`
	// Properties - Operation properties format.
	Properties *Properties `json:"properties,omitempty"`
	// IsDataAction - Whether the operation applies to data-plane.
	IsDataAction *bool `json:"isDataAction,omitempty"`
	// ActionType - Indicates the action type. Possible values include: 'ActionTypeInternal'
	ActionType ActionType `json:"actionType,omitempty"`
}

Operation an operation.

type OperationCollection

type OperationCollection struct {
	autorest.Response `json:"-"`
	// Value - A collection of Operation items.
	Value *[]Operation `json:"value,omitempty"`
}

OperationCollection a collection of Operation items.

type OperationDisplay

type OperationDisplay struct {
	// Provider - The service provider.
	Provider *string `json:"provider,omitempty"`
	// Resource - Resource on which the operation is performed.
	Resource *string `json:"resource,omitempty"`
	// Operation - The operation type.
	Operation *string `json:"operation,omitempty"`
	// Description - The operation description.
	Description *string `json:"description,omitempty"`
}

OperationDisplay operation details.

type OperationResultsClient

type OperationResultsClient struct {
	BaseClient
}

OperationResultsClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

func NewOperationResultsClient

func NewOperationResultsClient(subscriptionID string) OperationResultsClient

NewOperationResultsClient creates an instance of the OperationResultsClient client.

func NewOperationResultsClientWithBaseURI

func NewOperationResultsClientWithBaseURI(baseURI string, subscriptionID string) OperationResultsClient

NewOperationResultsClientWithBaseURI creates an instance of the OperationResultsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationResultsClient) Get

func (client OperationResultsClient) Get(ctx context.Context, resourceGroupName string, accountName string, name string, operationID string) (result PrivateEndpointConnection, err error)

Get get private endpoint connection operation result. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Video Analyzer account name. name - private endpoint connection name. operationID - operation Id.

func (OperationResultsClient) GetPreparer

func (client OperationResultsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, name string, operationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (OperationResultsClient) GetResponder

func (client OperationResultsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (OperationResultsClient) GetSender

func (client OperationResultsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type OperationResultsGroupClient

type OperationResultsGroupClient struct {
	BaseClient
}

OperationResultsGroupClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

func NewOperationResultsGroupClient

func NewOperationResultsGroupClient(subscriptionID string) OperationResultsGroupClient

NewOperationResultsGroupClient creates an instance of the OperationResultsGroupClient client.

func NewOperationResultsGroupClientWithBaseURI

func NewOperationResultsGroupClientWithBaseURI(baseURI string, subscriptionID string) OperationResultsGroupClient

NewOperationResultsGroupClientWithBaseURI creates an instance of the OperationResultsGroupClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationResultsGroupClient) Get

func (client OperationResultsGroupClient) Get(ctx context.Context, locationName string, operationID string) (result Model, err error)

Get get video analyzer operation result. Parameters: locationName - location name. operationID - operation Id.

func (OperationResultsGroupClient) GetPreparer

func (client OperationResultsGroupClient) GetPreparer(ctx context.Context, locationName string, operationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (OperationResultsGroupClient) GetResponder

func (client OperationResultsGroupClient) GetResponder(resp *http.Response) (result Model, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (OperationResultsGroupClient) GetSender

func (client OperationResultsGroupClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type OperationStatus

type OperationStatus struct {
	autorest.Response `json:"-"`
	// Name - Operation identifier.
	Name *string `json:"name,omitempty"`
	// ID - Operation resource ID.
	ID *string `json:"id,omitempty"`
	// StartTime - Operation start time.
	StartTime *string `json:"startTime,omitempty"`
	// EndTime - Operation end time.
	EndTime *string `json:"endTime,omitempty"`
	// Status - Operation status.
	Status *string      `json:"status,omitempty"`
	Error  *ErrorDetail `json:"error,omitempty"`
}

OperationStatus status of video analyzer operation.

type OperationStatusesClient

type OperationStatusesClient struct {
	BaseClient
}

OperationStatusesClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

func NewOperationStatusesClient

func NewOperationStatusesClient(subscriptionID string) OperationStatusesClient

NewOperationStatusesClient creates an instance of the OperationStatusesClient client.

func NewOperationStatusesClientWithBaseURI

func NewOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) OperationStatusesClient

NewOperationStatusesClientWithBaseURI creates an instance of the OperationStatusesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationStatusesClient) Get

func (client OperationStatusesClient) Get(ctx context.Context, resourceGroupName string, accountName string, name string, operationID string) (result PrivateEndpointConnectionOperationStatus, err error)

Get get private endpoint connection operation status. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Video Analyzer account name. name - private endpoint connection name. operationID - operation Id.

func (OperationStatusesClient) GetPreparer

func (client OperationStatusesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, name string, operationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (OperationStatusesClient) GetResponder

func (client OperationStatusesClient) GetResponder(resp *http.Response) (result PrivateEndpointConnectionOperationStatus, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (OperationStatusesClient) GetSender

func (client OperationStatusesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type OperationStatusesGroupClient

type OperationStatusesGroupClient struct {
	BaseClient
}

OperationStatusesGroupClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

func NewOperationStatusesGroupClient

func NewOperationStatusesGroupClient(subscriptionID string) OperationStatusesGroupClient

NewOperationStatusesGroupClient creates an instance of the OperationStatusesGroupClient client.

func NewOperationStatusesGroupClientWithBaseURI

func NewOperationStatusesGroupClientWithBaseURI(baseURI string, subscriptionID string) OperationStatusesGroupClient

NewOperationStatusesGroupClientWithBaseURI creates an instance of the OperationStatusesGroupClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationStatusesGroupClient) Get

func (client OperationStatusesGroupClient) Get(ctx context.Context, locationName string, operationID string) (result OperationStatus, err error)

Get get video analyzer operation status. Parameters: locationName - location name. operationID - operation Id.

func (OperationStatusesGroupClient) GetPreparer

func (client OperationStatusesGroupClient) GetPreparer(ctx context.Context, locationName string, operationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (OperationStatusesGroupClient) GetResponder

func (client OperationStatusesGroupClient) GetResponder(resp *http.Response) (result OperationStatus, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (OperationStatusesGroupClient) GetSender

func (client OperationStatusesGroupClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

func NewOperationsClient

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context) (result OperationCollection, err error)

List lists all the Media operations.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ParameterDeclaration

type ParameterDeclaration struct {
	// Name - Name of the parameter.
	Name *string `json:"name,omitempty"`
	// Type - Type of the parameter. Possible values include: 'ParameterTypeString', 'ParameterTypeSecretString', 'ParameterTypeInt', 'ParameterTypeDouble', 'ParameterTypeBool'
	Type ParameterType `json:"type,omitempty"`
	// Description - Description of the parameter.
	Description *string `json:"description,omitempty"`
	// Default - The default value for the parameter to be used if the pipeline does not specify a value.
	Default *string `json:"default,omitempty"`
}

ParameterDeclaration single topology parameter declaration. Declared parameters can and must be referenced throughout the topology and can optionally have default values to be used when they are not defined in the pipelines.

type ParameterDefinition

type ParameterDefinition struct {
	// Name - Name of the parameter declared in the pipeline topology.
	Name *string `json:"name,omitempty"`
	// Value - Parameter value to be applied on this specific pipeline.
	Value *string `json:"value,omitempty"`
}

ParameterDefinition defines the parameter value of an specific pipeline topology parameter. See pipeline topology parameters for more information.

type ParameterType

type ParameterType string

ParameterType enumerates the values for parameter type.

const (
	// ParameterTypeBool The parameter's value is a boolean value that is either true or false.
	ParameterTypeBool ParameterType = "Bool"
	// ParameterTypeDouble The parameter's value is a 64-bit double-precision floating point.
	ParameterTypeDouble ParameterType = "Double"
	// ParameterTypeInt The parameter's value is a 32-bit signed integer.
	ParameterTypeInt ParameterType = "Int"
	// ParameterTypeSecretString The parameter's value is a string that holds sensitive information.
	ParameterTypeSecretString ParameterType = "SecretString"
	// ParameterTypeString The parameter's value is a string.
	ParameterTypeString ParameterType = "String"
)

func PossibleParameterTypeValues

func PossibleParameterTypeValues() []ParameterType

PossibleParameterTypeValues returns an array of possible values for the ParameterType const type.

type PemCertificateList

type PemCertificateList struct {
	// Certificates - PEM formatted public certificates. One certificate per entry.
	Certificates *[]string `json:"certificates,omitempty"`
	// Type - Possible values include: 'TypeBasicCertificateSourceTypeCertificateSource', 'TypeBasicCertificateSourceTypeMicrosoftVideoAnalyzerPemCertificateList'
	Type TypeBasicCertificateSource `json:"@type,omitempty"`
}

PemCertificateList a list of PEM formatted certificates.

func (PemCertificateList) AsBasicCertificateSource

func (pcl PemCertificateList) AsBasicCertificateSource() (BasicCertificateSource, bool)

AsBasicCertificateSource is the BasicCertificateSource implementation for PemCertificateList.

func (PemCertificateList) AsCertificateSource

func (pcl PemCertificateList) AsCertificateSource() (*CertificateSource, bool)

AsCertificateSource is the BasicCertificateSource implementation for PemCertificateList.

func (PemCertificateList) AsPemCertificateList

func (pcl PemCertificateList) AsPemCertificateList() (*PemCertificateList, bool)

AsPemCertificateList is the BasicCertificateSource implementation for PemCertificateList.

func (PemCertificateList) MarshalJSON

func (pcl PemCertificateList) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PemCertificateList.

type PipelineJob

type PipelineJob struct {
	autorest.Response `json:"-"`
	// PipelineJobProperties - The resource properties.
	*PipelineJobProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

PipelineJob pipeline job represents a unique instance of a batch topology, used for offline processing of selected portions of archived content.

func (PipelineJob) MarshalJSON

func (pj PipelineJob) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PipelineJob.

func (*PipelineJob) UnmarshalJSON

func (pj *PipelineJob) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PipelineJob struct.

type PipelineJobCollection

type PipelineJobCollection struct {
	autorest.Response `json:"-"`
	// Value - A collection of PipelineJob items.
	Value *[]PipelineJob `json:"value,omitempty"`
	// NextLink - A link to the next page of the collection (when the collection contains too many results to return in one response).
	NextLink *string `json:"@nextLink,omitempty"`
}

PipelineJobCollection a collection of PipelineJob items.

func (PipelineJobCollection) IsEmpty

func (pjc PipelineJobCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PipelineJobCollectionIterator

type PipelineJobCollectionIterator struct {
	// contains filtered or unexported fields
}

PipelineJobCollectionIterator provides access to a complete listing of PipelineJob values.

func NewPipelineJobCollectionIterator

func NewPipelineJobCollectionIterator(page PipelineJobCollectionPage) PipelineJobCollectionIterator

Creates a new instance of the PipelineJobCollectionIterator type.

func (*PipelineJobCollectionIterator) Next

func (iter *PipelineJobCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PipelineJobCollectionIterator) NextWithContext

func (iter *PipelineJobCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PipelineJobCollectionIterator) NotDone

func (iter PipelineJobCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (PipelineJobCollectionIterator) Response

Response returns the raw server response from the last page request.

func (PipelineJobCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PipelineJobCollectionPage

type PipelineJobCollectionPage struct {
	// contains filtered or unexported fields
}

PipelineJobCollectionPage contains a page of PipelineJob values.

func NewPipelineJobCollectionPage

Creates a new instance of the PipelineJobCollectionPage type.

func (*PipelineJobCollectionPage) Next

func (page *PipelineJobCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PipelineJobCollectionPage) NextWithContext

func (page *PipelineJobCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PipelineJobCollectionPage) NotDone

func (page PipelineJobCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PipelineJobCollectionPage) Response

Response returns the raw server response from the last page request.

func (PipelineJobCollectionPage) Values

func (page PipelineJobCollectionPage) Values() []PipelineJob

Values returns the slice of values for the current page or nil if there are no values.

type PipelineJobError

type PipelineJobError struct {
	// Code - The error code.
	Code *string `json:"code,omitempty"`
	// Message - The error message.
	Message *string `json:"message,omitempty"`
}

PipelineJobError details about the error for a failed pipeline job.

type PipelineJobOperationStatus

type PipelineJobOperationStatus struct {
	autorest.Response `json:"-"`
	// Name - READ-ONLY; The name of the pipeline job operation.
	Name *string `json:"name,omitempty"`
	// Status - READ-ONLY; The status of the pipeline job operation.
	Status *string `json:"status,omitempty"`
	// Error - READ-ONLY; The error details for the pipeline job operation.
	Error *ErrorDetail `json:"error,omitempty"`
}

PipelineJobOperationStatus used for tracking the status of an operation on the pipeline job.

func (PipelineJobOperationStatus) MarshalJSON

func (pjos PipelineJobOperationStatus) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PipelineJobOperationStatus.

type PipelineJobOperationStatusesClient

type PipelineJobOperationStatusesClient struct {
	BaseClient
}

PipelineJobOperationStatusesClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

func NewPipelineJobOperationStatusesClient

func NewPipelineJobOperationStatusesClient(subscriptionID string) PipelineJobOperationStatusesClient

NewPipelineJobOperationStatusesClient creates an instance of the PipelineJobOperationStatusesClient client.

func NewPipelineJobOperationStatusesClientWithBaseURI

func NewPipelineJobOperationStatusesClientWithBaseURI(baseURI string, subscriptionID string) PipelineJobOperationStatusesClient

NewPipelineJobOperationStatusesClientWithBaseURI creates an instance of the PipelineJobOperationStatusesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PipelineJobOperationStatusesClient) Get

func (client PipelineJobOperationStatusesClient) Get(ctx context.Context, resourceGroupName string, accountName string, pipelineJobName string, operationID string) (result PipelineJobOperationStatus, err error)

Get get the operation status of a pipeline job with the given operationId. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. pipelineJobName - the pipeline job name. operationID - the operation ID.

func (PipelineJobOperationStatusesClient) GetPreparer

func (client PipelineJobOperationStatusesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, pipelineJobName string, operationID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PipelineJobOperationStatusesClient) GetResponder

func (client PipelineJobOperationStatusesClient) GetResponder(resp *http.Response) (result PipelineJobOperationStatus, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PipelineJobOperationStatusesClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type PipelineJobProperties

type PipelineJobProperties struct {
	// TopologyName - Reference to an existing pipeline topology. When activated, this pipeline job will process content according to the pipeline topology definition.
	TopologyName *string `json:"topologyName,omitempty"`
	// Description - An optional description for the pipeline.
	Description *string `json:"description,omitempty"`
	// State - READ-ONLY; Current state of the pipeline (read-only). Possible values include: 'PipelineJobStateProcessing', 'PipelineJobStateCanceled', 'PipelineJobStateCompleted', 'PipelineJobStateFailed'
	State PipelineJobState `json:"state,omitempty"`
	// Expiration - READ-ONLY; The date-time by when this pipeline job will be automatically deleted from your account.
	Expiration *date.Time `json:"expiration,omitempty"`
	// Error - READ-ONLY; Details about the error, in case the pipeline job fails.
	Error *PipelineJobError `json:"error,omitempty"`
	// Parameters - List of the instance level parameter values for the user-defined topology parameters. A pipeline can only define or override parameters values for parameters which have been declared in the referenced topology. Topology parameters without a default value must be defined. Topology parameters with a default value can be optionally be overridden.
	Parameters *[]ParameterDefinition `json:"parameters,omitempty"`
}

PipelineJobProperties pipeline job properties.

func (PipelineJobProperties) MarshalJSON

func (pjp PipelineJobProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PipelineJobProperties.

type PipelineJobPropertiesUpdate

type PipelineJobPropertiesUpdate struct {
	// TopologyName - Reference to an existing pipeline topology. When activated, this pipeline job will process content according to the pipeline topology definition.
	TopologyName *string `json:"topologyName,omitempty"`
	// Description - An optional description for the pipeline.
	Description *string `json:"description,omitempty"`
	// State - READ-ONLY; Current state of the pipeline (read-only). Possible values include: 'PipelineJobStateProcessing', 'PipelineJobStateCanceled', 'PipelineJobStateCompleted', 'PipelineJobStateFailed'
	State PipelineJobState `json:"state,omitempty"`
	// Expiration - READ-ONLY; The date-time by when this pipeline job will be automatically deleted from your account.
	Expiration *date.Time `json:"expiration,omitempty"`
	// Error - READ-ONLY; Details about the error, in case the pipeline job fails.
	Error *PipelineJobError `json:"error,omitempty"`
	// Parameters - List of the instance level parameter values for the user-defined topology parameters. A pipeline can only define or override parameters values for parameters which have been declared in the referenced topology. Topology parameters without a default value must be defined. Topology parameters with a default value can be optionally be overridden.
	Parameters *[]ParameterDefinition `json:"parameters,omitempty"`
}

PipelineJobPropertiesUpdate pipeline job properties.

func (PipelineJobPropertiesUpdate) MarshalJSON

func (pjpu PipelineJobPropertiesUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PipelineJobPropertiesUpdate.

type PipelineJobState

type PipelineJobState string

PipelineJobState enumerates the values for pipeline job state.

const (
	// PipelineJobStateCanceled Pipeline job is canceled.
	PipelineJobStateCanceled PipelineJobState = "Canceled"
	// PipelineJobStateCompleted Pipeline job completed.
	PipelineJobStateCompleted PipelineJobState = "Completed"
	// PipelineJobStateFailed Pipeline job failed.
	PipelineJobStateFailed PipelineJobState = "Failed"
	// PipelineJobStateProcessing Pipeline job is processing.
	PipelineJobStateProcessing PipelineJobState = "Processing"
)

func PossiblePipelineJobStateValues

func PossiblePipelineJobStateValues() []PipelineJobState

PossiblePipelineJobStateValues returns an array of possible values for the PipelineJobState const type.

type PipelineJobUpdate

type PipelineJobUpdate struct {
	// PipelineJobPropertiesUpdate - The resource properties.
	*PipelineJobPropertiesUpdate `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

PipelineJobUpdate pipeline job represents a unique instance of a batch topology, used for offline processing of selected portions of archived content.

func (PipelineJobUpdate) MarshalJSON

func (pju PipelineJobUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PipelineJobUpdate.

func (*PipelineJobUpdate) UnmarshalJSON

func (pju *PipelineJobUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PipelineJobUpdate struct.

type PipelineJobsCancelFuture

type PipelineJobsCancelFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(PipelineJobsClient) (autorest.Response, error)
}

PipelineJobsCancelFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*PipelineJobsCancelFuture) UnmarshalJSON

func (future *PipelineJobsCancelFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type PipelineJobsClient

type PipelineJobsClient struct {
	BaseClient
}

PipelineJobsClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

func NewPipelineJobsClient

func NewPipelineJobsClient(subscriptionID string) PipelineJobsClient

NewPipelineJobsClient creates an instance of the PipelineJobsClient client.

func NewPipelineJobsClientWithBaseURI

func NewPipelineJobsClientWithBaseURI(baseURI string, subscriptionID string) PipelineJobsClient

NewPipelineJobsClientWithBaseURI creates an instance of the PipelineJobsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PipelineJobsClient) Cancel

func (client PipelineJobsClient) Cancel(ctx context.Context, resourceGroupName string, accountName string, pipelineJobName string) (result PipelineJobsCancelFuture, err error)

Cancel cancels a pipeline job with the given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. pipelineJobName - the pipeline job name.

func (PipelineJobsClient) CancelPreparer

func (client PipelineJobsClient) CancelPreparer(ctx context.Context, resourceGroupName string, accountName string, pipelineJobName string) (*http.Request, error)

CancelPreparer prepares the Cancel request.

func (PipelineJobsClient) CancelResponder

func (client PipelineJobsClient) CancelResponder(resp *http.Response) (result autorest.Response, err error)

CancelResponder handles the response to the Cancel request. The method always closes the http.Response Body.

func (PipelineJobsClient) CancelSender

func (client PipelineJobsClient) CancelSender(req *http.Request) (future PipelineJobsCancelFuture, err error)

CancelSender sends the Cancel request. The method will close the http.Response Body if it receives an error.

func (PipelineJobsClient) CreateOrUpdate

func (client PipelineJobsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, pipelineJobName string, parameters PipelineJob) (result PipelineJob, err error)

CreateOrUpdate creates a new pipeline job or updates an existing one, with the given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. pipelineJobName - the pipeline job name. parameters - the request parameters

func (PipelineJobsClient) CreateOrUpdatePreparer

func (client PipelineJobsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, pipelineJobName string, parameters PipelineJob) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PipelineJobsClient) CreateOrUpdateResponder

func (client PipelineJobsClient) CreateOrUpdateResponder(resp *http.Response) (result PipelineJob, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PipelineJobsClient) CreateOrUpdateSender

func (client PipelineJobsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (PipelineJobsClient) Delete

func (client PipelineJobsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, pipelineJobName string) (result autorest.Response, err error)

Delete deletes a pipeline job with the given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. pipelineJobName - the pipeline job name.

func (PipelineJobsClient) DeletePreparer

func (client PipelineJobsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, pipelineJobName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PipelineJobsClient) DeleteResponder

func (client PipelineJobsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PipelineJobsClient) DeleteSender

func (client PipelineJobsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PipelineJobsClient) Get

func (client PipelineJobsClient) Get(ctx context.Context, resourceGroupName string, accountName string, pipelineJobName string) (result PipelineJob, err error)

Get retrieves a specific pipeline job by name. If a pipeline job with that name has been previously created, the call will return the JSON representation of that instance. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. pipelineJobName - the pipeline job name.

func (PipelineJobsClient) GetPreparer

func (client PipelineJobsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, pipelineJobName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PipelineJobsClient) GetResponder

func (client PipelineJobsClient) GetResponder(resp *http.Response) (result PipelineJob, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PipelineJobsClient) GetSender

func (client PipelineJobsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PipelineJobsClient) List

func (client PipelineJobsClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32) (result PipelineJobCollectionPage, err error)

List retrieves a list of all live pipelines that have been created, along with their JSON representations. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. filter - restricts the set of items returned. top - specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.

func (PipelineJobsClient) ListComplete

func (client PipelineJobsClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32) (result PipelineJobCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (PipelineJobsClient) ListPreparer

func (client PipelineJobsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (PipelineJobsClient) ListResponder

func (client PipelineJobsClient) ListResponder(resp *http.Response) (result PipelineJobCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PipelineJobsClient) ListSender

func (client PipelineJobsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (PipelineJobsClient) Update

func (client PipelineJobsClient) Update(ctx context.Context, resourceGroupName string, accountName string, pipelineJobName string, parameters PipelineJobUpdate) (result PipelineJob, err error)

Update updates an existing pipeline job with the given name. Properties that can be updated include: description. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. pipelineJobName - the pipeline job name. parameters - the request parameters

func (PipelineJobsClient) UpdatePreparer

func (client PipelineJobsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, pipelineJobName string, parameters PipelineJobUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PipelineJobsClient) UpdateResponder

func (client PipelineJobsClient) UpdateResponder(resp *http.Response) (result PipelineJob, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (PipelineJobsClient) UpdateSender

func (client PipelineJobsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type PipelineTopologiesClient

type PipelineTopologiesClient struct {
	BaseClient
}

PipelineTopologiesClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

func NewPipelineTopologiesClient

func NewPipelineTopologiesClient(subscriptionID string) PipelineTopologiesClient

NewPipelineTopologiesClient creates an instance of the PipelineTopologiesClient client.

func NewPipelineTopologiesClientWithBaseURI

func NewPipelineTopologiesClientWithBaseURI(baseURI string, subscriptionID string) PipelineTopologiesClient

NewPipelineTopologiesClientWithBaseURI creates an instance of the PipelineTopologiesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PipelineTopologiesClient) CreateOrUpdate

func (client PipelineTopologiesClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, pipelineTopologyName string, parameters PipelineTopology) (result PipelineTopology, err error)

CreateOrUpdate creates a new pipeline topology or updates an existing one, with the given name. A pipeline topology describes the processing steps to be applied when processing content for a particular outcome. The topology should be defined according to the scenario to be achieved and can be reused across many pipeline instances which share the same processing characteristics. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. pipelineTopologyName - pipeline topology unique identifier. parameters - the request parameters

func (PipelineTopologiesClient) CreateOrUpdatePreparer

func (client PipelineTopologiesClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, pipelineTopologyName string, parameters PipelineTopology) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PipelineTopologiesClient) CreateOrUpdateResponder

func (client PipelineTopologiesClient) CreateOrUpdateResponder(resp *http.Response) (result PipelineTopology, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PipelineTopologiesClient) CreateOrUpdateSender

func (client PipelineTopologiesClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (PipelineTopologiesClient) Delete

func (client PipelineTopologiesClient) Delete(ctx context.Context, resourceGroupName string, accountName string, pipelineTopologyName string) (result autorest.Response, err error)

Delete deletes a pipeline topology with the given name. This method should be called after all instances of the topology have been stopped and deleted. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. pipelineTopologyName - pipeline topology unique identifier.

func (PipelineTopologiesClient) DeletePreparer

func (client PipelineTopologiesClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, pipelineTopologyName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PipelineTopologiesClient) DeleteResponder

func (client PipelineTopologiesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PipelineTopologiesClient) DeleteSender

func (client PipelineTopologiesClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PipelineTopologiesClient) Get

func (client PipelineTopologiesClient) Get(ctx context.Context, resourceGroupName string, accountName string, pipelineTopologyName string) (result PipelineTopology, err error)

Get retrieves a specific pipeline topology by name. If a topology with that name has been previously created, the call will return the JSON representation of that topology. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. pipelineTopologyName - pipeline topology unique identifier.

func (PipelineTopologiesClient) GetPreparer

func (client PipelineTopologiesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, pipelineTopologyName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PipelineTopologiesClient) GetResponder

func (client PipelineTopologiesClient) GetResponder(resp *http.Response) (result PipelineTopology, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PipelineTopologiesClient) GetSender

func (client PipelineTopologiesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PipelineTopologiesClient) List

func (client PipelineTopologiesClient) List(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32) (result PipelineTopologyCollectionPage, err error)

List retrieves a list of pipeline topologies that have been added to the account, if any, along with their JSON representation. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. filter - restricts the set of items returned. top - specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.

func (PipelineTopologiesClient) ListComplete

func (client PipelineTopologiesClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32) (result PipelineTopologyCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (PipelineTopologiesClient) ListPreparer

func (client PipelineTopologiesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (PipelineTopologiesClient) ListResponder

func (client PipelineTopologiesClient) ListResponder(resp *http.Response) (result PipelineTopologyCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PipelineTopologiesClient) ListSender

func (client PipelineTopologiesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (PipelineTopologiesClient) Update

func (client PipelineTopologiesClient) Update(ctx context.Context, resourceGroupName string, accountName string, pipelineTopologyName string, parameters PipelineTopologyUpdate) (result PipelineTopology, err error)

Update updates an existing pipeline topology with the given name. If the associated live pipelines or pipeline jobs are in active or processing state, respectively, then only the description can be updated. Else, the properties that can be updated include: description, parameter declarations, sources, processors, and sinks. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. pipelineTopologyName - pipeline topology unique identifier. parameters - the request parameters

func (PipelineTopologiesClient) UpdatePreparer

func (client PipelineTopologiesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, pipelineTopologyName string, parameters PipelineTopologyUpdate) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (PipelineTopologiesClient) UpdateResponder

func (client PipelineTopologiesClient) UpdateResponder(resp *http.Response) (result PipelineTopology, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (PipelineTopologiesClient) UpdateSender

func (client PipelineTopologiesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type PipelineTopology

type PipelineTopology struct {
	autorest.Response `json:"-"`
	// PipelineTopologyProperties - The resource properties.
	*PipelineTopologyProperties `json:"properties,omitempty"`
	// Kind - Topology kind. Possible values include: 'KindLive', 'KindBatch'
	Kind Kind `json:"kind,omitempty"`
	// Sku - Describes the properties of a SKU.
	Sku *Sku `json:"sku,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

PipelineTopology pipeline topology describes the processing steps to be applied when processing content for a particular outcome. The topology should be defined according to the scenario to be achieved and can be reused across many pipeline instances which share the same processing characteristics. For instance, a pipeline topology which captures content from a RTSP camera and archives the content can be reused across many different cameras, as long as the same processing is to be applied across all the cameras. Individual instance properties can be defined through the use of user-defined parameters, which allow for a topology to be parameterized. This allows individual pipelines refer to different values, such as individual cameras' RTSP endpoints and credentials. Overall a topology is composed of the following:

- Parameters: list of user defined parameters that can be references across the topology nodes. - Sources: list of one or more data sources nodes such as an RTSP source which allows for content to be ingested from cameras. - Processors: list of nodes which perform data analysis or transformations. - Sinks: list of one or more data sinks which allow for data to be stored or exported to other destinations.

func (PipelineTopology) MarshalJSON

func (pt PipelineTopology) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PipelineTopology.

func (*PipelineTopology) UnmarshalJSON

func (pt *PipelineTopology) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PipelineTopology struct.

type PipelineTopologyCollection

type PipelineTopologyCollection struct {
	autorest.Response `json:"-"`
	// Value - A collection of PipelineTopology items.
	Value *[]PipelineTopology `json:"value,omitempty"`
	// NextLink - A link to the next page of the collection (when the collection contains too many results to return in one response).
	NextLink *string `json:"@nextLink,omitempty"`
}

PipelineTopologyCollection a collection of PipelineTopology items.

func (PipelineTopologyCollection) IsEmpty

func (ptc PipelineTopologyCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PipelineTopologyCollectionIterator

type PipelineTopologyCollectionIterator struct {
	// contains filtered or unexported fields
}

PipelineTopologyCollectionIterator provides access to a complete listing of PipelineTopology values.

func NewPipelineTopologyCollectionIterator

func NewPipelineTopologyCollectionIterator(page PipelineTopologyCollectionPage) PipelineTopologyCollectionIterator

Creates a new instance of the PipelineTopologyCollectionIterator type.

func (*PipelineTopologyCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PipelineTopologyCollectionIterator) NextWithContext

func (iter *PipelineTopologyCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (PipelineTopologyCollectionIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (PipelineTopologyCollectionIterator) Response

Response returns the raw server response from the last page request.

func (PipelineTopologyCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type PipelineTopologyCollectionPage

type PipelineTopologyCollectionPage struct {
	// contains filtered or unexported fields
}

PipelineTopologyCollectionPage contains a page of PipelineTopology values.

func NewPipelineTopologyCollectionPage

Creates a new instance of the PipelineTopologyCollectionPage type.

func (*PipelineTopologyCollectionPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*PipelineTopologyCollectionPage) NextWithContext

func (page *PipelineTopologyCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (PipelineTopologyCollectionPage) NotDone

func (page PipelineTopologyCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (PipelineTopologyCollectionPage) Response

Response returns the raw server response from the last page request.

func (PipelineTopologyCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type PipelineTopologyProperties

type PipelineTopologyProperties struct {
	// Description - An optional description of the pipeline topology. It is recommended that the expected use of the topology to be described here.
	Description *string `json:"description,omitempty"`
	// Parameters - List of the topology parameter declarations. Parameters declared here can be referenced throughout the topology nodes through the use of "${PARAMETER_NAME}" string pattern. Parameters can have optional default values and can later be defined in individual instances of the pipeline.
	Parameters *[]ParameterDeclaration `json:"parameters,omitempty"`
	// Sources - List of the topology source nodes. Source nodes enable external data to be ingested by the pipeline.
	Sources *[]BasicSourceNodeBase `json:"sources,omitempty"`
	// Processors - List of the topology processor nodes. Processor nodes enable pipeline data to be analyzed, processed or transformed.
	Processors *[]BasicProcessorNodeBase `json:"processors,omitempty"`
	// Sinks - List of the topology sink nodes. Sink nodes allow pipeline data to be stored or exported.
	Sinks *[]BasicSinkNodeBase `json:"sinks,omitempty"`
}

PipelineTopologyProperties describes the properties of a pipeline topology.

func (*PipelineTopologyProperties) UnmarshalJSON

func (ptp *PipelineTopologyProperties) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PipelineTopologyProperties struct.

type PipelineTopologyPropertiesUpdate

type PipelineTopologyPropertiesUpdate struct {
	// Description - An optional description of the pipeline topology. It is recommended that the expected use of the topology to be described here.
	Description *string `json:"description,omitempty"`
	// Parameters - List of the topology parameter declarations. Parameters declared here can be referenced throughout the topology nodes through the use of "${PARAMETER_NAME}" string pattern. Parameters can have optional default values and can later be defined in individual instances of the pipeline.
	Parameters *[]ParameterDeclaration `json:"parameters,omitempty"`
	// Sources - List of the topology source nodes. Source nodes enable external data to be ingested by the pipeline.
	Sources *[]BasicSourceNodeBase `json:"sources,omitempty"`
	// Processors - List of the topology processor nodes. Processor nodes enable pipeline data to be analyzed, processed or transformed.
	Processors *[]BasicProcessorNodeBase `json:"processors,omitempty"`
	// Sinks - List of the topology sink nodes. Sink nodes allow pipeline data to be stored or exported.
	Sinks *[]BasicSinkNodeBase `json:"sinks,omitempty"`
}

PipelineTopologyPropertiesUpdate describes the properties of a pipeline topology.

func (*PipelineTopologyPropertiesUpdate) UnmarshalJSON

func (ptpu *PipelineTopologyPropertiesUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PipelineTopologyPropertiesUpdate struct.

type PipelineTopologyUpdate

type PipelineTopologyUpdate struct {
	// PipelineTopologyPropertiesUpdate - The resource properties.
	*PipelineTopologyPropertiesUpdate `json:"properties,omitempty"`
	// Kind - Topology kind. Possible values include: 'KindLive', 'KindBatch'
	Kind Kind `json:"kind,omitempty"`
	// Sku - Describes the properties of a SKU.
	Sku *Sku `json:"sku,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

PipelineTopologyUpdate pipeline topology describes the processing steps to be applied when processing content for a particular outcome. The topology should be defined according to the scenario to be achieved and can be reused across many pipeline instances which share the same processing characteristics. For instance, a pipeline topology which captures content from a RTSP camera and archives the content can be reused across many different cameras, as long as the same processing is to be applied across all the cameras. Individual instance properties can be defined through the use of user-defined parameters, which allow for a topology to be parameterized. This allows individual pipelines refer to different values, such as individual cameras' RTSP endpoints and credentials. Overall a topology is composed of the following:

- Parameters: list of user defined parameters that can be references across the topology nodes. - Sources: list of one or more data sources nodes such as an RTSP source which allows for content to be ingested from cameras. - Processors: list of nodes which perform data analysis or transformations. - Sinks: list of one or more data sinks which allow for data to be stored or exported to other destinations.

func (PipelineTopologyUpdate) MarshalJSON

func (ptu PipelineTopologyUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PipelineTopologyUpdate.

func (*PipelineTopologyUpdate) UnmarshalJSON

func (ptu *PipelineTopologyUpdate) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PipelineTopologyUpdate struct.

type PrivateEndpoint

type PrivateEndpoint struct {
	// ID - READ-ONLY; The ARM identifier for Private Endpoint
	ID *string `json:"id,omitempty"`
}

PrivateEndpoint the Private Endpoint resource.

func (PrivateEndpoint) MarshalJSON

func (peVar PrivateEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpoint.

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	autorest.Response `json:"-"`
	// PrivateEndpointConnectionProperties - Resource properties.
	*PrivateEndpointConnectionProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

PrivateEndpointConnection the Private Endpoint Connection resource.

func (PrivateEndpointConnection) MarshalJSON

func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnection.

func (*PrivateEndpointConnection) UnmarshalJSON

func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.

type PrivateEndpointConnectionListResult

type PrivateEndpointConnectionListResult struct {
	autorest.Response `json:"-"`
	// Value - Array of private endpoint connections
	Value *[]PrivateEndpointConnection `json:"value,omitempty"`
}

PrivateEndpointConnectionListResult list of private endpoint connection associated with the specified storage account

type PrivateEndpointConnectionOperationStatus

type PrivateEndpointConnectionOperationStatus struct {
	autorest.Response `json:"-"`
	// Name - Operation identifier.
	Name *string `json:"name,omitempty"`
	// ID - Operation resource ID.
	ID *string `json:"id,omitempty"`
	// StartTime - Operation start time.
	StartTime *string `json:"startTime,omitempty"`
	// EndTime - Operation end time.
	EndTime *string `json:"endTime,omitempty"`
	// Status - Operation status.
	Status *string      `json:"status,omitempty"`
	Error  *ErrorDetail `json:"error,omitempty"`
}

PrivateEndpointConnectionOperationStatus status of private endpoint connection operation.

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	// PrivateEndpoint - The resource of private end point.
	PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"`
	// PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider.
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
	// ProvisioningState - The provisioning state of the private endpoint connection resource. Possible values include: 'PrivateEndpointConnectionProvisioningStateSucceeded', 'PrivateEndpointConnectionProvisioningStateCreating', 'PrivateEndpointConnectionProvisioningStateDeleting', 'PrivateEndpointConnectionProvisioningStateFailed'
	ProvisioningState PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"`
}

PrivateEndpointConnectionProperties properties of the PrivateEndpointConnectProperties.

type PrivateEndpointConnectionProvisioningState

type PrivateEndpointConnectionProvisioningState string

PrivateEndpointConnectionProvisioningState enumerates the values for private endpoint connection provisioning state.

const (
	// PrivateEndpointConnectionProvisioningStateCreating ...
	PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating"
	// PrivateEndpointConnectionProvisioningStateDeleting ...
	PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting"
	// PrivateEndpointConnectionProvisioningStateFailed ...
	PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed"
	// PrivateEndpointConnectionProvisioningStateSucceeded ...
	PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded"
)

func PossiblePrivateEndpointConnectionProvisioningStateValues

func PossiblePrivateEndpointConnectionProvisioningStateValues() []PrivateEndpointConnectionProvisioningState

PossiblePrivateEndpointConnectionProvisioningStateValues returns an array of possible values for the PrivateEndpointConnectionProvisioningState const type.

type PrivateEndpointConnectionsClient

type PrivateEndpointConnectionsClient struct {
	BaseClient
}

PrivateEndpointConnectionsClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

func NewPrivateEndpointConnectionsClient

func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.

func NewPrivateEndpointConnectionsClientWithBaseURI

func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateEndpointConnectionsClient) CreateOrUpdate

func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, name string, parameters PrivateEndpointConnection) (result PrivateEndpointConnection, err error)

CreateOrUpdate update private endpoint connection state under video analyzer account. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Video Analyzer account name. name - private endpoint connection name. parameters - the request parameters

func (PrivateEndpointConnectionsClient) CreateOrUpdatePreparer

func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, name string, parameters PrivateEndpointConnection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PrivateEndpointConnectionsClient) CreateOrUpdateResponder

func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) CreateOrUpdateSender

func (client PrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) Delete

func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, accountName string, name string) (result autorest.Response, err error)

Delete delete private endpoint connection under video analyzer account. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Video Analyzer account name. name - private endpoint connection name.

func (PrivateEndpointConnectionsClient) DeletePreparer

func (client PrivateEndpointConnectionsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, name string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (PrivateEndpointConnectionsClient) DeleteResponder

func (client PrivateEndpointConnectionsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) DeleteSender

func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) Get

func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, accountName string, name string) (result PrivateEndpointConnection, err error)

Get get private endpoint connection under video analyzer account. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Video Analyzer account name. name - private endpoint connection name.

func (PrivateEndpointConnectionsClient) GetPreparer

func (client PrivateEndpointConnectionsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, name string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateEndpointConnectionsClient) GetResponder

func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) GetSender

func (client PrivateEndpointConnectionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PrivateEndpointConnectionsClient) List

func (client PrivateEndpointConnectionsClient) List(ctx context.Context, resourceGroupName string, accountName string) (result PrivateEndpointConnectionListResult, err error)

List get all private endpoint connections under video analyzer account. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Video Analyzer account name.

func (PrivateEndpointConnectionsClient) ListPreparer

func (client PrivateEndpointConnectionsClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PrivateEndpointConnectionsClient) ListResponder

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) ListSender

func (client PrivateEndpointConnectionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PrivateEndpointServiceConnectionStatus

type PrivateEndpointServiceConnectionStatus string

PrivateEndpointServiceConnectionStatus enumerates the values for private endpoint service connection status.

const (
	// PrivateEndpointServiceConnectionStatusApproved ...
	PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved"
	// PrivateEndpointServiceConnectionStatusPending ...
	PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending"
	// PrivateEndpointServiceConnectionStatusRejected ...
	PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected"
)

func PossiblePrivateEndpointServiceConnectionStatusValues

func PossiblePrivateEndpointServiceConnectionStatusValues() []PrivateEndpointServiceConnectionStatus

PossiblePrivateEndpointServiceConnectionStatusValues returns an array of possible values for the PrivateEndpointServiceConnectionStatus const type.

type PrivateLinkResource

type PrivateLinkResource struct {
	autorest.Response `json:"-"`
	// PrivateLinkResourceProperties - Resource properties.
	*PrivateLinkResourceProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

PrivateLinkResource a private link resource

func (PrivateLinkResource) MarshalJSON

func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResource.

func (*PrivateLinkResource) UnmarshalJSON

func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateLinkResource struct.

type PrivateLinkResourceListResult

type PrivateLinkResourceListResult struct {
	autorest.Response `json:"-"`
	// Value - Array of private link resources
	Value *[]PrivateLinkResource `json:"value,omitempty"`
}

PrivateLinkResourceListResult a list of private link resources

type PrivateLinkResourceProperties

type PrivateLinkResourceProperties struct {
	// GroupID - READ-ONLY; The private link resource group id.
	GroupID *string `json:"groupId,omitempty"`
	// RequiredMembers - READ-ONLY; The private link resource required member names.
	RequiredMembers *[]string `json:"requiredMembers,omitempty"`
	// RequiredZoneNames - The private link resource Private link DNS zone name.
	RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"`
}

PrivateLinkResourceProperties properties of a private link resource.

func (PrivateLinkResourceProperties) MarshalJSON

func (plrp PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResourceProperties.

type PrivateLinkResourcesClient

type PrivateLinkResourcesClient struct {
	BaseClient
}

PrivateLinkResourcesClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

func NewPrivateLinkResourcesClient

func NewPrivateLinkResourcesClient(subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClient creates an instance of the PrivateLinkResourcesClient client.

func NewPrivateLinkResourcesClientWithBaseURI

func NewPrivateLinkResourcesClientWithBaseURI(baseURI string, subscriptionID string) PrivateLinkResourcesClient

NewPrivateLinkResourcesClientWithBaseURI creates an instance of the PrivateLinkResourcesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (PrivateLinkResourcesClient) Get

func (client PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, accountName string, name string) (result PrivateLinkResource, err error)

Get get group ID for video analyzer account. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Video Analyzer account name. name - name of the private link resource (Group ID).

func (PrivateLinkResourcesClient) GetPreparer

func (client PrivateLinkResourcesClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, name string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PrivateLinkResourcesClient) GetResponder

func (client PrivateLinkResourcesClient) GetResponder(resp *http.Response) (result PrivateLinkResource, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) GetSender

func (client PrivateLinkResourcesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PrivateLinkResourcesClient) List

func (client PrivateLinkResourcesClient) List(ctx context.Context, resourceGroupName string, accountName string) (result PrivateLinkResourceListResult, err error)

List get list of group IDs for video analyzer account. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Video Analyzer account name.

func (PrivateLinkResourcesClient) ListPreparer

func (client PrivateLinkResourcesClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PrivateLinkResourcesClient) ListResponder

func (client PrivateLinkResourcesClient) ListResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PrivateLinkResourcesClient) ListSender

func (client PrivateLinkResourcesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PrivateLinkServiceConnectionState

type PrivateLinkServiceConnectionState struct {
	// Status - Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Possible values include: 'PrivateEndpointServiceConnectionStatusPending', 'PrivateEndpointServiceConnectionStatusApproved', 'PrivateEndpointServiceConnectionStatusRejected'
	Status PrivateEndpointServiceConnectionStatus `json:"status,omitempty"`
	// Description - The reason for approval/rejection of the connection.
	Description *string `json:"description,omitempty"`
	// ActionsRequired - A message indicating if changes on the service provider require any updates on the consumer.
	ActionsRequired *string `json:"actionsRequired,omitempty"`
}

PrivateLinkServiceConnectionState a collection of information about the state of the connection between service consumer and provider.

type ProcessorNodeBase

type ProcessorNodeBase struct {
	// Inputs - An array of upstream node references within the topology to be used as inputs for this node.
	Inputs *[]NodeInput `json:"inputs,omitempty"`
	// Name - Node name. Must be unique within the topology.
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeNodeBase', 'TypeMicrosoftVideoAnalyzerSourceNodeBase', 'TypeMicrosoftVideoAnalyzerProcessorNodeBase', 'TypeMicrosoftVideoAnalyzerSinkNodeBase', 'TypeMicrosoftVideoAnalyzerRtspSource', 'TypeMicrosoftVideoAnalyzerVideoSource', 'TypeMicrosoftVideoAnalyzerEncoderProcessor', 'TypeMicrosoftVideoAnalyzerVideoSink'
	Type Type `json:"@type,omitempty"`
}

ProcessorNodeBase base class for topology processor nodes.

func (ProcessorNodeBase) AsBasicNodeBase

func (pnb ProcessorNodeBase) AsBasicNodeBase() (BasicNodeBase, bool)

AsBasicNodeBase is the BasicNodeBase implementation for ProcessorNodeBase.

func (ProcessorNodeBase) AsBasicProcessorNodeBase

func (pnb ProcessorNodeBase) AsBasicProcessorNodeBase() (BasicProcessorNodeBase, bool)

AsBasicProcessorNodeBase is the BasicNodeBase implementation for ProcessorNodeBase.

func (ProcessorNodeBase) AsBasicSinkNodeBase

func (pnb ProcessorNodeBase) AsBasicSinkNodeBase() (BasicSinkNodeBase, bool)

AsBasicSinkNodeBase is the BasicNodeBase implementation for ProcessorNodeBase.

func (ProcessorNodeBase) AsBasicSourceNodeBase

func (pnb ProcessorNodeBase) AsBasicSourceNodeBase() (BasicSourceNodeBase, bool)

AsBasicSourceNodeBase is the BasicNodeBase implementation for ProcessorNodeBase.

func (ProcessorNodeBase) AsEncoderProcessor

func (pnb ProcessorNodeBase) AsEncoderProcessor() (*EncoderProcessor, bool)

AsEncoderProcessor is the BasicNodeBase implementation for ProcessorNodeBase.

func (ProcessorNodeBase) AsNodeBase

func (pnb ProcessorNodeBase) AsNodeBase() (*NodeBase, bool)

AsNodeBase is the BasicNodeBase implementation for ProcessorNodeBase.

func (ProcessorNodeBase) AsProcessorNodeBase

func (pnb ProcessorNodeBase) AsProcessorNodeBase() (*ProcessorNodeBase, bool)

AsProcessorNodeBase is the BasicNodeBase implementation for ProcessorNodeBase.

func (ProcessorNodeBase) AsRtspSource

func (pnb ProcessorNodeBase) AsRtspSource() (*RtspSource, bool)

AsRtspSource is the BasicNodeBase implementation for ProcessorNodeBase.

func (ProcessorNodeBase) AsSinkNodeBase

func (pnb ProcessorNodeBase) AsSinkNodeBase() (*SinkNodeBase, bool)

AsSinkNodeBase is the BasicNodeBase implementation for ProcessorNodeBase.

func (ProcessorNodeBase) AsSourceNodeBase

func (pnb ProcessorNodeBase) AsSourceNodeBase() (*SourceNodeBase, bool)

AsSourceNodeBase is the BasicNodeBase implementation for ProcessorNodeBase.

func (ProcessorNodeBase) AsVideoSink

func (pnb ProcessorNodeBase) AsVideoSink() (*VideoSink, bool)

AsVideoSink is the BasicNodeBase implementation for ProcessorNodeBase.

func (ProcessorNodeBase) AsVideoSource

func (pnb ProcessorNodeBase) AsVideoSource() (*VideoSource, bool)

AsVideoSource is the BasicNodeBase implementation for ProcessorNodeBase.

func (ProcessorNodeBase) MarshalJSON

func (pnb ProcessorNodeBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProcessorNodeBase.

type Properties

type Properties struct {
	// ServiceSpecification - READ-ONLY; The service specifications.
	ServiceSpecification *ServiceSpecification `json:"serviceSpecification,omitempty"`
}

Properties metric properties.

func (Properties) MarshalJSON

func (p Properties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Properties.

type PropertiesType

type PropertiesType struct {
	// StorageAccounts - The storage accounts for this resource.
	StorageAccounts *[]StorageAccount `json:"storageAccounts,omitempty"`
	// Endpoints - READ-ONLY; The endpoints associated with this resource.
	Endpoints *[]Endpoint `json:"endpoints,omitempty"`
	// Encryption - The account encryption properties.
	Encryption *AccountEncryption `json:"encryption,omitempty"`
	// IotHubs - The IoT Hubs for this resource.
	IotHubs *[]IotHub `json:"iotHubs,omitempty"`
	// PublicNetworkAccess - Whether or not public network access is allowed for resources under the Video Analyzer account. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
	PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
	// NetworkAccessControl - Network access control for Video Analyzer.
	NetworkAccessControl *NetworkAccessControl `json:"networkAccessControl,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the Video Analyzer account. Possible values include: 'ProvisioningStateFailed', 'ProvisioningStateInProgress', 'ProvisioningStateSucceeded'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// PrivateEndpointConnections - READ-ONLY; Private Endpoint Connections created under Video Analyzer account.
	PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
}

PropertiesType the properties of the Video Analyzer account.

func (PropertiesType) MarshalJSON

func (pt PropertiesType) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PropertiesType.

type PropertiesUpdate

type PropertiesUpdate struct {
	// StorageAccounts - The storage accounts for this resource.
	StorageAccounts *[]StorageAccount `json:"storageAccounts,omitempty"`
	// Endpoints - READ-ONLY; The endpoints associated with this resource.
	Endpoints *[]Endpoint `json:"endpoints,omitempty"`
	// Encryption - The account encryption properties.
	Encryption *AccountEncryption `json:"encryption,omitempty"`
	// IotHubs - The IoT Hubs for this resource.
	IotHubs *[]IotHub `json:"iotHubs,omitempty"`
	// PublicNetworkAccess - Whether or not public network access is allowed for resources under the Video Analyzer account. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
	PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
	// NetworkAccessControl - Network access control for Video Analyzer.
	NetworkAccessControl *NetworkAccessControl `json:"networkAccessControl,omitempty"`
	// ProvisioningState - READ-ONLY; Provisioning state of the Video Analyzer account. Possible values include: 'ProvisioningStateFailed', 'ProvisioningStateInProgress', 'ProvisioningStateSucceeded'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
	// PrivateEndpointConnections - READ-ONLY; Private Endpoint Connections created under Video Analyzer account.
	PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
}

PropertiesUpdate the properties of the Video Analyzer account.

func (PropertiesUpdate) MarshalJSON

func (pu PropertiesUpdate) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PropertiesUpdate.

type ProvisioningState

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
	// ProvisioningStateFailed Provisioning state failed.
	ProvisioningStateFailed ProvisioningState = "Failed"
	// ProvisioningStateInProgress Provisioning state in progress.
	ProvisioningStateInProgress ProvisioningState = "InProgress"
	// ProvisioningStateSucceeded Provisioning state succeeded.
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
)

func PossibleProvisioningStateValues

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ProxyResource

type ProxyResource struct {
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

ProxyResource the resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location

func (ProxyResource) MarshalJSON

func (pr ProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ProxyResource.

type PublicNetworkAccess

type PublicNetworkAccess string

PublicNetworkAccess enumerates the values for public network access.

const (
	// PublicNetworkAccessDisabled Public network access is disabled.
	PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
	// PublicNetworkAccessEnabled Public network access is enabled.
	PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled"
)

func PossiblePublicNetworkAccessValues

func PossiblePublicNetworkAccessValues() []PublicNetworkAccess

PossiblePublicNetworkAccessValues returns an array of possible values for the PublicNetworkAccess const type.

type Resource

type Resource struct {
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

Resource common fields that are returned in the response for all Azure Resource Manager resources

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ResourceIdentity

type ResourceIdentity struct {
	// UserAssignedIdentity - The user assigned managed identity's resource identifier to use when accessing a resource.
	UserAssignedIdentity *string `json:"userAssignedIdentity,omitempty"`
}

ResourceIdentity the user assigned managed identity to use when accessing a resource.

type RsaTokenKey

type RsaTokenKey struct {
	// Alg - RSA algorithm to be used: RS256, RS384 or RS512. Possible values include: 'AccessPolicyRsaAlgoRS256', 'AccessPolicyRsaAlgoRS384', 'AccessPolicyRsaAlgoRS512'
	Alg AccessPolicyRsaAlgo `json:"alg,omitempty"`
	// N - RSA public key modulus.
	N *string `json:"n,omitempty"`
	// E - RSA public key exponent.
	E *string `json:"e,omitempty"`
	// Kid - JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
	Kid *string `json:"kid,omitempty"`
	// Type - Possible values include: 'TypeBasicTokenKeyTypeTokenKey', 'TypeBasicTokenKeyTypeMicrosoftVideoAnalyzerRsaTokenKey', 'TypeBasicTokenKeyTypeMicrosoftVideoAnalyzerEccTokenKey'
	Type TypeBasicTokenKey `json:"@type,omitempty"`
}

RsaTokenKey required validation properties for tokens generated with RSA algorithm.

func (RsaTokenKey) AsBasicTokenKey

func (rtk RsaTokenKey) AsBasicTokenKey() (BasicTokenKey, bool)

AsBasicTokenKey is the BasicTokenKey implementation for RsaTokenKey.

func (RsaTokenKey) AsEccTokenKey

func (rtk RsaTokenKey) AsEccTokenKey() (*EccTokenKey, bool)

AsEccTokenKey is the BasicTokenKey implementation for RsaTokenKey.

func (RsaTokenKey) AsRsaTokenKey

func (rtk RsaTokenKey) AsRsaTokenKey() (*RsaTokenKey, bool)

AsRsaTokenKey is the BasicTokenKey implementation for RsaTokenKey.

func (RsaTokenKey) AsTokenKey

func (rtk RsaTokenKey) AsTokenKey() (*TokenKey, bool)

AsTokenKey is the BasicTokenKey implementation for RsaTokenKey.

func (RsaTokenKey) MarshalJSON

func (rtk RsaTokenKey) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RsaTokenKey.

type RtspSource

type RtspSource struct {
	// Transport - Network transport utilized by the RTSP and RTP exchange: TCP or HTTP. When using TCP, the RTP packets are interleaved on the TCP RTSP connection. When using HTTP, the RTSP messages are exchanged through long lived HTTP connections, and the RTP packages are interleaved in the HTTP connections alongside the RTSP messages. Possible values include: 'RtspTransportHTTP', 'RtspTransportTCP'
	Transport RtspTransport `json:"transport,omitempty"`
	// Endpoint - RTSP endpoint information for Video Analyzer to connect to. This contains the required information for Video Analyzer to connect to RTSP cameras and/or generic RTSP servers.
	Endpoint BasicEndpointBase `json:"endpoint,omitempty"`
	// Name - Node name. Must be unique within the topology.
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeNodeBase', 'TypeMicrosoftVideoAnalyzerSourceNodeBase', 'TypeMicrosoftVideoAnalyzerProcessorNodeBase', 'TypeMicrosoftVideoAnalyzerSinkNodeBase', 'TypeMicrosoftVideoAnalyzerRtspSource', 'TypeMicrosoftVideoAnalyzerVideoSource', 'TypeMicrosoftVideoAnalyzerEncoderProcessor', 'TypeMicrosoftVideoAnalyzerVideoSink'
	Type Type `json:"@type,omitempty"`
}

RtspSource RTSP source allows for media from an RTSP camera or generic RTSP server to be ingested into a pipeline.

func (RtspSource) AsBasicNodeBase

func (rs RtspSource) AsBasicNodeBase() (BasicNodeBase, bool)

AsBasicNodeBase is the BasicNodeBase implementation for RtspSource.

func (RtspSource) AsBasicProcessorNodeBase

func (rs RtspSource) AsBasicProcessorNodeBase() (BasicProcessorNodeBase, bool)

AsBasicProcessorNodeBase is the BasicNodeBase implementation for RtspSource.

func (RtspSource) AsBasicSinkNodeBase

func (rs RtspSource) AsBasicSinkNodeBase() (BasicSinkNodeBase, bool)

AsBasicSinkNodeBase is the BasicNodeBase implementation for RtspSource.

func (RtspSource) AsBasicSourceNodeBase

func (rs RtspSource) AsBasicSourceNodeBase() (BasicSourceNodeBase, bool)

AsBasicSourceNodeBase is the BasicNodeBase implementation for RtspSource.

func (RtspSource) AsEncoderProcessor

func (rs RtspSource) AsEncoderProcessor() (*EncoderProcessor, bool)

AsEncoderProcessor is the BasicNodeBase implementation for RtspSource.

func (RtspSource) AsNodeBase

func (rs RtspSource) AsNodeBase() (*NodeBase, bool)

AsNodeBase is the BasicNodeBase implementation for RtspSource.

func (RtspSource) AsProcessorNodeBase

func (rs RtspSource) AsProcessorNodeBase() (*ProcessorNodeBase, bool)

AsProcessorNodeBase is the BasicNodeBase implementation for RtspSource.

func (RtspSource) AsRtspSource

func (rs RtspSource) AsRtspSource() (*RtspSource, bool)

AsRtspSource is the BasicNodeBase implementation for RtspSource.

func (RtspSource) AsSinkNodeBase

func (rs RtspSource) AsSinkNodeBase() (*SinkNodeBase, bool)

AsSinkNodeBase is the BasicNodeBase implementation for RtspSource.

func (RtspSource) AsSourceNodeBase

func (rs RtspSource) AsSourceNodeBase() (*SourceNodeBase, bool)

AsSourceNodeBase is the BasicNodeBase implementation for RtspSource.

func (RtspSource) AsVideoSink

func (rs RtspSource) AsVideoSink() (*VideoSink, bool)

AsVideoSink is the BasicNodeBase implementation for RtspSource.

func (RtspSource) AsVideoSource

func (rs RtspSource) AsVideoSource() (*VideoSource, bool)

AsVideoSource is the BasicNodeBase implementation for RtspSource.

func (RtspSource) MarshalJSON

func (rs RtspSource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RtspSource.

func (*RtspSource) UnmarshalJSON

func (rs *RtspSource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RtspSource struct.

type RtspTransport

type RtspTransport string

RtspTransport enumerates the values for rtsp transport.

const (
	// RtspTransportHTTP HTTP transport. RTSP messages are exchanged over long running HTTP requests and RTP
	// packets are interleaved within the HTTP channel.
	RtspTransportHTTP RtspTransport = "Http"
	// RtspTransportTCP TCP transport. RTSP is used directly over TCP and RTP packets are interleaved within
	// the TCP channel.
	RtspTransportTCP RtspTransport = "Tcp"
)

func PossibleRtspTransportValues

func PossibleRtspTransportValues() []RtspTransport

PossibleRtspTransportValues returns an array of possible values for the RtspTransport const type.

type SecureIotDeviceRemoteTunnel

type SecureIotDeviceRemoteTunnel struct {
	// IotHubName - Name of the IoT Hub.
	IotHubName *string `json:"iotHubName,omitempty"`
	// DeviceID - The IoT device id to use when establishing the remote tunnel. This string is case-sensitive.
	DeviceID *string `json:"deviceId,omitempty"`
	// Type - Possible values include: 'TypeBasicTunnelBaseTypeTunnelBase', 'TypeBasicTunnelBaseTypeMicrosoftVideoAnalyzerSecureIotDeviceRemoteTunnel'
	Type TypeBasicTunnelBase `json:"@type,omitempty"`
}

SecureIotDeviceRemoteTunnel a remote tunnel securely established using IoT Hub device information.

func (SecureIotDeviceRemoteTunnel) AsBasicTunnelBase

func (sidrt SecureIotDeviceRemoteTunnel) AsBasicTunnelBase() (BasicTunnelBase, bool)

AsBasicTunnelBase is the BasicTunnelBase implementation for SecureIotDeviceRemoteTunnel.

func (SecureIotDeviceRemoteTunnel) AsSecureIotDeviceRemoteTunnel

func (sidrt SecureIotDeviceRemoteTunnel) AsSecureIotDeviceRemoteTunnel() (*SecureIotDeviceRemoteTunnel, bool)

AsSecureIotDeviceRemoteTunnel is the BasicTunnelBase implementation for SecureIotDeviceRemoteTunnel.

func (SecureIotDeviceRemoteTunnel) AsTunnelBase

func (sidrt SecureIotDeviceRemoteTunnel) AsTunnelBase() (*TunnelBase, bool)

AsTunnelBase is the BasicTunnelBase implementation for SecureIotDeviceRemoteTunnel.

func (SecureIotDeviceRemoteTunnel) MarshalJSON

func (sidrt SecureIotDeviceRemoteTunnel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SecureIotDeviceRemoteTunnel.

type ServiceSpecification

type ServiceSpecification struct {
	// LogSpecifications - READ-ONLY; List of log specifications.
	LogSpecifications *[]LogSpecification `json:"logSpecifications,omitempty"`
	// MetricSpecifications - READ-ONLY; List of metric specifications.
	MetricSpecifications *[]MetricSpecification `json:"metricSpecifications,omitempty"`
}

ServiceSpecification the service metric specifications.

func (ServiceSpecification) MarshalJSON

func (ss ServiceSpecification) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceSpecification.

type SinkNodeBase

type SinkNodeBase struct {
	// Inputs - An array of upstream node references within the topology to be used as inputs for this node.
	Inputs *[]NodeInput `json:"inputs,omitempty"`
	// Name - Node name. Must be unique within the topology.
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeNodeBase', 'TypeMicrosoftVideoAnalyzerSourceNodeBase', 'TypeMicrosoftVideoAnalyzerProcessorNodeBase', 'TypeMicrosoftVideoAnalyzerSinkNodeBase', 'TypeMicrosoftVideoAnalyzerRtspSource', 'TypeMicrosoftVideoAnalyzerVideoSource', 'TypeMicrosoftVideoAnalyzerEncoderProcessor', 'TypeMicrosoftVideoAnalyzerVideoSink'
	Type Type `json:"@type,omitempty"`
}

SinkNodeBase base class for topology sink nodes.

func (SinkNodeBase) AsBasicNodeBase

func (snb SinkNodeBase) AsBasicNodeBase() (BasicNodeBase, bool)

AsBasicNodeBase is the BasicNodeBase implementation for SinkNodeBase.

func (SinkNodeBase) AsBasicProcessorNodeBase

func (snb SinkNodeBase) AsBasicProcessorNodeBase() (BasicProcessorNodeBase, bool)

AsBasicProcessorNodeBase is the BasicNodeBase implementation for SinkNodeBase.

func (SinkNodeBase) AsBasicSinkNodeBase

func (snb SinkNodeBase) AsBasicSinkNodeBase() (BasicSinkNodeBase, bool)

AsBasicSinkNodeBase is the BasicNodeBase implementation for SinkNodeBase.

func (SinkNodeBase) AsBasicSourceNodeBase

func (snb SinkNodeBase) AsBasicSourceNodeBase() (BasicSourceNodeBase, bool)

AsBasicSourceNodeBase is the BasicNodeBase implementation for SinkNodeBase.

func (SinkNodeBase) AsEncoderProcessor

func (snb SinkNodeBase) AsEncoderProcessor() (*EncoderProcessor, bool)

AsEncoderProcessor is the BasicNodeBase implementation for SinkNodeBase.

func (SinkNodeBase) AsNodeBase

func (snb SinkNodeBase) AsNodeBase() (*NodeBase, bool)

AsNodeBase is the BasicNodeBase implementation for SinkNodeBase.

func (SinkNodeBase) AsProcessorNodeBase

func (snb SinkNodeBase) AsProcessorNodeBase() (*ProcessorNodeBase, bool)

AsProcessorNodeBase is the BasicNodeBase implementation for SinkNodeBase.

func (SinkNodeBase) AsRtspSource

func (snb SinkNodeBase) AsRtspSource() (*RtspSource, bool)

AsRtspSource is the BasicNodeBase implementation for SinkNodeBase.

func (SinkNodeBase) AsSinkNodeBase

func (snb SinkNodeBase) AsSinkNodeBase() (*SinkNodeBase, bool)

AsSinkNodeBase is the BasicNodeBase implementation for SinkNodeBase.

func (SinkNodeBase) AsSourceNodeBase

func (snb SinkNodeBase) AsSourceNodeBase() (*SourceNodeBase, bool)

AsSourceNodeBase is the BasicNodeBase implementation for SinkNodeBase.

func (SinkNodeBase) AsVideoSink

func (snb SinkNodeBase) AsVideoSink() (*VideoSink, bool)

AsVideoSink is the BasicNodeBase implementation for SinkNodeBase.

func (SinkNodeBase) AsVideoSource

func (snb SinkNodeBase) AsVideoSource() (*VideoSource, bool)

AsVideoSource is the BasicNodeBase implementation for SinkNodeBase.

func (SinkNodeBase) MarshalJSON

func (snb SinkNodeBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SinkNodeBase.

type Sku

type Sku struct {
	// Name - The SKU name. Possible values include: 'SkuNameLiveS1', 'SkuNameBatchS1'
	Name SkuName `json:"name,omitempty"`
	// Tier - READ-ONLY; The SKU tier. Possible values include: 'SkuTierStandard'
	Tier SkuTier `json:"tier,omitempty"`
}

Sku the SKU details.

func (Sku) MarshalJSON

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

MarshalJSON is the custom marshaler for Sku.

type SkuName

type SkuName string

SkuName enumerates the values for sku name.

const (
	// SkuNameBatchS1 Represents the Batch S1 SKU name. Using this SKU you can create pipeline jobs to process
	// recorded content.
	SkuNameBatchS1 SkuName = "Batch_S1"
	// SkuNameLiveS1 Represents the Live S1 SKU name. Using this SKU you can create live pipelines to capture,
	// record, and stream live video from RTSP-capable cameras at bitrate settings from 0.5 Kbps to 3000 Kbps.
	SkuNameLiveS1 SkuName = "Live_S1"
)

func PossibleSkuNameValues

func PossibleSkuNameValues() []SkuName

PossibleSkuNameValues returns an array of possible values for the SkuName const type.

type SkuTier

type SkuTier string

SkuTier enumerates the values for sku tier.

const (
	// SkuTierStandard Standard tier.
	SkuTierStandard SkuTier = "Standard"
)

func PossibleSkuTierValues

func PossibleSkuTierValues() []SkuTier

PossibleSkuTierValues returns an array of possible values for the SkuTier const type.

type SourceNodeBase

type SourceNodeBase struct {
	// Name - Node name. Must be unique within the topology.
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeNodeBase', 'TypeMicrosoftVideoAnalyzerSourceNodeBase', 'TypeMicrosoftVideoAnalyzerProcessorNodeBase', 'TypeMicrosoftVideoAnalyzerSinkNodeBase', 'TypeMicrosoftVideoAnalyzerRtspSource', 'TypeMicrosoftVideoAnalyzerVideoSource', 'TypeMicrosoftVideoAnalyzerEncoderProcessor', 'TypeMicrosoftVideoAnalyzerVideoSink'
	Type Type `json:"@type,omitempty"`
}

SourceNodeBase base class for topology source nodes.

func (SourceNodeBase) AsBasicNodeBase

func (snb SourceNodeBase) AsBasicNodeBase() (BasicNodeBase, bool)

AsBasicNodeBase is the BasicNodeBase implementation for SourceNodeBase.

func (SourceNodeBase) AsBasicProcessorNodeBase

func (snb SourceNodeBase) AsBasicProcessorNodeBase() (BasicProcessorNodeBase, bool)

AsBasicProcessorNodeBase is the BasicNodeBase implementation for SourceNodeBase.

func (SourceNodeBase) AsBasicSinkNodeBase

func (snb SourceNodeBase) AsBasicSinkNodeBase() (BasicSinkNodeBase, bool)

AsBasicSinkNodeBase is the BasicNodeBase implementation for SourceNodeBase.

func (SourceNodeBase) AsBasicSourceNodeBase

func (snb SourceNodeBase) AsBasicSourceNodeBase() (BasicSourceNodeBase, bool)

AsBasicSourceNodeBase is the BasicNodeBase implementation for SourceNodeBase.

func (SourceNodeBase) AsEncoderProcessor

func (snb SourceNodeBase) AsEncoderProcessor() (*EncoderProcessor, bool)

AsEncoderProcessor is the BasicNodeBase implementation for SourceNodeBase.

func (SourceNodeBase) AsNodeBase

func (snb SourceNodeBase) AsNodeBase() (*NodeBase, bool)

AsNodeBase is the BasicNodeBase implementation for SourceNodeBase.

func (SourceNodeBase) AsProcessorNodeBase

func (snb SourceNodeBase) AsProcessorNodeBase() (*ProcessorNodeBase, bool)

AsProcessorNodeBase is the BasicNodeBase implementation for SourceNodeBase.

func (SourceNodeBase) AsRtspSource

func (snb SourceNodeBase) AsRtspSource() (*RtspSource, bool)

AsRtspSource is the BasicNodeBase implementation for SourceNodeBase.

func (SourceNodeBase) AsSinkNodeBase

func (snb SourceNodeBase) AsSinkNodeBase() (*SinkNodeBase, bool)

AsSinkNodeBase is the BasicNodeBase implementation for SourceNodeBase.

func (SourceNodeBase) AsSourceNodeBase

func (snb SourceNodeBase) AsSourceNodeBase() (*SourceNodeBase, bool)

AsSourceNodeBase is the BasicNodeBase implementation for SourceNodeBase.

func (SourceNodeBase) AsVideoSink

func (snb SourceNodeBase) AsVideoSink() (*VideoSink, bool)

AsVideoSink is the BasicNodeBase implementation for SourceNodeBase.

func (SourceNodeBase) AsVideoSource

func (snb SourceNodeBase) AsVideoSource() (*VideoSource, bool)

AsVideoSource is the BasicNodeBase implementation for SourceNodeBase.

func (SourceNodeBase) MarshalJSON

func (snb SourceNodeBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SourceNodeBase.

type StorageAccount

type StorageAccount struct {
	// ID - The ID of the storage account resource. Video Analyzer relies on tables, queues, and blobs. The primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage).
	ID *string `json:"id,omitempty"`
	// Identity - A managed identity that Video Analyzer will use to access the storage account.
	Identity *ResourceIdentity `json:"identity,omitempty"`
	// Status - READ-ONLY; The current status of the storage account mapping.
	Status *string `json:"status,omitempty"`
}

StorageAccount the details about the associated storage account.

func (StorageAccount) MarshalJSON

func (sa StorageAccount) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StorageAccount.

type SystemData

type SystemData struct {
	// CreatedBy - The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`
	// CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
	CreatedByType CreatedByType `json:"createdByType,omitempty"`
	// CreatedAt - The timestamp of resource creation (UTC).
	CreatedAt *date.Time `json:"createdAt,omitempty"`
	// LastModifiedBy - The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`
	// LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey'
	LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"`
	// LastModifiedAt - The timestamp of resource last modification (UTC)
	LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"`
}

SystemData metadata pertaining to creation and last modification of the resource.

type TLSEndpoint

type TLSEndpoint struct {
	// TrustedCertificates - List of trusted certificate authorities when authenticating a TLS connection. A null list designates that Azure Video Analyzer's list of trusted authorities should be used.
	TrustedCertificates BasicCertificateSource `json:"trustedCertificates,omitempty"`
	// ValidationOptions - Validation options to use when authenticating a TLS connection. By default, strict validation is used.
	ValidationOptions *TLSValidationOptions `json:"validationOptions,omitempty"`
	// Credentials - Credentials to be presented to the endpoint.
	Credentials BasicCredentialsBase `json:"credentials,omitempty"`
	// URL - The endpoint URL for Video Analyzer to connect to.
	URL *string `json:"url,omitempty"`
	// Tunnel - Describes the tunnel through which Video Analyzer can connect to the endpoint URL. This is an optional property, typically used when the endpoint is behind a firewall.
	Tunnel BasicTunnelBase `json:"tunnel,omitempty"`
	// Type - Possible values include: 'TypeBasicEndpointBaseTypeEndpointBase', 'TypeBasicEndpointBaseTypeMicrosoftVideoAnalyzerUnsecuredEndpoint', 'TypeBasicEndpointBaseTypeMicrosoftVideoAnalyzerTLSEndpoint'
	Type TypeBasicEndpointBase `json:"@type,omitempty"`
}

TLSEndpoint TLS endpoint describes an endpoint that the pipeline can connect to over TLS transport (data is encrypted in transit).

func (TLSEndpoint) AsBasicEndpointBase

func (te TLSEndpoint) AsBasicEndpointBase() (BasicEndpointBase, bool)

AsBasicEndpointBase is the BasicEndpointBase implementation for TLSEndpoint.

func (TLSEndpoint) AsEndpointBase

func (te TLSEndpoint) AsEndpointBase() (*EndpointBase, bool)

AsEndpointBase is the BasicEndpointBase implementation for TLSEndpoint.

func (TLSEndpoint) AsTLSEndpoint

func (te TLSEndpoint) AsTLSEndpoint() (*TLSEndpoint, bool)

AsTLSEndpoint is the BasicEndpointBase implementation for TLSEndpoint.

func (TLSEndpoint) AsUnsecuredEndpoint

func (te TLSEndpoint) AsUnsecuredEndpoint() (*UnsecuredEndpoint, bool)

AsUnsecuredEndpoint is the BasicEndpointBase implementation for TLSEndpoint.

func (TLSEndpoint) MarshalJSON

func (te TLSEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TLSEndpoint.

func (*TLSEndpoint) UnmarshalJSON

func (te *TLSEndpoint) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for TLSEndpoint struct.

type TLSValidationOptions

type TLSValidationOptions struct {
	// IgnoreHostname - When set to 'true' causes the certificate subject name validation to be skipped. Default is 'false'.
	IgnoreHostname *string `json:"ignoreHostname,omitempty"`
	// IgnoreSignature - When set to 'true' causes the certificate chain trust validation to be skipped. Default is 'false'.
	IgnoreSignature *string `json:"ignoreSignature,omitempty"`
}

TLSValidationOptions options for controlling the validation of TLS endpoints.

type TimeSequenceBase

type TimeSequenceBase struct {
	// Type - Possible values include: 'TypeBasicTimeSequenceBaseTypeTimeSequenceBase', 'TypeBasicTimeSequenceBaseTypeMicrosoftVideoAnalyzerVideoSequenceAbsoluteTimeMarkers'
	Type TypeBasicTimeSequenceBase `json:"@type,omitempty"`
}

TimeSequenceBase a sequence of datetime ranges as a string.

func (TimeSequenceBase) AsBasicTimeSequenceBase

func (tsb TimeSequenceBase) AsBasicTimeSequenceBase() (BasicTimeSequenceBase, bool)

AsBasicTimeSequenceBase is the BasicTimeSequenceBase implementation for TimeSequenceBase.

func (TimeSequenceBase) AsTimeSequenceBase

func (tsb TimeSequenceBase) AsTimeSequenceBase() (*TimeSequenceBase, bool)

AsTimeSequenceBase is the BasicTimeSequenceBase implementation for TimeSequenceBase.

func (TimeSequenceBase) AsVideoSequenceAbsoluteTimeMarkers

func (tsb TimeSequenceBase) AsVideoSequenceAbsoluteTimeMarkers() (*VideoSequenceAbsoluteTimeMarkers, bool)

AsVideoSequenceAbsoluteTimeMarkers is the BasicTimeSequenceBase implementation for TimeSequenceBase.

func (TimeSequenceBase) MarshalJSON

func (tsb TimeSequenceBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TimeSequenceBase.

type TokenClaim

type TokenClaim struct {
	// Name - Name of the claim which must be present on the token.
	Name *string `json:"name,omitempty"`
	// Value - Expected value of the claim to be present on the token.
	Value *string `json:"value,omitempty"`
}

TokenClaim properties for expected token claims.

type TokenKey

type TokenKey struct {
	// Kid - JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
	Kid *string `json:"kid,omitempty"`
	// Type - Possible values include: 'TypeBasicTokenKeyTypeTokenKey', 'TypeBasicTokenKeyTypeMicrosoftVideoAnalyzerRsaTokenKey', 'TypeBasicTokenKeyTypeMicrosoftVideoAnalyzerEccTokenKey'
	Type TypeBasicTokenKey `json:"@type,omitempty"`
}

TokenKey key properties for JWT token validation.

func (TokenKey) AsBasicTokenKey

func (tk TokenKey) AsBasicTokenKey() (BasicTokenKey, bool)

AsBasicTokenKey is the BasicTokenKey implementation for TokenKey.

func (TokenKey) AsEccTokenKey

func (tk TokenKey) AsEccTokenKey() (*EccTokenKey, bool)

AsEccTokenKey is the BasicTokenKey implementation for TokenKey.

func (TokenKey) AsRsaTokenKey

func (tk TokenKey) AsRsaTokenKey() (*RsaTokenKey, bool)

AsRsaTokenKey is the BasicTokenKey implementation for TokenKey.

func (TokenKey) AsTokenKey

func (tk TokenKey) AsTokenKey() (*TokenKey, bool)

AsTokenKey is the BasicTokenKey implementation for TokenKey.

func (TokenKey) MarshalJSON

func (tk TokenKey) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TokenKey.

type TrackedResource

type TrackedResource struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// Location - The geo-location where the resource lives
	Location *string `json:"location,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

TrackedResource the resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'

func (TrackedResource) MarshalJSON

func (tr TrackedResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TrackedResource.

type TunnelBase

type TunnelBase struct {
	// Type - Possible values include: 'TypeBasicTunnelBaseTypeTunnelBase', 'TypeBasicTunnelBaseTypeMicrosoftVideoAnalyzerSecureIotDeviceRemoteTunnel'
	Type TypeBasicTunnelBase `json:"@type,omitempty"`
}

TunnelBase base class for tunnel objects.

func (TunnelBase) AsBasicTunnelBase

func (tb TunnelBase) AsBasicTunnelBase() (BasicTunnelBase, bool)

AsBasicTunnelBase is the BasicTunnelBase implementation for TunnelBase.

func (TunnelBase) AsSecureIotDeviceRemoteTunnel

func (tb TunnelBase) AsSecureIotDeviceRemoteTunnel() (*SecureIotDeviceRemoteTunnel, bool)

AsSecureIotDeviceRemoteTunnel is the BasicTunnelBase implementation for TunnelBase.

func (TunnelBase) AsTunnelBase

func (tb TunnelBase) AsTunnelBase() (*TunnelBase, bool)

AsTunnelBase is the BasicTunnelBase implementation for TunnelBase.

func (TunnelBase) MarshalJSON

func (tb TunnelBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TunnelBase.

type Type

type Type string

Type enumerates the values for type.

const (
	// TypeMicrosoftVideoAnalyzerEncoderProcessor ...
	TypeMicrosoftVideoAnalyzerEncoderProcessor Type = "#Microsoft.VideoAnalyzer.EncoderProcessor"
	// TypeMicrosoftVideoAnalyzerProcessorNodeBase ...
	TypeMicrosoftVideoAnalyzerProcessorNodeBase Type = "#Microsoft.VideoAnalyzer.ProcessorNodeBase"
	// TypeMicrosoftVideoAnalyzerRtspSource ...
	TypeMicrosoftVideoAnalyzerRtspSource Type = "#Microsoft.VideoAnalyzer.RtspSource"
	// TypeMicrosoftVideoAnalyzerSinkNodeBase ...
	TypeMicrosoftVideoAnalyzerSinkNodeBase Type = "#Microsoft.VideoAnalyzer.SinkNodeBase"
	// TypeMicrosoftVideoAnalyzerSourceNodeBase ...
	TypeMicrosoftVideoAnalyzerSourceNodeBase Type = "#Microsoft.VideoAnalyzer.SourceNodeBase"
	// TypeMicrosoftVideoAnalyzerVideoSink ...
	TypeMicrosoftVideoAnalyzerVideoSink Type = "#Microsoft.VideoAnalyzer.VideoSink"
	// TypeMicrosoftVideoAnalyzerVideoSource ...
	TypeMicrosoftVideoAnalyzerVideoSource Type = "#Microsoft.VideoAnalyzer.VideoSource"
	// TypeNodeBase ...
	TypeNodeBase Type = "NodeBase"
)

func PossibleTypeValues

func PossibleTypeValues() []Type

PossibleTypeValues returns an array of possible values for the Type const type.

type TypeBasicAudioEncoderBase

type TypeBasicAudioEncoderBase string

TypeBasicAudioEncoderBase enumerates the values for type basic audio encoder base.

const (
	// TypeBasicAudioEncoderBaseTypeAudioEncoderBase ...
	TypeBasicAudioEncoderBaseTypeAudioEncoderBase TypeBasicAudioEncoderBase = "AudioEncoderBase"
	// TypeBasicAudioEncoderBaseTypeMicrosoftVideoAnalyzerAudioEncoderAac ...
	TypeBasicAudioEncoderBaseTypeMicrosoftVideoAnalyzerAudioEncoderAac TypeBasicAudioEncoderBase = "#Microsoft.VideoAnalyzer.AudioEncoderAac"
)

func PossibleTypeBasicAudioEncoderBaseValues

func PossibleTypeBasicAudioEncoderBaseValues() []TypeBasicAudioEncoderBase

PossibleTypeBasicAudioEncoderBaseValues returns an array of possible values for the TypeBasicAudioEncoderBase const type.

type TypeBasicAuthenticationBase

type TypeBasicAuthenticationBase string

TypeBasicAuthenticationBase enumerates the values for type basic authentication base.

const (
	// TypeBasicAuthenticationBaseTypeAuthenticationBase ...
	TypeBasicAuthenticationBaseTypeAuthenticationBase TypeBasicAuthenticationBase = "AuthenticationBase"
	// TypeBasicAuthenticationBaseTypeMicrosoftVideoAnalyzerJwtAuthentication ...
	TypeBasicAuthenticationBaseTypeMicrosoftVideoAnalyzerJwtAuthentication TypeBasicAuthenticationBase = "#Microsoft.VideoAnalyzer.JwtAuthentication"
)

func PossibleTypeBasicAuthenticationBaseValues

func PossibleTypeBasicAuthenticationBaseValues() []TypeBasicAuthenticationBase

PossibleTypeBasicAuthenticationBaseValues returns an array of possible values for the TypeBasicAuthenticationBase const type.

type TypeBasicCertificateSource

type TypeBasicCertificateSource string

TypeBasicCertificateSource enumerates the values for type basic certificate source.

const (
	// TypeBasicCertificateSourceTypeCertificateSource ...
	TypeBasicCertificateSourceTypeCertificateSource TypeBasicCertificateSource = "CertificateSource"
	// TypeBasicCertificateSourceTypeMicrosoftVideoAnalyzerPemCertificateList ...
	TypeBasicCertificateSourceTypeMicrosoftVideoAnalyzerPemCertificateList TypeBasicCertificateSource = "#Microsoft.VideoAnalyzer.PemCertificateList"
)

func PossibleTypeBasicCertificateSourceValues

func PossibleTypeBasicCertificateSourceValues() []TypeBasicCertificateSource

PossibleTypeBasicCertificateSourceValues returns an array of possible values for the TypeBasicCertificateSource const type.

type TypeBasicCredentialsBase

type TypeBasicCredentialsBase string

TypeBasicCredentialsBase enumerates the values for type basic credentials base.

const (
	// TypeBasicCredentialsBaseTypeCredentialsBase ...
	TypeBasicCredentialsBaseTypeCredentialsBase TypeBasicCredentialsBase = "CredentialsBase"
	// TypeBasicCredentialsBaseTypeMicrosoftVideoAnalyzerUsernamePasswordCredentials ...
	TypeBasicCredentialsBaseTypeMicrosoftVideoAnalyzerUsernamePasswordCredentials TypeBasicCredentialsBase = "#Microsoft.VideoAnalyzer.UsernamePasswordCredentials"
)

func PossibleTypeBasicCredentialsBaseValues

func PossibleTypeBasicCredentialsBaseValues() []TypeBasicCredentialsBase

PossibleTypeBasicCredentialsBaseValues returns an array of possible values for the TypeBasicCredentialsBase const type.

type TypeBasicEncoderPresetBase

type TypeBasicEncoderPresetBase string

TypeBasicEncoderPresetBase enumerates the values for type basic encoder preset base.

const (
	// TypeBasicEncoderPresetBaseTypeEncoderPresetBase ...
	TypeBasicEncoderPresetBaseTypeEncoderPresetBase TypeBasicEncoderPresetBase = "EncoderPresetBase"
	// TypeBasicEncoderPresetBaseTypeMicrosoftVideoAnalyzerEncoderCustomPreset ...
	TypeBasicEncoderPresetBaseTypeMicrosoftVideoAnalyzerEncoderCustomPreset TypeBasicEncoderPresetBase = "#Microsoft.VideoAnalyzer.EncoderCustomPreset"
	// TypeBasicEncoderPresetBaseTypeMicrosoftVideoAnalyzerEncoderSystemPreset ...
	TypeBasicEncoderPresetBaseTypeMicrosoftVideoAnalyzerEncoderSystemPreset TypeBasicEncoderPresetBase = "#Microsoft.VideoAnalyzer.EncoderSystemPreset"
)

func PossibleTypeBasicEncoderPresetBaseValues

func PossibleTypeBasicEncoderPresetBaseValues() []TypeBasicEncoderPresetBase

PossibleTypeBasicEncoderPresetBaseValues returns an array of possible values for the TypeBasicEncoderPresetBase const type.

type TypeBasicEndpointBase

type TypeBasicEndpointBase string

TypeBasicEndpointBase enumerates the values for type basic endpoint base.

const (
	// TypeBasicEndpointBaseTypeEndpointBase ...
	TypeBasicEndpointBaseTypeEndpointBase TypeBasicEndpointBase = "EndpointBase"
	// TypeBasicEndpointBaseTypeMicrosoftVideoAnalyzerTLSEndpoint ...
	TypeBasicEndpointBaseTypeMicrosoftVideoAnalyzerTLSEndpoint TypeBasicEndpointBase = "#Microsoft.VideoAnalyzer.TlsEndpoint"
	// TypeBasicEndpointBaseTypeMicrosoftVideoAnalyzerUnsecuredEndpoint ...
	TypeBasicEndpointBaseTypeMicrosoftVideoAnalyzerUnsecuredEndpoint TypeBasicEndpointBase = "#Microsoft.VideoAnalyzer.UnsecuredEndpoint"
)

func PossibleTypeBasicEndpointBaseValues

func PossibleTypeBasicEndpointBaseValues() []TypeBasicEndpointBase

PossibleTypeBasicEndpointBaseValues returns an array of possible values for the TypeBasicEndpointBase const type.

type TypeBasicTimeSequenceBase

type TypeBasicTimeSequenceBase string

TypeBasicTimeSequenceBase enumerates the values for type basic time sequence base.

const (
	// TypeBasicTimeSequenceBaseTypeMicrosoftVideoAnalyzerVideoSequenceAbsoluteTimeMarkers ...
	TypeBasicTimeSequenceBaseTypeMicrosoftVideoAnalyzerVideoSequenceAbsoluteTimeMarkers TypeBasicTimeSequenceBase = "#Microsoft.VideoAnalyzer.VideoSequenceAbsoluteTimeMarkers"
	// TypeBasicTimeSequenceBaseTypeTimeSequenceBase ...
	TypeBasicTimeSequenceBaseTypeTimeSequenceBase TypeBasicTimeSequenceBase = "TimeSequenceBase"
)

func PossibleTypeBasicTimeSequenceBaseValues

func PossibleTypeBasicTimeSequenceBaseValues() []TypeBasicTimeSequenceBase

PossibleTypeBasicTimeSequenceBaseValues returns an array of possible values for the TypeBasicTimeSequenceBase const type.

type TypeBasicTokenKey

type TypeBasicTokenKey string

TypeBasicTokenKey enumerates the values for type basic token key.

const (
	// TypeBasicTokenKeyTypeMicrosoftVideoAnalyzerEccTokenKey ...
	TypeBasicTokenKeyTypeMicrosoftVideoAnalyzerEccTokenKey TypeBasicTokenKey = "#Microsoft.VideoAnalyzer.EccTokenKey"
	// TypeBasicTokenKeyTypeMicrosoftVideoAnalyzerRsaTokenKey ...
	TypeBasicTokenKeyTypeMicrosoftVideoAnalyzerRsaTokenKey TypeBasicTokenKey = "#Microsoft.VideoAnalyzer.RsaTokenKey"
	// TypeBasicTokenKeyTypeTokenKey ...
	TypeBasicTokenKeyTypeTokenKey TypeBasicTokenKey = "TokenKey"
)

func PossibleTypeBasicTokenKeyValues

func PossibleTypeBasicTokenKeyValues() []TypeBasicTokenKey

PossibleTypeBasicTokenKeyValues returns an array of possible values for the TypeBasicTokenKey const type.

type TypeBasicTunnelBase

type TypeBasicTunnelBase string

TypeBasicTunnelBase enumerates the values for type basic tunnel base.

const (
	// TypeBasicTunnelBaseTypeMicrosoftVideoAnalyzerSecureIotDeviceRemoteTunnel ...
	TypeBasicTunnelBaseTypeMicrosoftVideoAnalyzerSecureIotDeviceRemoteTunnel TypeBasicTunnelBase = "#Microsoft.VideoAnalyzer.SecureIotDeviceRemoteTunnel"
	// TypeBasicTunnelBaseTypeTunnelBase ...
	TypeBasicTunnelBaseTypeTunnelBase TypeBasicTunnelBase = "TunnelBase"
)

func PossibleTypeBasicTunnelBaseValues

func PossibleTypeBasicTunnelBaseValues() []TypeBasicTunnelBase

PossibleTypeBasicTunnelBaseValues returns an array of possible values for the TypeBasicTunnelBase const type.

type TypeBasicVideoEncoderBase

type TypeBasicVideoEncoderBase string

TypeBasicVideoEncoderBase enumerates the values for type basic video encoder base.

const (
	// TypeBasicVideoEncoderBaseTypeMicrosoftVideoAnalyzerVideoEncoderH264 ...
	TypeBasicVideoEncoderBaseTypeMicrosoftVideoAnalyzerVideoEncoderH264 TypeBasicVideoEncoderBase = "#Microsoft.VideoAnalyzer.VideoEncoderH264"
	// TypeBasicVideoEncoderBaseTypeVideoEncoderBase ...
	TypeBasicVideoEncoderBaseTypeVideoEncoderBase TypeBasicVideoEncoderBase = "VideoEncoderBase"
)

func PossibleTypeBasicVideoEncoderBaseValues

func PossibleTypeBasicVideoEncoderBaseValues() []TypeBasicVideoEncoderBase

PossibleTypeBasicVideoEncoderBaseValues returns an array of possible values for the TypeBasicVideoEncoderBase const type.

type UnsecuredEndpoint

type UnsecuredEndpoint struct {
	// Credentials - Credentials to be presented to the endpoint.
	Credentials BasicCredentialsBase `json:"credentials,omitempty"`
	// URL - The endpoint URL for Video Analyzer to connect to.
	URL *string `json:"url,omitempty"`
	// Tunnel - Describes the tunnel through which Video Analyzer can connect to the endpoint URL. This is an optional property, typically used when the endpoint is behind a firewall.
	Tunnel BasicTunnelBase `json:"tunnel,omitempty"`
	// Type - Possible values include: 'TypeBasicEndpointBaseTypeEndpointBase', 'TypeBasicEndpointBaseTypeMicrosoftVideoAnalyzerUnsecuredEndpoint', 'TypeBasicEndpointBaseTypeMicrosoftVideoAnalyzerTLSEndpoint'
	Type TypeBasicEndpointBase `json:"@type,omitempty"`
}

UnsecuredEndpoint unsecured endpoint describes an endpoint that the pipeline can connect to over clear transport (no encryption in transit).

func (UnsecuredEndpoint) AsBasicEndpointBase

func (ue UnsecuredEndpoint) AsBasicEndpointBase() (BasicEndpointBase, bool)

AsBasicEndpointBase is the BasicEndpointBase implementation for UnsecuredEndpoint.

func (UnsecuredEndpoint) AsEndpointBase

func (ue UnsecuredEndpoint) AsEndpointBase() (*EndpointBase, bool)

AsEndpointBase is the BasicEndpointBase implementation for UnsecuredEndpoint.

func (UnsecuredEndpoint) AsTLSEndpoint

func (ue UnsecuredEndpoint) AsTLSEndpoint() (*TLSEndpoint, bool)

AsTLSEndpoint is the BasicEndpointBase implementation for UnsecuredEndpoint.

func (UnsecuredEndpoint) AsUnsecuredEndpoint

func (ue UnsecuredEndpoint) AsUnsecuredEndpoint() (*UnsecuredEndpoint, bool)

AsUnsecuredEndpoint is the BasicEndpointBase implementation for UnsecuredEndpoint.

func (UnsecuredEndpoint) MarshalJSON

func (ue UnsecuredEndpoint) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UnsecuredEndpoint.

func (*UnsecuredEndpoint) UnmarshalJSON

func (ue *UnsecuredEndpoint) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UnsecuredEndpoint struct.

type Update

type Update struct {
	// Tags - Resource tags.
	Tags map[string]*string `json:"tags"`
	// PropertiesUpdate - The resource properties.
	*PropertiesUpdate `json:"properties,omitempty"`
	// Identity - The identities associated to the Video Analyzer resource.
	Identity *Identity `json:"identity,omitempty"`
}

Update the update operation for a Video Analyzer account.

func (Update) MarshalJSON

func (u Update) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Update.

func (*Update) UnmarshalJSON

func (u *Update) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Update struct.

type UserAssignedManagedIdentity

type UserAssignedManagedIdentity struct {
	// ClientID - READ-ONLY; The client ID.
	ClientID *uuid.UUID `json:"clientId,omitempty"`
	// PrincipalID - READ-ONLY; The principal ID.
	PrincipalID *uuid.UUID `json:"principalId,omitempty"`
}

UserAssignedManagedIdentity the details of the user assigned managed identity used by the Video Analyzer resource.

func (UserAssignedManagedIdentity) MarshalJSON

func (uami UserAssignedManagedIdentity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UserAssignedManagedIdentity.

type UsernamePasswordCredentials

type UsernamePasswordCredentials struct {
	// Username - Username to be presented as part of the credentials.
	Username *string `json:"username,omitempty"`
	// Password - Password to be presented as part of the credentials. It is recommended that this value is parameterized as a secret string in order to prevent this value to be returned as part of the resource on API requests.
	Password *string `json:"password,omitempty"`
	// Type - Possible values include: 'TypeBasicCredentialsBaseTypeCredentialsBase', 'TypeBasicCredentialsBaseTypeMicrosoftVideoAnalyzerUsernamePasswordCredentials'
	Type TypeBasicCredentialsBase `json:"@type,omitempty"`
}

UsernamePasswordCredentials username and password credentials.

func (UsernamePasswordCredentials) AsBasicCredentialsBase

func (upc UsernamePasswordCredentials) AsBasicCredentialsBase() (BasicCredentialsBase, bool)

AsBasicCredentialsBase is the BasicCredentialsBase implementation for UsernamePasswordCredentials.

func (UsernamePasswordCredentials) AsCredentialsBase

func (upc UsernamePasswordCredentials) AsCredentialsBase() (*CredentialsBase, bool)

AsCredentialsBase is the BasicCredentialsBase implementation for UsernamePasswordCredentials.

func (UsernamePasswordCredentials) AsUsernamePasswordCredentials

func (upc UsernamePasswordCredentials) AsUsernamePasswordCredentials() (*UsernamePasswordCredentials, bool)

AsUsernamePasswordCredentials is the BasicCredentialsBase implementation for UsernamePasswordCredentials.

func (UsernamePasswordCredentials) MarshalJSON

func (upc UsernamePasswordCredentials) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UsernamePasswordCredentials.

type VideoAnalyzersClient

type VideoAnalyzersClient struct {
	BaseClient
}

VideoAnalyzersClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

func NewVideoAnalyzersClient

func NewVideoAnalyzersClient(subscriptionID string) VideoAnalyzersClient

NewVideoAnalyzersClient creates an instance of the VideoAnalyzersClient client.

func NewVideoAnalyzersClientWithBaseURI

func NewVideoAnalyzersClientWithBaseURI(baseURI string, subscriptionID string) VideoAnalyzersClient

NewVideoAnalyzersClientWithBaseURI creates an instance of the VideoAnalyzersClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VideoAnalyzersClient) CreateOrUpdate

func (client VideoAnalyzersClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, parameters Model) (result VideoAnalyzersCreateOrUpdateFutureType, err error)

CreateOrUpdate create or update an instance of a Video Analyzer account Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Video Analyzer account name. parameters - the request parameters

func (VideoAnalyzersClient) CreateOrUpdatePreparer

func (client VideoAnalyzersClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, parameters Model) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VideoAnalyzersClient) CreateOrUpdateResponder

func (client VideoAnalyzersClient) CreateOrUpdateResponder(resp *http.Response) (result Model, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VideoAnalyzersClient) CreateOrUpdateSender

func (client VideoAnalyzersClient) CreateOrUpdateSender(req *http.Request) (future VideoAnalyzersCreateOrUpdateFutureType, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VideoAnalyzersClient) Delete

func (client VideoAnalyzersClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result autorest.Response, err error)

Delete delete the specified Video Analyzer account Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Video Analyzer account name.

func (VideoAnalyzersClient) DeletePreparer

func (client VideoAnalyzersClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VideoAnalyzersClient) DeleteResponder

func (client VideoAnalyzersClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VideoAnalyzersClient) DeleteSender

func (client VideoAnalyzersClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VideoAnalyzersClient) Get

func (client VideoAnalyzersClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result Model, err error)

Get get the details of the specified Video Analyzer account Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Video Analyzer account name.

func (VideoAnalyzersClient) GetPreparer

func (client VideoAnalyzersClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VideoAnalyzersClient) GetResponder

func (client VideoAnalyzersClient) GetResponder(resp *http.Response) (result Model, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VideoAnalyzersClient) GetSender

func (client VideoAnalyzersClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VideoAnalyzersClient) List

func (client VideoAnalyzersClient) List(ctx context.Context, resourceGroupName string) (result Collection, err error)

List lists the Video Analyzer accounts in the specified resource group. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive.

func (VideoAnalyzersClient) ListBySubscription

func (client VideoAnalyzersClient) ListBySubscription(ctx context.Context) (result Collection, err error)

ListBySubscription list all Video Analyzer accounts in the specified subscription.

func (VideoAnalyzersClient) ListBySubscriptionPreparer

func (client VideoAnalyzersClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)

ListBySubscriptionPreparer prepares the ListBySubscription request.

func (VideoAnalyzersClient) ListBySubscriptionResponder

func (client VideoAnalyzersClient) ListBySubscriptionResponder(resp *http.Response) (result Collection, err error)

ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.

func (VideoAnalyzersClient) ListBySubscriptionSender

func (client VideoAnalyzersClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)

ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.

func (VideoAnalyzersClient) ListPreparer

func (client VideoAnalyzersClient) ListPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListPreparer prepares the List request.

func (VideoAnalyzersClient) ListResponder

func (client VideoAnalyzersClient) ListResponder(resp *http.Response) (result Collection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VideoAnalyzersClient) ListSender

func (client VideoAnalyzersClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VideoAnalyzersClient) Update

func (client VideoAnalyzersClient) Update(ctx context.Context, resourceGroupName string, accountName string, parameters Update) (result VideoAnalyzersUpdateFutureType, err error)

Update updates an existing instance of Video Analyzer account Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Video Analyzer account name. parameters - the request parameters

func (VideoAnalyzersClient) UpdatePreparer

func (client VideoAnalyzersClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, parameters Update) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VideoAnalyzersClient) UpdateResponder

func (client VideoAnalyzersClient) UpdateResponder(resp *http.Response) (result Model, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VideoAnalyzersClient) UpdateSender

func (client VideoAnalyzersClient) UpdateSender(req *http.Request) (future VideoAnalyzersUpdateFutureType, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type VideoAnalyzersCreateOrUpdateFutureType

type VideoAnalyzersCreateOrUpdateFutureType struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VideoAnalyzersClient) (Model, error)
}

VideoAnalyzersCreateOrUpdateFutureType an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VideoAnalyzersCreateOrUpdateFutureType) UnmarshalJSON

func (future *VideoAnalyzersCreateOrUpdateFutureType) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VideoAnalyzersUpdateFutureType

type VideoAnalyzersUpdateFutureType struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(VideoAnalyzersClient) (Model, error)
}

VideoAnalyzersUpdateFutureType an abstraction for monitoring and retrieving the results of a long-running operation.

func (*VideoAnalyzersUpdateFutureType) UnmarshalJSON

func (future *VideoAnalyzersUpdateFutureType) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type VideoArchival

type VideoArchival struct {
	// RetentionPeriod - Video retention period indicates the maximum age of the video archive segments which are intended to be kept in storage. It must be provided in the ISO8601 duration format in the granularity of days, up to a maximum of 10 years. For example, if this is set to P30D (30 days), content older than 30 days will be periodically deleted. This value can be updated at any time and the new desired retention period will be effective within 24 hours.
	RetentionPeriod *string `json:"retentionPeriod,omitempty"`
}

VideoArchival video archival properties.

type VideoContentToken

type VideoContentToken struct {
	autorest.Response `json:"-"`
	// ExpirationDate - READ-ONLY; The content token expiration date in ISO8601 format (eg. 2021-01-01T00:00:00Z).
	ExpirationDate *date.Time `json:"expirationDate,omitempty"`
	// Token - READ-ONLY; The content token value to be added to the video content URL as the value for the "token" query string parameter. The token is specific to a single video.
	Token *string `json:"token,omitempty"`
}

VideoContentToken "Video content token grants access to the video content URLs."

func (VideoContentToken) MarshalJSON

func (vct VideoContentToken) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VideoContentToken.

type VideoContentUrls

type VideoContentUrls struct {
	// DownloadURL - Video file download URL. This URL can be used in conjunction with the video content authorization token to download the video MP4 file. The resulting MP4 file can be played on any standard media player. It is available when the video type is 'file' and video file is available for consumption.
	DownloadURL *string `json:"downloadUrl,omitempty"`
	// ArchiveBaseURL - Video archive streaming base URL. The archived content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token on any compatible DASH or HLS players by appending the following to the base URL:
	//
	//     - HLSv4:     /manifest(format=m3u8-aapl).m3u8
	//     - HLS CMAF:  /manifest(format=m3u8-cmaf)
	//     - DASH CMAF: /manifest(format=mpd-time-cmaf)
	//
	//     Moreover, an ongoing video recording can be played in "live mode" with latencies which are approximately double of the chosen video segment length. It is available when the video type is 'archive' and video archiving is enabled.
	ArchiveBaseURL *string `json:"archiveBaseUrl,omitempty"`
	// RtspTunnelURL - Video low-latency streaming URL. The live content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token to expose a WebSocket tunneled RTSP stream. It is available when the video type is 'archive' and a live, low-latency feed is available from the source.
	RtspTunnelURL *string `json:"rtspTunnelUrl,omitempty"`
	// PreviewImageUrls - Video preview image URLs. These URLs can be used in conjunction with the video content authorization token to download the most recent still image from the video archive in different resolutions. They are available when the video type is 'archive' and preview images are enabled.
	PreviewImageUrls *VideoPreviewImageUrls `json:"previewImageUrls,omitempty"`
}

VideoContentUrls set of URLs to the video content.

type VideoCreationProperties

type VideoCreationProperties struct {
	// Title - Optional title provided by the user. Value can be up to 256 characters long.
	Title *string `json:"title,omitempty"`
	// Description - Optional description provided by the user. Value can be up to 2048 characters long.
	Description *string `json:"description,omitempty"`
	// SegmentLength - Segment length indicates the length of individual content files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments. Changing this value after the initial call to create the video resource can lead to errors when uploading content to the archive. Default value is 30 seconds. This property is only allowed for topologies where "kind" is set to "live".
	SegmentLength *string `json:"segmentLength,omitempty"`
	// RetentionPeriod - Video retention period indicates how long the video is kept in storage. Value must be specified in ISO8601 duration format (i.e. "P1D" equals 1 day) and can vary between 1 day to 10 years, in 1 day increments. When absent (null), all video content is retained indefinitely. This property is only allowed for topologies where "kind" is set to "live".
	RetentionPeriod *string `json:"retentionPeriod,omitempty"`
}

VideoCreationProperties optional properties to be used in case a new video resource needs to be created on the service. These will not take effect if the video already exists.

type VideoEncoderBase

type VideoEncoderBase struct {
	// BitrateKbps - The maximum bitrate, in kilobits per second or Kbps, at which video should be encoded. If omitted, encoder sets it automatically to try and match the quality of the input video.
	BitrateKbps *string `json:"bitrateKbps,omitempty"`
	// FrameRate - The frame rate (in frames per second) of the encoded video. The value must be greater than zero, and less than or equal to 300. If omitted, the encoder uses the average frame rate of the input video.
	FrameRate *string `json:"frameRate,omitempty"`
	// Scale - Describes the resolution of the encoded video. If omitted, the encoder uses the resolution of the input video.
	Scale *VideoScale `json:"scale,omitempty"`
	// Type - Possible values include: 'TypeBasicVideoEncoderBaseTypeVideoEncoderBase', 'TypeBasicVideoEncoderBaseTypeMicrosoftVideoAnalyzerVideoEncoderH264'
	Type TypeBasicVideoEncoderBase `json:"@type,omitempty"`
}

VideoEncoderBase base type for all video encoding presets, which define the recipe or instructions on how the input video should be processed.

func (VideoEncoderBase) AsBasicVideoEncoderBase

func (veb VideoEncoderBase) AsBasicVideoEncoderBase() (BasicVideoEncoderBase, bool)

AsBasicVideoEncoderBase is the BasicVideoEncoderBase implementation for VideoEncoderBase.

func (VideoEncoderBase) AsVideoEncoderBase

func (veb VideoEncoderBase) AsVideoEncoderBase() (*VideoEncoderBase, bool)

AsVideoEncoderBase is the BasicVideoEncoderBase implementation for VideoEncoderBase.

func (VideoEncoderBase) AsVideoEncoderH264

func (veb VideoEncoderBase) AsVideoEncoderH264() (*VideoEncoderH264, bool)

AsVideoEncoderH264 is the BasicVideoEncoderBase implementation for VideoEncoderBase.

func (VideoEncoderBase) MarshalJSON

func (veb VideoEncoderBase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VideoEncoderBase.

type VideoEncoderH264

type VideoEncoderH264 struct {
	// BitrateKbps - The maximum bitrate, in kilobits per second or Kbps, at which video should be encoded. If omitted, encoder sets it automatically to try and match the quality of the input video.
	BitrateKbps *string `json:"bitrateKbps,omitempty"`
	// FrameRate - The frame rate (in frames per second) of the encoded video. The value must be greater than zero, and less than or equal to 300. If omitted, the encoder uses the average frame rate of the input video.
	FrameRate *string `json:"frameRate,omitempty"`
	// Scale - Describes the resolution of the encoded video. If omitted, the encoder uses the resolution of the input video.
	Scale *VideoScale `json:"scale,omitempty"`
	// Type - Possible values include: 'TypeBasicVideoEncoderBaseTypeVideoEncoderBase', 'TypeBasicVideoEncoderBaseTypeMicrosoftVideoAnalyzerVideoEncoderH264'
	Type TypeBasicVideoEncoderBase `json:"@type,omitempty"`
}

VideoEncoderH264 a custom preset for encoding video with the H.264 (AVC) codec.

func (VideoEncoderH264) AsBasicVideoEncoderBase

func (veh VideoEncoderH264) AsBasicVideoEncoderBase() (BasicVideoEncoderBase, bool)

AsBasicVideoEncoderBase is the BasicVideoEncoderBase implementation for VideoEncoderH264.

func (VideoEncoderH264) AsVideoEncoderBase

func (veh VideoEncoderH264) AsVideoEncoderBase() (*VideoEncoderBase, bool)

AsVideoEncoderBase is the BasicVideoEncoderBase implementation for VideoEncoderH264.

func (VideoEncoderH264) AsVideoEncoderH264

func (veh VideoEncoderH264) AsVideoEncoderH264() (*VideoEncoderH264, bool)

AsVideoEncoderH264 is the BasicVideoEncoderBase implementation for VideoEncoderH264.

func (VideoEncoderH264) MarshalJSON

func (veh VideoEncoderH264) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VideoEncoderH264.

type VideoEntity

type VideoEntity struct {
	autorest.Response `json:"-"`
	// VideoProperties - The resource properties.
	*VideoProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Azure Resource Manager metadata containing createdBy and modifiedBy information.
	SystemData *SystemData `json:"systemData,omitempty"`
}

VideoEntity represents a video resource within Azure Video Analyzer. Videos can be ingested from RTSP cameras through live pipelines or can be created by exporting sequences from existing captured video through a pipeline job. Videos ingested through live pipelines can be streamed through Azure Video Analyzer Player Widget or compatible players. Exported videos can be downloaded as MP4 files.

func (VideoEntity) MarshalJSON

func (ve VideoEntity) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VideoEntity.

func (*VideoEntity) UnmarshalJSON

func (ve *VideoEntity) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VideoEntity struct.

type VideoEntityCollection

type VideoEntityCollection struct {
	autorest.Response `json:"-"`
	// Value - A collection of VideoEntity items.
	Value *[]VideoEntity `json:"value,omitempty"`
	// NextLink - A link to the next page of the collection (when the collection contains too many results to return in one response).
	NextLink *string `json:"@nextLink,omitempty"`
}

VideoEntityCollection a collection of VideoEntity items.

func (VideoEntityCollection) IsEmpty

func (vec VideoEntityCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VideoEntityCollectionIterator

type VideoEntityCollectionIterator struct {
	// contains filtered or unexported fields
}

VideoEntityCollectionIterator provides access to a complete listing of VideoEntity values.

func NewVideoEntityCollectionIterator

func NewVideoEntityCollectionIterator(page VideoEntityCollectionPage) VideoEntityCollectionIterator

Creates a new instance of the VideoEntityCollectionIterator type.

func (*VideoEntityCollectionIterator) Next

func (iter *VideoEntityCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VideoEntityCollectionIterator) NextWithContext

func (iter *VideoEntityCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VideoEntityCollectionIterator) NotDone

func (iter VideoEntityCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VideoEntityCollectionIterator) Response

Response returns the raw server response from the last page request.

func (VideoEntityCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VideoEntityCollectionPage

type VideoEntityCollectionPage struct {
	// contains filtered or unexported fields
}

VideoEntityCollectionPage contains a page of VideoEntity values.

func NewVideoEntityCollectionPage

Creates a new instance of the VideoEntityCollectionPage type.

func (*VideoEntityCollectionPage) Next

func (page *VideoEntityCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VideoEntityCollectionPage) NextWithContext

func (page *VideoEntityCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VideoEntityCollectionPage) NotDone

func (page VideoEntityCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VideoEntityCollectionPage) Response

Response returns the raw server response from the last page request.

func (VideoEntityCollectionPage) Values

func (page VideoEntityCollectionPage) Values() []VideoEntity

Values returns the slice of values for the current page or nil if there are no values.

type VideoFlags

type VideoFlags struct {
	// CanStream - Value indicating whether or not the video can be streamed. Only "archive" type videos can be streamed.
	CanStream *bool `json:"canStream,omitempty"`
	// HasData - Value indicating whether or not there has ever been data recorded or uploaded into the video. Newly created videos have this value set to false.
	HasData *bool `json:"hasData,omitempty"`
	// IsInUse - Value indicating whether or not the video is currently being referenced be an active pipeline. The fact that is being referenced, doesn't necessarily indicate that data is being received. For example, video recording may be gated on events or camera may not be accessible at the time.
	IsInUse *bool `json:"isInUse,omitempty"`
}

VideoFlags video flags contain information about the available video actions and its dynamic properties based on the current video state.

type VideoMediaInfo

type VideoMediaInfo struct {
	// SegmentLength - Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments.
	SegmentLength *string `json:"segmentLength,omitempty"`
}

VideoMediaInfo contains information about the video and audio content.

type VideoPreviewImageUrls

type VideoPreviewImageUrls struct {
	// Small - Low resolution preview image URL.
	Small *string `json:"small,omitempty"`
	// Medium - Medium resolution preview image URL.
	Medium *string `json:"medium,omitempty"`
	// Large - High resolution preview image URL.
	Large *string `json:"large,omitempty"`
}

VideoPreviewImageUrls video preview image URLs. These URLs can be used in conjunction with the video content authorization token to download the most recent still image from the video archive in different resolutions. They are available when the video type is 'archive' and preview images are enabled.

type VideoProperties

type VideoProperties struct {
	// Title - Optional video title provided by the user. Value can be up to 256 characters long.
	Title *string `json:"title,omitempty"`
	// Description - Optional video description provided by the user. Value can be up to 2048 characters long.
	Description *string `json:"description,omitempty"`
	// Type - READ-ONLY; Video content type. Different content types are suitable for different applications and scenarios. Possible values include: 'VideoTypeArchive', 'VideoTypeFile'
	Type VideoType `json:"type,omitempty"`
	// Flags - READ-ONLY; Video flags contain information about the available video actions and its dynamic properties based on the current video state.
	Flags *VideoFlags `json:"flags,omitempty"`
	// ContentUrls - READ-ONLY; Set of URLs to the video content.
	ContentUrls *VideoContentUrls `json:"contentUrls,omitempty"`
	// MediaInfo - Contains information about the video and audio content.
	MediaInfo *VideoMediaInfo `json:"mediaInfo,omitempty"`
	// Archival - Video archival properties.
	Archival *VideoArchival `json:"archival,omitempty"`
}

VideoProperties application level properties for the video resource.

func (VideoProperties) MarshalJSON

func (vp VideoProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VideoProperties.

type VideoPublishingOptions

type VideoPublishingOptions struct {
	// DisableArchive - When set to 'true' content will not be archived or recorded. This is used, for example, when the topology is used only for low latency video streaming. Default is 'false'.  If set to 'true', then "disableRtspPublishing" must be set to 'false'.
	DisableArchive *string `json:"disableArchive,omitempty"`
	// DisableRtspPublishing - When set to 'true' the RTSP playback URL will not be published, disabling low latency streaming. This is used, for example, when the topology is used only for archiving content. Default is 'false'.  If set to 'true', then "disableArchive" must be set to 'false'.
	DisableRtspPublishing *string `json:"disableRtspPublishing,omitempty"`
}

VideoPublishingOptions optional flags used to change how video is published. These are only allowed for topologies where "kind" is set to "live".

type VideoScale

type VideoScale struct {
	// Height - The desired output video height.
	Height *string `json:"height,omitempty"`
	// Width - The desired output video width.
	Width *string `json:"width,omitempty"`
	// Mode - Describes the video scaling mode to be applied. Default mode is 'Pad'. If the mode is 'Pad' or 'Stretch' then both width and height must be specified. Else if the mode is 'PreserveAspectRatio' then only one of width or height need be provided. Possible values include: 'VideoScaleModePad', 'VideoScaleModePreserveAspectRatio', 'VideoScaleModeStretch'
	Mode VideoScaleMode `json:"mode,omitempty"`
}

VideoScale the video scaling information.

type VideoScaleMode

type VideoScaleMode string

VideoScaleMode enumerates the values for video scale mode.

const (
	// VideoScaleModePad Pads the video with black horizontal stripes (letterbox) or black vertical stripes
	// (pillar-box) so the video is resized to the specified dimensions while not altering the content aspect
	// ratio.
	VideoScaleModePad VideoScaleMode = "Pad"
	// VideoScaleModePreserveAspectRatio Preserves the same aspect ratio as the input video. If only one video
	// dimension is provided, the second dimension is calculated based on the input video aspect ratio. When 2
	// dimensions are provided, the video is resized to fit the most constraining dimension, considering the
	// input video size and aspect ratio.
	VideoScaleModePreserveAspectRatio VideoScaleMode = "PreserveAspectRatio"
	// VideoScaleModeStretch Stretches the original video so it resized to the specified dimensions.
	VideoScaleModeStretch VideoScaleMode = "Stretch"
)

func PossibleVideoScaleModeValues

func PossibleVideoScaleModeValues() []VideoScaleMode

PossibleVideoScaleModeValues returns an array of possible values for the VideoScaleMode const type.

type VideoSequenceAbsoluteTimeMarkers

type VideoSequenceAbsoluteTimeMarkers struct {
	// Ranges - The sequence of datetime ranges. Example: '[["2021-10-05T03:30:00Z", "2021-10-05T03:40:00Z"]]'.
	Ranges *string `json:"ranges,omitempty"`
	// Type - Possible values include: 'TypeBasicTimeSequenceBaseTypeTimeSequenceBase', 'TypeBasicTimeSequenceBaseTypeMicrosoftVideoAnalyzerVideoSequenceAbsoluteTimeMarkers'
	Type TypeBasicTimeSequenceBase `json:"@type,omitempty"`
}

VideoSequenceAbsoluteTimeMarkers a sequence of absolute datetime ranges as a string. The datetime values should follow IS08601, and the sum of the ranges should add up to 24 hours or less. Currently, there can be only one range specified in the sequence.

func (VideoSequenceAbsoluteTimeMarkers) AsBasicTimeSequenceBase

func (vsatm VideoSequenceAbsoluteTimeMarkers) AsBasicTimeSequenceBase() (BasicTimeSequenceBase, bool)

AsBasicTimeSequenceBase is the BasicTimeSequenceBase implementation for VideoSequenceAbsoluteTimeMarkers.

func (VideoSequenceAbsoluteTimeMarkers) AsTimeSequenceBase

func (vsatm VideoSequenceAbsoluteTimeMarkers) AsTimeSequenceBase() (*TimeSequenceBase, bool)

AsTimeSequenceBase is the BasicTimeSequenceBase implementation for VideoSequenceAbsoluteTimeMarkers.

func (VideoSequenceAbsoluteTimeMarkers) AsVideoSequenceAbsoluteTimeMarkers

func (vsatm VideoSequenceAbsoluteTimeMarkers) AsVideoSequenceAbsoluteTimeMarkers() (*VideoSequenceAbsoluteTimeMarkers, bool)

AsVideoSequenceAbsoluteTimeMarkers is the BasicTimeSequenceBase implementation for VideoSequenceAbsoluteTimeMarkers.

func (VideoSequenceAbsoluteTimeMarkers) MarshalJSON

func (vsatm VideoSequenceAbsoluteTimeMarkers) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VideoSequenceAbsoluteTimeMarkers.

type VideoSink

type VideoSink struct {
	// VideoName - Name of a new or existing video resource used to capture and publish content. Note: if downstream of RTSP source, and if disableArchive is set to true, then no content is archived.
	VideoName *string `json:"videoName,omitempty"`
	// VideoCreationProperties - Optional video properties to be used in case a new video resource needs to be created on the service.
	VideoCreationProperties *VideoCreationProperties `json:"videoCreationProperties,omitempty"`
	// VideoPublishingOptions - Options to change how the video sink publishes content via the video resource. This property is only allowed for topologies where "kind" is set to "live".
	VideoPublishingOptions *VideoPublishingOptions `json:"videoPublishingOptions,omitempty"`
	// Inputs - An array of upstream node references within the topology to be used as inputs for this node.
	Inputs *[]NodeInput `json:"inputs,omitempty"`
	// Name - Node name. Must be unique within the topology.
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeNodeBase', 'TypeMicrosoftVideoAnalyzerSourceNodeBase', 'TypeMicrosoftVideoAnalyzerProcessorNodeBase', 'TypeMicrosoftVideoAnalyzerSinkNodeBase', 'TypeMicrosoftVideoAnalyzerRtspSource', 'TypeMicrosoftVideoAnalyzerVideoSource', 'TypeMicrosoftVideoAnalyzerEncoderProcessor', 'TypeMicrosoftVideoAnalyzerVideoSink'
	Type Type `json:"@type,omitempty"`
}

VideoSink video sink in a live topology allows for video and audio to be captured, optionally archived, and published via a video resource. If archiving is enabled, this results in a video of type 'archive'. If used in a batch topology, this allows for video and audio to be stored as a file, and published via a video resource of type 'file'

func (VideoSink) AsBasicNodeBase

func (vs VideoSink) AsBasicNodeBase() (BasicNodeBase, bool)

AsBasicNodeBase is the BasicNodeBase implementation for VideoSink.

func (VideoSink) AsBasicProcessorNodeBase

func (vs VideoSink) AsBasicProcessorNodeBase() (BasicProcessorNodeBase, bool)

AsBasicProcessorNodeBase is the BasicNodeBase implementation for VideoSink.

func (VideoSink) AsBasicSinkNodeBase

func (vs VideoSink) AsBasicSinkNodeBase() (BasicSinkNodeBase, bool)

AsBasicSinkNodeBase is the BasicNodeBase implementation for VideoSink.

func (VideoSink) AsBasicSourceNodeBase

func (vs VideoSink) AsBasicSourceNodeBase() (BasicSourceNodeBase, bool)

AsBasicSourceNodeBase is the BasicNodeBase implementation for VideoSink.

func (VideoSink) AsEncoderProcessor

func (vs VideoSink) AsEncoderProcessor() (*EncoderProcessor, bool)

AsEncoderProcessor is the BasicNodeBase implementation for VideoSink.

func (VideoSink) AsNodeBase

func (vs VideoSink) AsNodeBase() (*NodeBase, bool)

AsNodeBase is the BasicNodeBase implementation for VideoSink.

func (VideoSink) AsProcessorNodeBase

func (vs VideoSink) AsProcessorNodeBase() (*ProcessorNodeBase, bool)

AsProcessorNodeBase is the BasicNodeBase implementation for VideoSink.

func (VideoSink) AsRtspSource

func (vs VideoSink) AsRtspSource() (*RtspSource, bool)

AsRtspSource is the BasicNodeBase implementation for VideoSink.

func (VideoSink) AsSinkNodeBase

func (vs VideoSink) AsSinkNodeBase() (*SinkNodeBase, bool)

AsSinkNodeBase is the BasicNodeBase implementation for VideoSink.

func (VideoSink) AsSourceNodeBase

func (vs VideoSink) AsSourceNodeBase() (*SourceNodeBase, bool)

AsSourceNodeBase is the BasicNodeBase implementation for VideoSink.

func (VideoSink) AsVideoSink

func (vs VideoSink) AsVideoSink() (*VideoSink, bool)

AsVideoSink is the BasicNodeBase implementation for VideoSink.

func (VideoSink) AsVideoSource

func (vs VideoSink) AsVideoSource() (*VideoSource, bool)

AsVideoSource is the BasicNodeBase implementation for VideoSink.

func (VideoSink) MarshalJSON

func (vs VideoSink) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VideoSink.

type VideoSource

type VideoSource struct {
	// VideoName - Name of the Video Analyzer video resource to be used as the source.
	VideoName *string `json:"videoName,omitempty"`
	// TimeSequences - Describes a sequence of datetime ranges. The video source only picks up recorded media within these ranges.
	TimeSequences BasicTimeSequenceBase `json:"timeSequences,omitempty"`
	// Name - Node name. Must be unique within the topology.
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeNodeBase', 'TypeMicrosoftVideoAnalyzerSourceNodeBase', 'TypeMicrosoftVideoAnalyzerProcessorNodeBase', 'TypeMicrosoftVideoAnalyzerSinkNodeBase', 'TypeMicrosoftVideoAnalyzerRtspSource', 'TypeMicrosoftVideoAnalyzerVideoSource', 'TypeMicrosoftVideoAnalyzerEncoderProcessor', 'TypeMicrosoftVideoAnalyzerVideoSink'
	Type Type `json:"@type,omitempty"`
}

VideoSource video source allows for content from a Video Analyzer video resource to be ingested into a pipeline. Currently supported only with batch pipelines.

func (VideoSource) AsBasicNodeBase

func (vs VideoSource) AsBasicNodeBase() (BasicNodeBase, bool)

AsBasicNodeBase is the BasicNodeBase implementation for VideoSource.

func (VideoSource) AsBasicProcessorNodeBase

func (vs VideoSource) AsBasicProcessorNodeBase() (BasicProcessorNodeBase, bool)

AsBasicProcessorNodeBase is the BasicNodeBase implementation for VideoSource.

func (VideoSource) AsBasicSinkNodeBase

func (vs VideoSource) AsBasicSinkNodeBase() (BasicSinkNodeBase, bool)

AsBasicSinkNodeBase is the BasicNodeBase implementation for VideoSource.

func (VideoSource) AsBasicSourceNodeBase

func (vs VideoSource) AsBasicSourceNodeBase() (BasicSourceNodeBase, bool)

AsBasicSourceNodeBase is the BasicNodeBase implementation for VideoSource.

func (VideoSource) AsEncoderProcessor

func (vs VideoSource) AsEncoderProcessor() (*EncoderProcessor, bool)

AsEncoderProcessor is the BasicNodeBase implementation for VideoSource.

func (VideoSource) AsNodeBase

func (vs VideoSource) AsNodeBase() (*NodeBase, bool)

AsNodeBase is the BasicNodeBase implementation for VideoSource.

func (VideoSource) AsProcessorNodeBase

func (vs VideoSource) AsProcessorNodeBase() (*ProcessorNodeBase, bool)

AsProcessorNodeBase is the BasicNodeBase implementation for VideoSource.

func (VideoSource) AsRtspSource

func (vs VideoSource) AsRtspSource() (*RtspSource, bool)

AsRtspSource is the BasicNodeBase implementation for VideoSource.

func (VideoSource) AsSinkNodeBase

func (vs VideoSource) AsSinkNodeBase() (*SinkNodeBase, bool)

AsSinkNodeBase is the BasicNodeBase implementation for VideoSource.

func (VideoSource) AsSourceNodeBase

func (vs VideoSource) AsSourceNodeBase() (*SourceNodeBase, bool)

AsSourceNodeBase is the BasicNodeBase implementation for VideoSource.

func (VideoSource) AsVideoSink

func (vs VideoSource) AsVideoSink() (*VideoSink, bool)

AsVideoSink is the BasicNodeBase implementation for VideoSource.

func (VideoSource) AsVideoSource

func (vs VideoSource) AsVideoSource() (*VideoSource, bool)

AsVideoSource is the BasicNodeBase implementation for VideoSource.

func (VideoSource) MarshalJSON

func (vs VideoSource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VideoSource.

func (*VideoSource) UnmarshalJSON

func (vs *VideoSource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for VideoSource struct.

type VideoType

type VideoType string

VideoType enumerates the values for video type.

const (
	// VideoTypeArchive Archive is flexible format that represents a video stream associated with wall-clock
	// time. The video archive can either be continuous or discontinuous. An archive is discontinuous when
	// there are gaps in the recording due to various reasons, such as the live pipeline being stopped, camera
	// being disconnected or due to the use of event based recordings through the use of a signal gate. There
	// is no limit to the archive duration and new video data can be appended to the existing archive at any
	// time, as long as the same video codec and codec parameters are being used. Videos of this type are
	// suitable for appending and long term archival.
	VideoTypeArchive VideoType = "Archive"
	// VideoTypeFile File represents a video which is stored as a single media file, such as MP4. Videos of
	// this type are suitable to be downloaded for external consumption.
	VideoTypeFile VideoType = "File"
)

func PossibleVideoTypeValues

func PossibleVideoTypeValues() []VideoType

PossibleVideoTypeValues returns an array of possible values for the VideoType const type.

type VideosClient

type VideosClient struct {
	BaseClient
}

VideosClient is the azure Video Analyzer provides a platform for you to build intelligent video applications that span the edge and the cloud

func NewVideosClient

func NewVideosClient(subscriptionID string) VideosClient

NewVideosClient creates an instance of the VideosClient client.

func NewVideosClientWithBaseURI

func NewVideosClientWithBaseURI(baseURI string, subscriptionID string) VideosClient

NewVideosClientWithBaseURI creates an instance of the VideosClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VideosClient) CreateOrUpdate

func (client VideosClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, videoName string, parameters VideoEntity) (result VideoEntity, err error)

CreateOrUpdate creates a new video resource or updates an existing video resource with the given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. videoName - the Video name. parameters - the request parameters

func (VideosClient) CreateOrUpdatePreparer

func (client VideosClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, videoName string, parameters VideoEntity) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (VideosClient) CreateOrUpdateResponder

func (client VideosClient) CreateOrUpdateResponder(resp *http.Response) (result VideoEntity, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (VideosClient) CreateOrUpdateSender

func (client VideosClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (VideosClient) Delete

func (client VideosClient) Delete(ctx context.Context, resourceGroupName string, accountName string, videoName string) (result autorest.Response, err error)

Delete deletes an existing video resource and its underlying data. This operation is irreversible. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. videoName - the Video name.

func (VideosClient) DeletePreparer

func (client VideosClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string, videoName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (VideosClient) DeleteResponder

func (client VideosClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (VideosClient) DeleteSender

func (client VideosClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (VideosClient) Get

func (client VideosClient) Get(ctx context.Context, resourceGroupName string, accountName string, videoName string) (result VideoEntity, err error)

Get retrieves an existing video resource with the given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. videoName - the Video name.

func (VideosClient) GetPreparer

func (client VideosClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string, videoName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (VideosClient) GetResponder

func (client VideosClient) GetResponder(resp *http.Response) (result VideoEntity, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (VideosClient) GetSender

func (client VideosClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (VideosClient) List

func (client VideosClient) List(ctx context.Context, resourceGroupName string, accountName string, top *int32) (result VideoEntityCollectionPage, err error)

List retrieves a list of video resources that have been created, along with their JSON representations. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. top - specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.

func (VideosClient) ListComplete

func (client VideosClient) ListComplete(ctx context.Context, resourceGroupName string, accountName string, top *int32) (result VideoEntityCollectionIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (VideosClient) ListContentToken

func (client VideosClient) ListContentToken(ctx context.Context, resourceGroupName string, accountName string, videoName string) (result VideoContentToken, err error)

ListContentToken generates a streaming token which can be used for accessing content from video content URLs, for a video resource with the given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. videoName - the Video name.

func (VideosClient) ListContentTokenPreparer

func (client VideosClient) ListContentTokenPreparer(ctx context.Context, resourceGroupName string, accountName string, videoName string) (*http.Request, error)

ListContentTokenPreparer prepares the ListContentToken request.

func (VideosClient) ListContentTokenResponder

func (client VideosClient) ListContentTokenResponder(resp *http.Response) (result VideoContentToken, err error)

ListContentTokenResponder handles the response to the ListContentToken request. The method always closes the http.Response Body.

func (VideosClient) ListContentTokenSender

func (client VideosClient) ListContentTokenSender(req *http.Request) (*http.Response, error)

ListContentTokenSender sends the ListContentToken request. The method will close the http.Response Body if it receives an error.

func (VideosClient) ListPreparer

func (client VideosClient) ListPreparer(ctx context.Context, resourceGroupName string, accountName string, top *int32) (*http.Request, error)

ListPreparer prepares the List request.

func (VideosClient) ListResponder

func (client VideosClient) ListResponder(resp *http.Response) (result VideoEntityCollection, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (VideosClient) ListSender

func (client VideosClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (VideosClient) Update

func (client VideosClient) Update(ctx context.Context, resourceGroupName string, accountName string, videoName string, parameters VideoEntity) (result VideoEntity, err error)

Update updates individual properties of an existing video resource with the given name. Parameters: resourceGroupName - the name of the resource group. The name is case insensitive. accountName - the Azure Video Analyzer account name. videoName - the Video name. parameters - the request parameters

func (VideosClient) UpdatePreparer

func (client VideosClient) UpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, videoName string, parameters VideoEntity) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (VideosClient) UpdateResponder

func (client VideosClient) UpdateResponder(resp *http.Response) (result VideoEntity, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (VideosClient) UpdateSender

func (client VideosClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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