videoanalyzer

package
v0.20220711.1122120 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: MPL-2.0 Imports: 13 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/videoanalyzer/2021-05-01-preview/videoanalyzer Documentation

The videoanalyzer SDK allows for interaction with the Azure Resource Manager Service videoanalyzer (API Version 2021-05-01-preview).

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

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/videoanalyzer/2021-05-01-preview/videoanalyzer"

Client Initialization

client := videoanalyzer.NewVideoAnalyzerClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: VideoAnalyzerClient.AccessPoliciesCreateOrUpdate

ctx := context.TODO()
id := videoanalyzer.NewAccessPoliciesID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "accessPolicyValue")

payload := videoanalyzer.AccessPolicyEntity{
	// ...
}


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

Example Usage: VideoAnalyzerClient.AccessPoliciesDelete

ctx := context.TODO()
id := videoanalyzer.NewAccessPoliciesID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "accessPolicyValue")

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

Example Usage: VideoAnalyzerClient.AccessPoliciesGet

ctx := context.TODO()
id := videoanalyzer.NewAccessPoliciesID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "accessPolicyValue")

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

Example Usage: VideoAnalyzerClient.AccessPoliciesList

ctx := context.TODO()
id := videoanalyzer.NewVideoAnalyzerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

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

Example Usage: VideoAnalyzerClient.AccessPoliciesUpdate

ctx := context.TODO()
id := videoanalyzer.NewAccessPoliciesID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "accessPolicyValue")

payload := videoanalyzer.AccessPolicyEntity{
	// ...
}


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

Example Usage: VideoAnalyzerClient.EdgeModulesCreateOrUpdate

ctx := context.TODO()
id := videoanalyzer.NewEdgeModuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "edgeModuleValue")

payload := videoanalyzer.EdgeModuleEntity{
	// ...
}


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

Example Usage: VideoAnalyzerClient.EdgeModulesDelete

ctx := context.TODO()
id := videoanalyzer.NewEdgeModuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "edgeModuleValue")

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

Example Usage: VideoAnalyzerClient.EdgeModulesGet

ctx := context.TODO()
id := videoanalyzer.NewEdgeModuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "edgeModuleValue")

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

Example Usage: VideoAnalyzerClient.EdgeModulesList

ctx := context.TODO()
id := videoanalyzer.NewVideoAnalyzerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

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

Example Usage: VideoAnalyzerClient.EdgeModulesListProvisioningToken

ctx := context.TODO()
id := videoanalyzer.NewEdgeModuleID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "edgeModuleValue")

payload := videoanalyzer.ListProvisioningTokenInput{
	// ...
}


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

Example Usage: VideoAnalyzerClient.LocationsCheckNameAvailability

ctx := context.TODO()
id := videoanalyzer.NewLocationID("12345678-1234-9876-4563-123456789012", "locationValue")

payload := videoanalyzer.CheckNameAvailabilityRequest{
	// ...
}


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

Example Usage: VideoAnalyzerClient.VideoAnalyzersCreateOrUpdate

ctx := context.TODO()
id := videoanalyzer.NewVideoAnalyzerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

payload := videoanalyzer.VideoAnalyzer{
	// ...
}


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

Example Usage: VideoAnalyzerClient.VideoAnalyzersDelete

ctx := context.TODO()
id := videoanalyzer.NewVideoAnalyzerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

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

Example Usage: VideoAnalyzerClient.VideoAnalyzersGet

ctx := context.TODO()
id := videoanalyzer.NewVideoAnalyzerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

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

Example Usage: VideoAnalyzerClient.VideoAnalyzersList

ctx := context.TODO()
id := videoanalyzer.NewResourceGroupID()

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

Example Usage: VideoAnalyzerClient.VideoAnalyzersListBySubscription

ctx := context.TODO()
id := videoanalyzer.NewSubscriptionID()

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

Example Usage: VideoAnalyzerClient.VideoAnalyzersSyncStorageKeys

ctx := context.TODO()
id := videoanalyzer.NewVideoAnalyzerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

payload := videoanalyzer.SyncStorageKeysInput{
	// ...
}


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

