Documentation ¶
Index ¶
- func PossibleValuesForAccessPolicyEccAlgo() []string
- func PossibleValuesForAccessPolicyRole() []string
- func PossibleValuesForAccessPolicyRsaAlgo() []string
- func PossibleValuesForVideoType() []string
- func ValidateAccessPolicyID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVideoAnalyzerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVideoID(input interface{}, key string) (warnings []string, errors []error)
- type AccessPoliciesCreateOrUpdateOperationResponse
- type AccessPoliciesDeleteOperationResponse
- type AccessPoliciesGetOperationResponse
- type AccessPoliciesListCompleteResult
- type AccessPoliciesListOperationOptions
- type AccessPoliciesListOperationResponse
- type AccessPoliciesUpdateOperationResponse
- type AccessPolicyEccAlgo
- type AccessPolicyEntity
- type AccessPolicyEntityOperationPredicate
- type AccessPolicyId
- type AccessPolicyProperties
- type AccessPolicyRole
- type AccessPolicyRsaAlgo
- type AuthenticationBase
- type EccTokenKey
- type JwtAuthentication
- type RsaTokenKey
- type TokenClaim
- type TokenKey
- type VideoAnalyzerId
- type VideoEntity
- type VideoEntityOperationPredicate
- type VideoFlags
- type VideoId
- type VideoMediaInfo
- type VideoProperties
- type VideoStreaming
- type VideoStreamingToken
- type VideoType
- type VideosClient
- func (c VideosClient) AccessPoliciesCreateOrUpdate(ctx context.Context, id AccessPolicyId, input AccessPolicyEntity) (result AccessPoliciesCreateOrUpdateOperationResponse, err error)
- func (c VideosClient) AccessPoliciesDelete(ctx context.Context, id AccessPolicyId) (result AccessPoliciesDeleteOperationResponse, err error)
- func (c VideosClient) AccessPoliciesGet(ctx context.Context, id AccessPolicyId) (result AccessPoliciesGetOperationResponse, err error)
- func (c VideosClient) AccessPoliciesList(ctx context.Context, id VideoAnalyzerId, ...) (result AccessPoliciesListOperationResponse, err error)
- func (c VideosClient) AccessPoliciesListComplete(ctx context.Context, id VideoAnalyzerId, ...) (AccessPoliciesListCompleteResult, error)
- func (c VideosClient) AccessPoliciesListCompleteMatchingPredicate(ctx context.Context, id VideoAnalyzerId, ...) (result AccessPoliciesListCompleteResult, err error)
- func (c VideosClient) AccessPoliciesUpdate(ctx context.Context, id AccessPolicyId, input AccessPolicyEntity) (result AccessPoliciesUpdateOperationResponse, err error)
- func (c VideosClient) VideosCreateOrUpdate(ctx context.Context, id VideoId, input VideoEntity) (result VideosCreateOrUpdateOperationResponse, err error)
- func (c VideosClient) VideosDelete(ctx context.Context, id VideoId) (result VideosDeleteOperationResponse, err error)
- func (c VideosClient) VideosGet(ctx context.Context, id VideoId) (result VideosGetOperationResponse, err error)
- func (c VideosClient) VideosList(ctx context.Context, id VideoAnalyzerId, options VideosListOperationOptions) (result VideosListOperationResponse, err error)
- func (c VideosClient) VideosListComplete(ctx context.Context, id VideoAnalyzerId, options VideosListOperationOptions) (VideosListCompleteResult, error)
- func (c VideosClient) VideosListCompleteMatchingPredicate(ctx context.Context, id VideoAnalyzerId, options VideosListOperationOptions, ...) (result VideosListCompleteResult, err error)
- func (c VideosClient) VideosListStreamingToken(ctx context.Context, id VideoId) (result VideosListStreamingTokenOperationResponse, err error)
- func (c VideosClient) VideosUpdate(ctx context.Context, id VideoId, input VideoEntity) (result VideosUpdateOperationResponse, err error)
- type VideosCreateOrUpdateOperationResponse
- type VideosDeleteOperationResponse
- type VideosGetOperationResponse
- type VideosListCompleteResult
- type VideosListOperationOptions
- type VideosListOperationResponse
- type VideosListStreamingTokenOperationResponse
- type VideosUpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccessPolicyEccAlgo ¶
func PossibleValuesForAccessPolicyEccAlgo() []string
func PossibleValuesForAccessPolicyRole ¶
func PossibleValuesForAccessPolicyRole() []string
func PossibleValuesForAccessPolicyRsaAlgo ¶
func PossibleValuesForAccessPolicyRsaAlgo() []string
func PossibleValuesForVideoType ¶
func PossibleValuesForVideoType() []string
func ValidateAccessPolicyID ¶ added in v0.20220907.1111434
ValidateAccessPolicyID checks that 'input' can be parsed as a Access Policy ID
func ValidateVideoAnalyzerID ¶
ValidateVideoAnalyzerID checks that 'input' can be parsed as a Video Analyzer ID
func ValidateVideoID ¶
ValidateVideoID checks that 'input' can be parsed as a Video ID
Types ¶
type AccessPoliciesCreateOrUpdateOperationResponse ¶
type AccessPoliciesCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AccessPolicyEntity }
type AccessPoliciesGetOperationResponse ¶
type AccessPoliciesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AccessPolicyEntity }
type AccessPoliciesListCompleteResult ¶
type AccessPoliciesListCompleteResult struct {
Items []AccessPolicyEntity
}
type AccessPoliciesListOperationOptions ¶
type AccessPoliciesListOperationOptions struct {
Top *int64
}
func DefaultAccessPoliciesListOperationOptions ¶
func DefaultAccessPoliciesListOperationOptions() AccessPoliciesListOperationOptions
func (AccessPoliciesListOperationOptions) ToHeaders ¶ added in v0.20230720.1124505
func (o AccessPoliciesListOperationOptions) ToHeaders() *client.Headers
func (AccessPoliciesListOperationOptions) ToOData ¶ added in v0.20230720.1124505
func (o AccessPoliciesListOperationOptions) ToOData() *odata.Query
func (AccessPoliciesListOperationOptions) ToQuery ¶ added in v0.20230720.1124505
func (o AccessPoliciesListOperationOptions) ToQuery() *client.QueryParams
type AccessPoliciesListOperationResponse ¶
type AccessPoliciesListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AccessPolicyEntity }
type AccessPoliciesUpdateOperationResponse ¶
type AccessPoliciesUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AccessPolicyEntity }
type AccessPolicyEccAlgo ¶
type AccessPolicyEccAlgo string
const ( AccessPolicyEccAlgoESFiveOneTwo AccessPolicyEccAlgo = "ES512" AccessPolicyEccAlgoESThreeEightFour AccessPolicyEccAlgo = "ES384" AccessPolicyEccAlgoESTwoFiveSix AccessPolicyEccAlgo = "ES256" )
func (*AccessPolicyEccAlgo) UnmarshalJSON ¶ added in v0.20230720.1124505
func (s *AccessPolicyEccAlgo) UnmarshalJSON(bytes []byte) error
type AccessPolicyEntity ¶
type AccessPolicyEntity struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AccessPolicyProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type AccessPolicyEntityOperationPredicate ¶
func (AccessPolicyEntityOperationPredicate) Matches ¶
func (p AccessPolicyEntityOperationPredicate) Matches(input AccessPolicyEntity) bool
type AccessPolicyId ¶ added in v0.20220907.1111434
type AccessPolicyId struct { SubscriptionId string ResourceGroupName string VideoAnalyzerName string AccessPolicyName string }
AccessPolicyId is a struct representing the Resource ID for a Access Policy
func NewAccessPolicyID ¶ added in v0.20220907.1111434
func NewAccessPolicyID(subscriptionId string, resourceGroupName string, videoAnalyzerName string, accessPolicyName string) AccessPolicyId
NewAccessPolicyID returns a new AccessPolicyId struct
func ParseAccessPolicyID ¶ added in v0.20220907.1111434
func ParseAccessPolicyID(input string) (*AccessPolicyId, error)
ParseAccessPolicyID parses 'input' into a AccessPolicyId
func ParseAccessPolicyIDInsensitively ¶ added in v0.20220907.1111434
func ParseAccessPolicyIDInsensitively(input string) (*AccessPolicyId, error)
ParseAccessPolicyIDInsensitively parses 'input' case-insensitively into a AccessPolicyId note: this method should only be used for API response data and not user input
func (AccessPolicyId) ID ¶ added in v0.20220907.1111434
func (id AccessPolicyId) ID() string
ID returns the formatted Access Policy ID
func (AccessPolicyId) Segments ¶ added in v0.20220907.1111434
func (id AccessPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Access Policy ID
func (AccessPolicyId) String ¶ added in v0.20220907.1111434
func (id AccessPolicyId) String() string
String returns a human-readable description of this Access Policy ID
type AccessPolicyProperties ¶
type AccessPolicyProperties struct { Authentication AuthenticationBase `json:"authentication"` Role *AccessPolicyRole `json:"role,omitempty"` }
func (*AccessPolicyProperties) UnmarshalJSON ¶
func (s *AccessPolicyProperties) UnmarshalJSON(bytes []byte) error
type AccessPolicyRole ¶
type AccessPolicyRole string
const (
AccessPolicyRoleReader AccessPolicyRole = "Reader"
)
func (*AccessPolicyRole) UnmarshalJSON ¶ added in v0.20230720.1124505
func (s *AccessPolicyRole) UnmarshalJSON(bytes []byte) error
type AccessPolicyRsaAlgo ¶
type AccessPolicyRsaAlgo string
const ( AccessPolicyRsaAlgoRSFiveOneTwo AccessPolicyRsaAlgo = "RS512" AccessPolicyRsaAlgoRSThreeEightFour AccessPolicyRsaAlgo = "RS384" AccessPolicyRsaAlgoRSTwoFiveSix AccessPolicyRsaAlgo = "RS256" )
func (*AccessPolicyRsaAlgo) UnmarshalJSON ¶ added in v0.20230720.1124505
func (s *AccessPolicyRsaAlgo) UnmarshalJSON(bytes []byte) error
type AuthenticationBase ¶
type AuthenticationBase interface { }
type EccTokenKey ¶
type EccTokenKey struct { Alg AccessPolicyEccAlgo `json:"alg"` X string `json:"x"` Y string `json:"y"` // Fields inherited from TokenKey Kid string `json:"kid"` }
func (EccTokenKey) MarshalJSON ¶
func (s EccTokenKey) MarshalJSON() ([]byte, error)
type JwtAuthentication ¶
type JwtAuthentication struct { Audiences *[]string `json:"audiences,omitempty"` Claims *[]TokenClaim `json:"claims,omitempty"` Issuers *[]string `json:"issuers,omitempty"` Keys *[]TokenKey `json:"keys,omitempty"` }
func (JwtAuthentication) MarshalJSON ¶
func (s JwtAuthentication) MarshalJSON() ([]byte, error)
func (*JwtAuthentication) UnmarshalJSON ¶
func (s *JwtAuthentication) UnmarshalJSON(bytes []byte) error
type RsaTokenKey ¶
type RsaTokenKey struct { Alg AccessPolicyRsaAlgo `json:"alg"` E string `json:"e"` N string `json:"n"` // Fields inherited from TokenKey Kid string `json:"kid"` }
func (RsaTokenKey) MarshalJSON ¶
func (s RsaTokenKey) MarshalJSON() ([]byte, error)
type TokenClaim ¶
type VideoAnalyzerId ¶
type VideoAnalyzerId struct { SubscriptionId string ResourceGroupName string VideoAnalyzerName string }
VideoAnalyzerId is a struct representing the Resource ID for a Video Analyzer
func NewVideoAnalyzerID ¶
func NewVideoAnalyzerID(subscriptionId string, resourceGroupName string, videoAnalyzerName string) VideoAnalyzerId
NewVideoAnalyzerID returns a new VideoAnalyzerId struct
func ParseVideoAnalyzerID ¶
func ParseVideoAnalyzerID(input string) (*VideoAnalyzerId, error)
ParseVideoAnalyzerID parses 'input' into a VideoAnalyzerId
func ParseVideoAnalyzerIDInsensitively ¶
func ParseVideoAnalyzerIDInsensitively(input string) (*VideoAnalyzerId, error)
ParseVideoAnalyzerIDInsensitively parses 'input' case-insensitively into a VideoAnalyzerId note: this method should only be used for API response data and not user input
func (VideoAnalyzerId) ID ¶
func (id VideoAnalyzerId) ID() string
ID returns the formatted Video Analyzer ID
func (VideoAnalyzerId) Segments ¶
func (id VideoAnalyzerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Video Analyzer ID
func (VideoAnalyzerId) String ¶
func (id VideoAnalyzerId) String() string
String returns a human-readable description of this Video Analyzer ID
type VideoEntity ¶
type VideoEntity struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *VideoProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type VideoEntityOperationPredicate ¶
func (VideoEntityOperationPredicate) Matches ¶
func (p VideoEntityOperationPredicate) Matches(input VideoEntity) bool
type VideoFlags ¶
type VideoId ¶
type VideoId struct { SubscriptionId string ResourceGroupName string VideoAnalyzerName string VideoName string }
VideoId is a struct representing the Resource ID for a Video
func NewVideoID ¶
func NewVideoID(subscriptionId string, resourceGroupName string, videoAnalyzerName string, videoName string) VideoId
NewVideoID returns a new VideoId struct
func ParseVideoID ¶
ParseVideoID parses 'input' into a VideoId
func ParseVideoIDInsensitively ¶
ParseVideoIDInsensitively parses 'input' case-insensitively into a VideoId note: this method should only be used for API response data and not user input
func (VideoId) Segments ¶
func (id VideoId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Video ID
type VideoMediaInfo ¶
type VideoMediaInfo struct {
SegmentLength *string `json:"segmentLength,omitempty"`
}
type VideoProperties ¶
type VideoProperties struct { Description *string `json:"description,omitempty"` Flags *VideoFlags `json:"flags,omitempty"` MediaInfo *VideoMediaInfo `json:"mediaInfo,omitempty"` Streaming *VideoStreaming `json:"streaming,omitempty"` Title *string `json:"title,omitempty"` Type *VideoType `json:"type,omitempty"` }
type VideoStreaming ¶
type VideoStreaming struct {
ArchiveBaseUrl *string `json:"archiveBaseUrl,omitempty"`
}
type VideoStreamingToken ¶
type VideoStreamingToken struct { ExpirationDate *string `json:"expirationDate,omitempty"` Token *string `json:"token,omitempty"` }
func (*VideoStreamingToken) GetExpirationDateAsTime ¶
func (o *VideoStreamingToken) GetExpirationDateAsTime() (*time.Time, error)
func (*VideoStreamingToken) SetExpirationDateAsTime ¶
func (o *VideoStreamingToken) SetExpirationDateAsTime(input time.Time)
type VideoType ¶
type VideoType string
const (
VideoTypeArchive VideoType = "Archive"
)
func (*VideoType) UnmarshalJSON ¶ added in v0.20230720.1124505
type VideosClient ¶
type VideosClient struct {
Client *resourcemanager.Client
}
func NewVideosClientWithBaseURI ¶
func NewVideosClientWithBaseURI(sdkApi sdkEnv.Api) (*VideosClient, error)
func (VideosClient) AccessPoliciesCreateOrUpdate ¶
func (c VideosClient) AccessPoliciesCreateOrUpdate(ctx context.Context, id AccessPolicyId, input AccessPolicyEntity) (result AccessPoliciesCreateOrUpdateOperationResponse, err error)
AccessPoliciesCreateOrUpdate ...
func (VideosClient) AccessPoliciesDelete ¶
func (c VideosClient) AccessPoliciesDelete(ctx context.Context, id AccessPolicyId) (result AccessPoliciesDeleteOperationResponse, err error)
AccessPoliciesDelete ...
func (VideosClient) AccessPoliciesGet ¶
func (c VideosClient) AccessPoliciesGet(ctx context.Context, id AccessPolicyId) (result AccessPoliciesGetOperationResponse, err error)
AccessPoliciesGet ...
func (VideosClient) AccessPoliciesList ¶
func (c VideosClient) AccessPoliciesList(ctx context.Context, id VideoAnalyzerId, options AccessPoliciesListOperationOptions) (result AccessPoliciesListOperationResponse, err error)
AccessPoliciesList ...
func (VideosClient) AccessPoliciesListComplete ¶
func (c VideosClient) AccessPoliciesListComplete(ctx context.Context, id VideoAnalyzerId, options AccessPoliciesListOperationOptions) (AccessPoliciesListCompleteResult, error)
AccessPoliciesListComplete retrieves all the results into a single object
func (VideosClient) AccessPoliciesListCompleteMatchingPredicate ¶
func (c VideosClient) AccessPoliciesListCompleteMatchingPredicate(ctx context.Context, id VideoAnalyzerId, options AccessPoliciesListOperationOptions, predicate AccessPolicyEntityOperationPredicate) (result AccessPoliciesListCompleteResult, err error)
AccessPoliciesListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VideosClient) AccessPoliciesUpdate ¶
func (c VideosClient) AccessPoliciesUpdate(ctx context.Context, id AccessPolicyId, input AccessPolicyEntity) (result AccessPoliciesUpdateOperationResponse, err error)
AccessPoliciesUpdate ...
func (VideosClient) VideosCreateOrUpdate ¶
func (c VideosClient) VideosCreateOrUpdate(ctx context.Context, id VideoId, input VideoEntity) (result VideosCreateOrUpdateOperationResponse, err error)
VideosCreateOrUpdate ...
func (VideosClient) VideosDelete ¶
func (c VideosClient) VideosDelete(ctx context.Context, id VideoId) (result VideosDeleteOperationResponse, err error)
VideosDelete ...
func (VideosClient) VideosGet ¶
func (c VideosClient) VideosGet(ctx context.Context, id VideoId) (result VideosGetOperationResponse, err error)
VideosGet ...
func (VideosClient) VideosList ¶
func (c VideosClient) VideosList(ctx context.Context, id VideoAnalyzerId, options VideosListOperationOptions) (result VideosListOperationResponse, err error)
VideosList ...
func (VideosClient) VideosListComplete ¶
func (c VideosClient) VideosListComplete(ctx context.Context, id VideoAnalyzerId, options VideosListOperationOptions) (VideosListCompleteResult, error)
VideosListComplete retrieves all the results into a single object
func (VideosClient) VideosListCompleteMatchingPredicate ¶
func (c VideosClient) VideosListCompleteMatchingPredicate(ctx context.Context, id VideoAnalyzerId, options VideosListOperationOptions, predicate VideoEntityOperationPredicate) (result VideosListCompleteResult, err error)
VideosListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VideosClient) VideosListStreamingToken ¶
func (c VideosClient) VideosListStreamingToken(ctx context.Context, id VideoId) (result VideosListStreamingTokenOperationResponse, err error)
VideosListStreamingToken ...
func (VideosClient) VideosUpdate ¶
func (c VideosClient) VideosUpdate(ctx context.Context, id VideoId, input VideoEntity) (result VideosUpdateOperationResponse, err error)
VideosUpdate ...
type VideosCreateOrUpdateOperationResponse ¶
type VideosCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VideoEntity }
type VideosGetOperationResponse ¶
type VideosGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VideoEntity }
type VideosListCompleteResult ¶
type VideosListCompleteResult struct {
Items []VideoEntity
}
type VideosListOperationOptions ¶
type VideosListOperationOptions struct {
Top *int64
}
func DefaultVideosListOperationOptions ¶
func DefaultVideosListOperationOptions() VideosListOperationOptions
func (VideosListOperationOptions) ToHeaders ¶ added in v0.20230720.1124505
func (o VideosListOperationOptions) ToHeaders() *client.Headers
func (VideosListOperationOptions) ToOData ¶ added in v0.20230720.1124505
func (o VideosListOperationOptions) ToOData() *odata.Query
func (VideosListOperationOptions) ToQuery ¶ added in v0.20230720.1124505
func (o VideosListOperationOptions) ToQuery() *client.QueryParams
type VideosListOperationResponse ¶
type VideosListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VideoEntity }
type VideosListStreamingTokenOperationResponse ¶
type VideosListStreamingTokenOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VideoStreamingToken }
type VideosUpdateOperationResponse ¶
type VideosUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VideoEntity }
Source Files ¶
- client.go
- constants.go
- id_accesspolicy.go
- id_video.go
- id_videoanalyzer.go
- method_accesspoliciescreateorupdate.go
- method_accesspoliciesdelete.go
- method_accesspoliciesget.go
- method_accesspolicieslist.go
- method_accesspoliciesupdate.go
- method_videoscreateorupdate.go
- method_videosdelete.go
- method_videosget.go
- method_videoslist.go
- method_videosliststreamingtoken.go
- method_videosupdate.go
- model_accesspolicyentity.go
- model_accesspolicyproperties.go
- model_authenticationbase.go
- model_ecctokenkey.go
- model_jwtauthentication.go
- model_rsatokenkey.go
- model_tokenclaim.go
- model_tokenkey.go
- model_videoentity.go
- model_videoflags.go
- model_videomediainfo.go
- model_videoproperties.go
- model_videostreaming.go
- model_videostreamingtoken.go
- predicates.go
- version.go