Documentation ¶
Index ¶
- func ValidateEdgeModuleID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateVideoAnalyzerID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EdgeModuleEntity
- type EdgeModuleEntityOperationPredicate
- type EdgeModuleId
- type EdgeModuleProperties
- type EdgeModuleProvisioningToken
- type EdgeModulesClient
- func (c EdgeModulesClient) CreateOrUpdate(ctx context.Context, id EdgeModuleId, input EdgeModuleEntity) (result CreateOrUpdateOperationResponse, err error)
- func (c EdgeModulesClient) Delete(ctx context.Context, id EdgeModuleId) (result DeleteOperationResponse, err error)
- func (c EdgeModulesClient) Get(ctx context.Context, id EdgeModuleId) (result GetOperationResponse, err error)
- func (c EdgeModulesClient) List(ctx context.Context, id VideoAnalyzerId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c EdgeModulesClient) ListComplete(ctx context.Context, id VideoAnalyzerId, options ListOperationOptions) (ListCompleteResult, error)
- func (c EdgeModulesClient) ListCompleteMatchingPredicate(ctx context.Context, id VideoAnalyzerId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- func (c EdgeModulesClient) ListProvisioningToken(ctx context.Context, id EdgeModuleId, input ListProvisioningTokenInput) (result ListProvisioningTokenOperationResponse, err error)
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type ListProvisioningTokenInput
- type ListProvisioningTokenOperationResponse
- type VideoAnalyzerId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateEdgeModuleID ¶
ValidateEdgeModuleID checks that 'input' can be parsed as a Edge Module ID
func ValidateVideoAnalyzerID ¶
ValidateVideoAnalyzerID checks that 'input' can be parsed as a Video Analyzer ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EdgeModuleEntity }
type DeleteOperationResponse ¶
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 ¶
func (EdgeModuleEntityOperationPredicate) Matches ¶
func (p EdgeModuleEntityOperationPredicate) Matches(input EdgeModuleEntity) bool
type EdgeModuleId ¶
type EdgeModuleId struct { SubscriptionId string ResourceGroupName string VideoAnalyzerName string EdgeModuleName string }
EdgeModuleId is a struct representing the Resource ID for a Edge Module
func NewEdgeModuleID ¶
func NewEdgeModuleID(subscriptionId string, resourceGroupName string, videoAnalyzerName 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) FromParseResult ¶
func (id *EdgeModuleId) FromParseResult(input resourceids.ParseResult) error
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 EdgeModulesClient ¶
type EdgeModulesClient struct {
Client *resourcemanager.Client
}
func NewEdgeModulesClientWithBaseURI ¶
func NewEdgeModulesClientWithBaseURI(sdkApi sdkEnv.Api) (*EdgeModulesClient, error)
func (EdgeModulesClient) CreateOrUpdate ¶
func (c EdgeModulesClient) CreateOrUpdate(ctx context.Context, id EdgeModuleId, input EdgeModuleEntity) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (EdgeModulesClient) Delete ¶
func (c EdgeModulesClient) Delete(ctx context.Context, id EdgeModuleId) (result DeleteOperationResponse, err error)
Delete ...
func (EdgeModulesClient) Get ¶
func (c EdgeModulesClient) Get(ctx context.Context, id EdgeModuleId) (result GetOperationResponse, err error)
Get ...
func (EdgeModulesClient) List ¶
func (c EdgeModulesClient) List(ctx context.Context, id VideoAnalyzerId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (EdgeModulesClient) ListComplete ¶
func (c EdgeModulesClient) ListComplete(ctx context.Context, id VideoAnalyzerId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (EdgeModulesClient) ListCompleteMatchingPredicate ¶
func (c EdgeModulesClient) ListCompleteMatchingPredicate(ctx context.Context, id VideoAnalyzerId, options ListOperationOptions, predicate EdgeModuleEntityOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (EdgeModulesClient) ListProvisioningToken ¶
func (c EdgeModulesClient) ListProvisioningToken(ctx context.Context, id EdgeModuleId, input ListProvisioningTokenInput) (result ListProvisioningTokenOperationResponse, err error)
ListProvisioningToken ...
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EdgeModuleEntity }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []EdgeModuleEntity }
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]EdgeModuleEntity }
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 ListProvisioningTokenOperationResponse ¶
type ListProvisioningTokenOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *EdgeModuleProvisioningToken }
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) FromParseResult ¶
func (id *VideoAnalyzerId) FromParseResult(input resourceids.ParseResult) error
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
Source Files ¶
- client.go
- id_edgemodule.go
- id_videoanalyzer.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listprovisioningtoken.go
- model_edgemoduleentity.go
- model_edgemoduleproperties.go
- model_edgemoduleprovisioningtoken.go
- model_listprovisioningtokeninput.go
- predicates.go
- version.go