Example Usage: VideoAnalyzerClient.VideoAnalyzersUpdate

ctx := context.TODO()
id := videoanalyzer.NewVideoAnalyzerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

payload := videoanalyzer.VideoAnalyzerUpdate{
	// ...
}


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

Example Usage: VideoAnalyzerClient.VideosCreateOrUpdate

ctx := context.TODO()
id := videoanalyzer.NewVideoID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "videoValue")

payload := videoanalyzer.VideoEntity{
	// ...
}


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

Example Usage: VideoAnalyzerClient.VideosDelete

ctx := context.TODO()
id := videoanalyzer.NewVideoID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "videoValue")

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

Example Usage: VideoAnalyzerClient.VideosGet

ctx := context.TODO()
id := videoanalyzer.NewVideoID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "videoValue")

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

Example Usage: VideoAnalyzerClient.VideosList

ctx := context.TODO()
id := videoanalyzer.NewVideoAnalyzerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue")

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

Example Usage: VideoAnalyzerClient.VideosListStreamingToken

ctx := context.TODO()
id := videoanalyzer.NewVideoID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "videoValue")

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

Example Usage: VideoAnalyzerClient.VideosUpdate

ctx := context.TODO()
id := videoanalyzer.NewVideoID("12345678-1234-9876-4563-123456789012", "example-resource-group", "accountValue", "videoValue")

payload := videoanalyzer.VideoEntity{
	// ...
}


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAccessPolicyEccAlgo

func PossibleValuesForAccessPolicyEccAlgo() []string

func PossibleValuesForAccessPolicyRole

func PossibleValuesForAccessPolicyRole() []string

func PossibleValuesForAccessPolicyRsaAlgo

func PossibleValuesForAccessPolicyRsaAlgo() []string

func PossibleValuesForAccountEncryptionKeyType

func PossibleValuesForAccountEncryptionKeyType() []string

func PossibleValuesForCheckNameAvailabilityReason

func PossibleValuesForCheckNameAvailabilityReason() []string

func PossibleValuesForVideoAnalyzerEndpointType

func PossibleValuesForVideoAnalyzerEndpointType() []string

func PossibleValuesForVideoType

func PossibleValuesForVideoType() []string

func ValidateAccessPoliciesID

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

ValidateAccessPoliciesID checks that 'input' can be parsed as a Access Policies ID

func ValidateEdgeModuleID

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

ValidateEdgeModuleID checks that 'input' can be parsed as a Edge Module ID

func ValidateLocationID

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

ValidateLocationID checks that 'input' can be parsed as a Location ID

func ValidateVideoAnalyzerID

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

ValidateVideoAnalyzerID checks that 'input' can be parsed as a Video Analyzer ID

func ValidateVideoID

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

ValidateVideoID checks that 'input' can be parsed as a Video ID

Types

type AccessPoliciesCreateOrUpdateOperationResponse

type AccessPoliciesCreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *AccessPolicyEntity
}

type AccessPoliciesDeleteOperationResponse

type AccessPoliciesDeleteOperationResponse struct {
	HttpResponse *http.Response
}

type AccessPoliciesGetOperationResponse

type AccessPoliciesGetOperationResponse struct {
	HttpResponse *http.Response
	Model        *AccessPolicyEntity
}

type AccessPoliciesId

type AccessPoliciesId struct {
	SubscriptionId    string
	ResourceGroupName string
	AccountName       string
	AccessPolicyName  string
}

AccessPoliciesId is a struct representing the Resource ID for a Access Policies

func NewAccessPoliciesID

func NewAccessPoliciesID(subscriptionId string, resourceGroupName string, accountName string, accessPolicyName string) AccessPoliciesId

NewAccessPoliciesID returns a new AccessPoliciesId struct

func ParseAccessPoliciesID

func ParseAccessPoliciesID(input string) (*AccessPoliciesId, error)

ParseAccessPoliciesID parses 'input' into a AccessPoliciesId

func ParseAccessPoliciesIDInsensitively

func ParseAccessPoliciesIDInsensitively(input string) (*AccessPoliciesId, error)

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

func (AccessPoliciesId) ID

func (id AccessPoliciesId) ID() string

ID returns the formatted Access Policies ID

func (AccessPoliciesId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Access Policies ID

func (AccessPoliciesId) String

func (id AccessPoliciesId) String() string

String returns a human-readable description of this Access Policies ID

type AccessPoliciesListCompleteResult

type AccessPoliciesListCompleteResult struct {
	Items []AccessPolicyEntity
}

type AccessPoliciesListOperationOptions

type AccessPoliciesListOperationOptions struct {
	Top *int64
}

func DefaultAccessPoliciesListOperationOptions

func DefaultAccessPoliciesListOperationOptions() AccessPoliciesListOperationOptions

type AccessPoliciesListOperationResponse

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

func (AccessPoliciesListOperationResponse) HasMore

func (AccessPoliciesListOperationResponse) LoadMore

type AccessPoliciesUpdateOperationResponse

type AccessPoliciesUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *AccessPolicyEntity
}

type AccessPolicyEccAlgo

type AccessPolicyEccAlgo string
const (
	AccessPolicyEccAlgoESFiveOneTwo     AccessPolicyEccAlgo = "ES512"
	AccessPolicyEccAlgoESThreeEightFour AccessPolicyEccAlgo = "ES384"
	AccessPolicyEccAlgoESTwoFiveSix     AccessPolicyEccAlgo = "ES256"
)

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

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

func (AccessPolicyEntityOperationPredicate) Matches

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

type AccessPolicyRsaAlgo

type AccessPolicyRsaAlgo string
const (
	AccessPolicyRsaAlgoRSFiveOneTwo     AccessPolicyRsaAlgo = "RS512"
	AccessPolicyRsaAlgoRSThreeEightFour AccessPolicyRsaAlgo = "RS384"
	AccessPolicyRsaAlgoRSTwoFiveSix     AccessPolicyRsaAlgo = "RS256"
)

type AccountEncryption

type AccountEncryption struct {
	Identity           *ResourceIdentity        `json:"identity,omitempty"`
	KeyVaultProperties *KeyVaultProperties      `json:"keyVaultProperties,omitempty"`
	Status             *string                  `json:"status,omitempty"`
	Type               AccountEncryptionKeyType `json:"type"`
}

type AccountEncryptionKeyType

type AccountEncryptionKeyType string
const (
	AccountEncryptionKeyTypeCustomerKey AccountEncryptionKeyType = "CustomerKey"
	AccountEncryptionKeyTypeSystemKey   AccountEncryptionKeyType = "SystemKey"
)

type AuthenticationBase

type AuthenticationBase interface {
}

type CheckNameAvailabilityReason

type CheckNameAvailabilityReason string
const (
	CheckNameAvailabilityReasonAlreadyExists CheckNameAvailabilityReason = "AlreadyExists"
	CheckNameAvailabilityReasonInvalid       CheckNameAvailabilityReason = "Invalid"
)

type CheckNameAvailabilityRequest

type CheckNameAvailabilityRequest struct {
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type CheckNameAvailabilityResponse

type CheckNameAvailabilityResponse struct {
	Message       *string                      `json:"message,omitempty"`
	NameAvailable *bool                        `json:"nameAvailable,omitempty"`
	Reason        *CheckNameAvailabilityReason `json:"reason,omitempty"`
}

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 EdgeModuleEntity

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

type EdgeModuleEntityOperationPredicate

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

func (EdgeModuleEntityOperationPredicate) Matches

type EdgeModuleId

type EdgeModuleId struct {
	SubscriptionId    string
	ResourceGroupName string
	AccountName       string
	EdgeModuleName    string
}

EdgeModuleId is a struct representing the Resource ID for a Edge Module

func NewEdgeModuleID

func NewEdgeModuleID(subscriptionId string, resourceGroupName string, accountName string, edgeModuleName string) EdgeModuleId

NewEdgeModuleID returns a new EdgeModuleId struct

func ParseEdgeModuleID

func ParseEdgeModuleID(input string) (*EdgeModuleId, error)

ParseEdgeModuleID parses 'input' into a EdgeModuleId

func ParseEdgeModuleIDInsensitively

func ParseEdgeModuleIDInsensitively(input string) (*EdgeModuleId, error)

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

func (EdgeModuleId) ID

func (id EdgeModuleId) ID() string

ID returns the formatted Edge Module ID

func (EdgeModuleId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Edge Module ID

func (EdgeModuleId) String

func (id EdgeModuleId) String() string

String returns a human-readable description of this Edge Module ID

type EdgeModuleProperties

type EdgeModuleProperties struct {
	EdgeModuleId *string `json:"edgeModuleId,omitempty"`
}

type EdgeModuleProvisioningToken

type EdgeModuleProvisioningToken struct {
	ExpirationDate *string `json:"expirationDate,omitempty"`
	Token          *string `json:"token,omitempty"`
}

func (*EdgeModuleProvisioningToken) GetExpirationDateAsTime

func (o *EdgeModuleProvisioningToken) GetExpirationDateAsTime() (*time.Time, error)

func (*EdgeModuleProvisioningToken) SetExpirationDateAsTime

func (o *EdgeModuleProvisioningToken) SetExpirationDateAsTime(input time.Time)

type EdgeModulesCreateOrUpdateOperationResponse

type EdgeModulesCreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *EdgeModuleEntity
}

type EdgeModulesDeleteOperationResponse

type EdgeModulesDeleteOperationResponse struct {
	HttpResponse *http.Response
}

type EdgeModulesGetOperationResponse

type EdgeModulesGetOperationResponse struct {
	HttpResponse *http.Response
	Model        *EdgeModuleEntity
}

type EdgeModulesListCompleteResult

type EdgeModulesListCompleteResult struct {
	Items []EdgeModuleEntity
}

type EdgeModulesListOperationOptions

type EdgeModulesListOperationOptions struct {
	Filter  *string
	Orderby *string
	Top     *int64
}

func DefaultEdgeModulesListOperationOptions

func DefaultEdgeModulesListOperationOptions() EdgeModulesListOperationOptions

type EdgeModulesListOperationResponse

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

func (EdgeModulesListOperationResponse) HasMore

func (EdgeModulesListOperationResponse) LoadMore

type EdgeModulesListProvisioningTokenOperationResponse

type EdgeModulesListProvisioningTokenOperationResponse struct {
	HttpResponse *http.Response
	Model        *EdgeModuleProvisioningToken
}

type Endpoint

type Endpoint struct {
	EndpointUrl *string                   `json:"endpointUrl,omitempty"`
	Type        VideoAnalyzerEndpointType `json:"type"`
}

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 KeyVaultProperties

type KeyVaultProperties struct {
	CurrentKeyIdentifier *string `json:"currentKeyIdentifier,omitempty"`
	KeyIdentifier        string  `json:"keyIdentifier"`
}

type ListProvisioningTokenInput

type ListProvisioningTokenInput struct {
	ExpirationDate string `json:"expirationDate"`
}

func (*ListProvisioningTokenInput) GetExpirationDateAsTime

func (o *ListProvisioningTokenInput) GetExpirationDateAsTime() (*time.Time, error)

func (*ListProvisioningTokenInput) SetExpirationDateAsTime

func (o *ListProvisioningTokenInput) SetExpirationDateAsTime(input time.Time)

type LocationId

type LocationId struct {
	SubscriptionId string
	LocationName   string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(subscriptionId string, locationName string) LocationId

NewLocationID returns a new LocationId struct

func ParseLocationID

func ParseLocationID(input string) (*LocationId, error)

ParseLocationID parses 'input' into a LocationId

func ParseLocationIDInsensitively

func ParseLocationIDInsensitively(input string) (*LocationId, error)

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

func (LocationId) ID

func (id LocationId) ID() string

ID returns the formatted Location ID

func (LocationId) Segments

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

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

func (LocationId) String

func (id LocationId) String() string

String returns a human-readable description of this Location ID

type LocationsCheckNameAvailabilityOperationResponse

type LocationsCheckNameAvailabilityOperationResponse struct {
	HttpResponse *http.Response
	Model        *CheckNameAvailabilityResponse
}

type ResourceIdentity

type ResourceIdentity struct {
	UserAssignedIdentity string `json:"userAssignedIdentity"`
}

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 StorageAccount

type StorageAccount struct {
	Id       *string           `json:"id,omitempty"`
	Identity *ResourceIdentity `json:"identity,omitempty"`
	Status   *string           `json:"status,omitempty"`
}

type SyncStorageKeysInput

type SyncStorageKeysInput struct {
	Id *string `json:"id,omitempty"`
}

type TokenClaim

type TokenClaim struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type TokenKey

type TokenKey interface {
}

type UserAssignedManagedIdentity

type UserAssignedManagedIdentity struct {
	ClientId    *string `json:"clientId,omitempty"`
	PrincipalId *string `json:"principalId,omitempty"`
}

type VideoAnalyzer

type VideoAnalyzer struct {
	Id         *string                        `json:"id,omitempty"`
	Identity   *VideoAnalyzerIdentity         `json:"identity,omitempty"`
	Location   string                         `json:"location"`
	Name       *string                        `json:"name,omitempty"`
	Properties *VideoAnalyzerPropertiesUpdate `json:"properties,omitempty"`
	SystemData *systemdata.SystemData         `json:"systemData,omitempty"`
	Tags       *map[string]string             `json:"tags,omitempty"`
	Type       *string                        `json:"type,omitempty"`
}

type VideoAnalyzerClient

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

func NewVideoAnalyzerClientWithBaseURI

func NewVideoAnalyzerClientWithBaseURI(endpoint string) VideoAnalyzerClient

func (VideoAnalyzerClient) AccessPoliciesCreateOrUpdate

AccessPoliciesCreateOrUpdate ...

func (VideoAnalyzerClient) AccessPoliciesDelete

AccessPoliciesDelete ...

func (VideoAnalyzerClient) AccessPoliciesGet

AccessPoliciesGet ...

func (VideoAnalyzerClient) AccessPoliciesList

AccessPoliciesList ...

func (VideoAnalyzerClient) AccessPoliciesListComplete

AccessPoliciesListComplete retrieves all of the results into a single object

func (VideoAnalyzerClient) AccessPoliciesListCompleteMatchingPredicate

AccessPoliciesListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (VideoAnalyzerClient) AccessPoliciesUpdate

AccessPoliciesUpdate ...

func (VideoAnalyzerClient) EdgeModulesCreateOrUpdate

func (c VideoAnalyzerClient) EdgeModulesCreateOrUpdate(ctx context.Context, id EdgeModuleId, input EdgeModuleEntity) (result EdgeModulesCreateOrUpdateOperationResponse, err error)

EdgeModulesCreateOrUpdate ...

func (VideoAnalyzerClient) EdgeModulesDelete

func (c VideoAnalyzerClient) EdgeModulesDelete(ctx context.Context, id EdgeModuleId) (result EdgeModulesDeleteOperationResponse, err error)

EdgeModulesDelete ...

func (VideoAnalyzerClient) EdgeModulesGet

func (c VideoAnalyzerClient) EdgeModulesGet(ctx context.Context, id EdgeModuleId) (result EdgeModulesGetOperationResponse, err error)

EdgeModulesGet ...

func (VideoAnalyzerClient) EdgeModulesList

EdgeModulesList ...

func (VideoAnalyzerClient) EdgeModulesListComplete

EdgeModulesListComplete retrieves all of the results into a single object

func (VideoAnalyzerClient) EdgeModulesListCompleteMatchingPredicate

func (c VideoAnalyzerClient) EdgeModulesListCompleteMatchingPredicate(ctx context.Context, id VideoAnalyzerId, options EdgeModulesListOperationOptions, predicate EdgeModuleEntityOperationPredicate) (resp EdgeModulesListCompleteResult, err error)

EdgeModulesListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (VideoAnalyzerClient) EdgeModulesListProvisioningToken

EdgeModulesListProvisioningToken ...

func (VideoAnalyzerClient) LocationsCheckNameAvailability

LocationsCheckNameAvailability ...

func (VideoAnalyzerClient) VideoAnalyzersCreateOrUpdate

func (c VideoAnalyzerClient) VideoAnalyzersCreateOrUpdate(ctx context.Context, id VideoAnalyzerId, input VideoAnalyzer) (result VideoAnalyzersCreateOrUpdateOperationResponse, err error)

VideoAnalyzersCreateOrUpdate ...

func (VideoAnalyzerClient) VideoAnalyzersDelete

func (c VideoAnalyzerClient) VideoAnalyzersDelete(ctx context.Context, id VideoAnalyzerId) (result VideoAnalyzersDeleteOperationResponse, err error)

VideoAnalyzersDelete ...

func (VideoAnalyzerClient) VideoAnalyzersGet

VideoAnalyzersGet ...

func (VideoAnalyzerClient) VideoAnalyzersList

VideoAnalyzersList ...

func (VideoAnalyzerClient) VideoAnalyzersListBySubscription

VideoAnalyzersListBySubscription ...

func (VideoAnalyzerClient) VideoAnalyzersSyncStorageKeys

VideoAnalyzersSyncStorageKeys ...

func (VideoAnalyzerClient) VideoAnalyzersUpdate

VideoAnalyzersUpdate ...

func (VideoAnalyzerClient) VideosCreateOrUpdate

func (c VideoAnalyzerClient) VideosCreateOrUpdate(ctx context.Context, id VideoId, input VideoEntity) (result VideosCreateOrUpdateOperationResponse, err error)

VideosCreateOrUpdate ...

func (VideoAnalyzerClient) VideosDelete

func (c VideoAnalyzerClient) VideosDelete(ctx context.Context, id VideoId) (result VideosDeleteOperationResponse, err error)

VideosDelete ...

func (VideoAnalyzerClient) VideosGet

func (c VideoAnalyzerClient) VideosGet(ctx context.Context, id VideoId) (result VideosGetOperationResponse, err error)

VideosGet ...

func (VideoAnalyzerClient) VideosList

VideosList ...

func (VideoAnalyzerClient) VideosListComplete

VideosListComplete retrieves all of the results into a single object

func (VideoAnalyzerClient) VideosListCompleteMatchingPredicate

func (c VideoAnalyzerClient) VideosListCompleteMatchingPredicate(ctx context.Context, id VideoAnalyzerId, options VideosListOperationOptions, predicate VideoEntityOperationPredicate) (resp VideosListCompleteResult, err error)

VideosListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (VideoAnalyzerClient) VideosListStreamingToken

func (c VideoAnalyzerClient) VideosListStreamingToken(ctx context.Context, id VideoId) (result VideosListStreamingTokenOperationResponse, err error)

VideosListStreamingToken ...

func (VideoAnalyzerClient) VideosUpdate

func (c VideoAnalyzerClient) VideosUpdate(ctx context.Context, id VideoId, input VideoEntity) (result VideosUpdateOperationResponse, err error)

VideosUpdate ...

type VideoAnalyzerCollection

type VideoAnalyzerCollection struct {
	Value *[]VideoAnalyzer `json:"value,omitempty"`
}

type VideoAnalyzerEndpointType

type VideoAnalyzerEndpointType string
const (
	VideoAnalyzerEndpointTypeClientApi VideoAnalyzerEndpointType = "ClientApi"
)

type VideoAnalyzerId

type VideoAnalyzerId struct {
	SubscriptionId    string
	ResourceGroupName string
	AccountName       string
}

VideoAnalyzerId is a struct representing the Resource ID for a Video Analyzer

func NewVideoAnalyzerID

func NewVideoAnalyzerID(subscriptionId string, resourceGroupName string, accountName 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 VideoAnalyzerIdentity

type VideoAnalyzerIdentity struct {
	Type                   string                                  `json:"type"`
	UserAssignedIdentities *map[string]UserAssignedManagedIdentity `json:"userAssignedIdentities,omitempty"`
}

type VideoAnalyzerPropertiesUpdate

type VideoAnalyzerPropertiesUpdate struct {
	Encryption      *AccountEncryption `json:"encryption,omitempty"`
	Endpoints       *[]Endpoint        `json:"endpoints,omitempty"`
	StorageAccounts *[]StorageAccount  `json:"storageAccounts,omitempty"`
}

type VideoAnalyzerUpdate

type VideoAnalyzerUpdate struct {
	Identity   *VideoAnalyzerIdentity         `json:"identity,omitempty"`
	Properties *VideoAnalyzerPropertiesUpdate `json:"properties,omitempty"`
	Tags       *map[string]string             `json:"tags,omitempty"`
}

type VideoAnalyzersCreateOrUpdateOperationResponse

type VideoAnalyzersCreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *VideoAnalyzer
}

type VideoAnalyzersDeleteOperationResponse

type VideoAnalyzersDeleteOperationResponse struct {
	HttpResponse *http.Response
}

type VideoAnalyzersGetOperationResponse

type VideoAnalyzersGetOperationResponse struct {
	HttpResponse *http.Response
	Model        *VideoAnalyzer
}

type VideoAnalyzersListBySubscriptionOperationResponse

type VideoAnalyzersListBySubscriptionOperationResponse struct {
	HttpResponse *http.Response
	Model        *VideoAnalyzerCollection
}

type VideoAnalyzersListOperationResponse

type VideoAnalyzersListOperationResponse struct {
	HttpResponse *http.Response
	Model        *VideoAnalyzerCollection
}

type VideoAnalyzersSyncStorageKeysOperationResponse

type VideoAnalyzersSyncStorageKeysOperationResponse struct {
	HttpResponse *http.Response
}

type VideoAnalyzersUpdateOperationResponse

type VideoAnalyzersUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *VideoAnalyzer
}

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

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

func (VideoEntityOperationPredicate) Matches

type VideoFlags

type VideoFlags struct {
	CanStream   bool `json:"canStream"`
	HasData     bool `json:"hasData"`
	IsRecording bool `json:"isRecording"`
}

type VideoId

type VideoId struct {
	SubscriptionId    string
	ResourceGroupName string
	AccountName       string
	VideoName         string
}

VideoId is a struct representing the Resource ID for a Video

func NewVideoID

func NewVideoID(subscriptionId string, resourceGroupName string, accountName string, videoName string) VideoId

NewVideoID returns a new VideoId struct

func ParseVideoID

func ParseVideoID(input string) (*VideoId, error)

ParseVideoID parses 'input' into a VideoId

func ParseVideoIDInsensitively

func ParseVideoIDInsensitively(input string) (*VideoId, error)

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

func (id VideoId) ID() string

ID returns the formatted Video ID

func (VideoId) Segments

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

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

func (VideoId) String

func (id VideoId) String() string

String returns a human-readable description of 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"
)

type VideosCreateOrUpdateOperationResponse

type VideosCreateOrUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *VideoEntity
}

type VideosDeleteOperationResponse

type VideosDeleteOperationResponse struct {
	HttpResponse *http.Response
}

type VideosGetOperationResponse

type VideosGetOperationResponse struct {
	HttpResponse *http.Response
	Model        *VideoEntity
}

type VideosListCompleteResult

type VideosListCompleteResult struct {
	Items []VideoEntity
}

type VideosListOperationOptions

type VideosListOperationOptions struct {
	Top *int64
}

func DefaultVideosListOperationOptions

func DefaultVideosListOperationOptions() VideosListOperationOptions

type VideosListOperationResponse

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

func (VideosListOperationResponse) HasMore

func (r VideosListOperationResponse) HasMore() bool

func (VideosListOperationResponse) LoadMore

type VideosListStreamingTokenOperationResponse

type VideosListStreamingTokenOperationResponse struct {
	HttpResponse *http.Response
	Model        *VideoStreamingToken
}

type VideosUpdateOperationResponse

type VideosUpdateOperationResponse struct {
	HttpResponse *http.Response
	Model        *VideoEntity
}

Source Files

Jump to

Keyboard shortcuts

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