Documentation ¶
Index ¶
- func PossibleValuesForCategoryType() []string
- func PossibleValuesForWorkbookSharedTypeKind() []string
- func PossibleValuesForWorkbookUpdateSharedTypeKind() []string
- func ValidateRevisionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkbookID(input interface{}, key string) (warnings []string, errors []error)
- type CategoryType
- type RevisionId
- type Workbook
- type WorkbookId
- type WorkbookOperationPredicate
- type WorkbookProperties
- type WorkbookPropertiesUpdateParameters
- type WorkbookSharedTypeKind
- type WorkbookUpdateParameters
- type WorkbookUpdateSharedTypeKind
- type WorkbooksAPIsClient
- func (c WorkbooksAPIsClient) WorkbooksCreateOrUpdate(ctx context.Context, id WorkbookId, input Workbook, ...) (result WorkbooksCreateOrUpdateOperationResponse, err error)
- func (c WorkbooksAPIsClient) WorkbooksDelete(ctx context.Context, id WorkbookId) (result WorkbooksDeleteOperationResponse, err error)
- func (c WorkbooksAPIsClient) WorkbooksGet(ctx context.Context, id WorkbookId, options WorkbooksGetOperationOptions) (result WorkbooksGetOperationResponse, err error)
- func (c WorkbooksAPIsClient) WorkbooksListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result WorkbooksListByResourceGroupOperationResponse, err error)
- func (c WorkbooksAPIsClient) WorkbooksListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, ...) (WorkbooksListByResourceGroupCompleteResult, error)
- func (c WorkbooksAPIsClient) WorkbooksListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result WorkbooksListByResourceGroupCompleteResult, err error)
- func (c WorkbooksAPIsClient) WorkbooksListBySubscription(ctx context.Context, id commonids.SubscriptionId, ...) (result WorkbooksListBySubscriptionOperationResponse, err error)
- func (c WorkbooksAPIsClient) WorkbooksListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, ...) (WorkbooksListBySubscriptionCompleteResult, error)
- func (c WorkbooksAPIsClient) WorkbooksListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result WorkbooksListBySubscriptionCompleteResult, err error)
- func (c WorkbooksAPIsClient) WorkbooksRevisionGet(ctx context.Context, id RevisionId) (result WorkbooksRevisionGetOperationResponse, err error)
- func (c WorkbooksAPIsClient) WorkbooksRevisionsList(ctx context.Context, id WorkbookId) (result WorkbooksRevisionsListOperationResponse, err error)
- func (c WorkbooksAPIsClient) WorkbooksRevisionsListComplete(ctx context.Context, id WorkbookId) (WorkbooksRevisionsListCompleteResult, error)
- func (c WorkbooksAPIsClient) WorkbooksRevisionsListCompleteMatchingPredicate(ctx context.Context, id WorkbookId, predicate WorkbookOperationPredicate) (result WorkbooksRevisionsListCompleteResult, err error)
- func (c WorkbooksAPIsClient) WorkbooksUpdate(ctx context.Context, id WorkbookId, input WorkbookUpdateParameters, ...) (result WorkbooksUpdateOperationResponse, err error)
- type WorkbooksCreateOrUpdateOperationOptions
- type WorkbooksCreateOrUpdateOperationResponse
- type WorkbooksDeleteOperationResponse
- type WorkbooksGetOperationOptions
- type WorkbooksGetOperationResponse
- type WorkbooksListByResourceGroupCompleteResult
- type WorkbooksListByResourceGroupOperationOptions
- type WorkbooksListByResourceGroupOperationResponse
- type WorkbooksListBySubscriptionCompleteResult
- type WorkbooksListBySubscriptionOperationOptions
- type WorkbooksListBySubscriptionOperationResponse
- type WorkbooksRevisionGetOperationResponse
- type WorkbooksRevisionsListCompleteResult
- type WorkbooksRevisionsListOperationResponse
- type WorkbooksUpdateOperationOptions
- type WorkbooksUpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCategoryType ¶
func PossibleValuesForCategoryType() []string
func PossibleValuesForWorkbookSharedTypeKind ¶
func PossibleValuesForWorkbookSharedTypeKind() []string
func PossibleValuesForWorkbookUpdateSharedTypeKind ¶
func PossibleValuesForWorkbookUpdateSharedTypeKind() []string
func ValidateRevisionID ¶
ValidateRevisionID checks that 'input' can be parsed as a Revision ID
func ValidateWorkbookID ¶
ValidateWorkbookID checks that 'input' can be parsed as a Workbook ID
Types ¶
type CategoryType ¶
type CategoryType string
const ( CategoryTypePerformance CategoryType = "performance" CategoryTypeRetention CategoryType = "retention" CategoryTypeTSG CategoryType = "TSG" CategoryTypeWorkbook CategoryType = "workbook" )
func (*CategoryType) UnmarshalJSON ¶
func (s *CategoryType) UnmarshalJSON(bytes []byte) error
type RevisionId ¶
type RevisionId struct { SubscriptionId string ResourceGroupName string WorkbookName string RevisionId string }
RevisionId is a struct representing the Resource ID for a Revision
func NewRevisionID ¶
func NewRevisionID(subscriptionId string, resourceGroupName string, workbookName string, revisionId string) RevisionId
NewRevisionID returns a new RevisionId struct
func ParseRevisionID ¶
func ParseRevisionID(input string) (*RevisionId, error)
ParseRevisionID parses 'input' into a RevisionId
func ParseRevisionIDInsensitively ¶
func ParseRevisionIDInsensitively(input string) (*RevisionId, error)
ParseRevisionIDInsensitively parses 'input' case-insensitively into a RevisionId note: this method should only be used for API response data and not user input
func (RevisionId) Segments ¶
func (id RevisionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Revision ID
func (RevisionId) String ¶
func (id RevisionId) String() string
String returns a human-readable description of this Revision ID
type Workbook ¶
type Workbook struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Kind *WorkbookSharedTypeKind `json:"kind,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *WorkbookProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type WorkbookId ¶
WorkbookId is a struct representing the Resource ID for a Workbook
func NewWorkbookID ¶
func NewWorkbookID(subscriptionId string, resourceGroupName string, workbookName string) WorkbookId
NewWorkbookID returns a new WorkbookId struct
func ParseWorkbookID ¶
func ParseWorkbookID(input string) (*WorkbookId, error)
ParseWorkbookID parses 'input' into a WorkbookId
func ParseWorkbookIDInsensitively ¶
func ParseWorkbookIDInsensitively(input string) (*WorkbookId, error)
ParseWorkbookIDInsensitively parses 'input' case-insensitively into a WorkbookId note: this method should only be used for API response data and not user input
func (WorkbookId) Segments ¶
func (id WorkbookId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workbook ID
func (WorkbookId) String ¶
func (id WorkbookId) String() string
String returns a human-readable description of this Workbook ID
type WorkbookOperationPredicate ¶
type WorkbookOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (WorkbookOperationPredicate) Matches ¶
func (p WorkbookOperationPredicate) Matches(input Workbook) bool
type WorkbookProperties ¶
type WorkbookProperties struct { Category string `json:"category"` Description *string `json:"description,omitempty"` DisplayName string `json:"displayName"` Revision *string `json:"revision,omitempty"` SerializedData string `json:"serializedData"` SourceId *string `json:"sourceId,omitempty"` StorageUri *string `json:"storageUri,omitempty"` Tags *[]string `json:"tags,omitempty"` TimeModified *string `json:"timeModified,omitempty"` UserId *string `json:"userId,omitempty"` Version *string `json:"version,omitempty"` }
func (*WorkbookProperties) GetTimeModifiedAsTime ¶
func (o *WorkbookProperties) GetTimeModifiedAsTime() (*time.Time, error)
func (*WorkbookProperties) SetTimeModifiedAsTime ¶
func (o *WorkbookProperties) SetTimeModifiedAsTime(input time.Time)
type WorkbookPropertiesUpdateParameters ¶
type WorkbookPropertiesUpdateParameters struct { Category *string `json:"category,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` Revision *string `json:"revision,omitempty"` SerializedData *string `json:"serializedData,omitempty"` Tags *[]string `json:"tags,omitempty"` }
type WorkbookSharedTypeKind ¶
type WorkbookSharedTypeKind string
const (
)func (*WorkbookSharedTypeKind) UnmarshalJSON ¶
func (s *WorkbookSharedTypeKind) UnmarshalJSON(bytes []byte) error
type WorkbookUpdateParameters ¶
type WorkbookUpdateParameters struct { Kind *WorkbookUpdateSharedTypeKind `json:"kind,omitempty"` Properties *WorkbookPropertiesUpdateParameters `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type WorkbookUpdateSharedTypeKind ¶
type WorkbookUpdateSharedTypeKind string
const (
)func (*WorkbookUpdateSharedTypeKind) UnmarshalJSON ¶
func (s *WorkbookUpdateSharedTypeKind) UnmarshalJSON(bytes []byte) error
type WorkbooksAPIsClient ¶
type WorkbooksAPIsClient struct {
Client *resourcemanager.Client
}
func NewWorkbooksAPIsClientWithBaseURI ¶
func NewWorkbooksAPIsClientWithBaseURI(sdkApi sdkEnv.Api) (*WorkbooksAPIsClient, error)
func (WorkbooksAPIsClient) WorkbooksCreateOrUpdate ¶
func (c WorkbooksAPIsClient) WorkbooksCreateOrUpdate(ctx context.Context, id WorkbookId, input Workbook, options WorkbooksCreateOrUpdateOperationOptions) (result WorkbooksCreateOrUpdateOperationResponse, err error)
WorkbooksCreateOrUpdate ...
func (WorkbooksAPIsClient) WorkbooksDelete ¶
func (c WorkbooksAPIsClient) WorkbooksDelete(ctx context.Context, id WorkbookId) (result WorkbooksDeleteOperationResponse, err error)
WorkbooksDelete ...
func (WorkbooksAPIsClient) WorkbooksGet ¶
func (c WorkbooksAPIsClient) WorkbooksGet(ctx context.Context, id WorkbookId, options WorkbooksGetOperationOptions) (result WorkbooksGetOperationResponse, err error)
WorkbooksGet ...
func (WorkbooksAPIsClient) WorkbooksListByResourceGroup ¶
func (c WorkbooksAPIsClient) WorkbooksListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, options WorkbooksListByResourceGroupOperationOptions) (result WorkbooksListByResourceGroupOperationResponse, err error)
WorkbooksListByResourceGroup ...
func (WorkbooksAPIsClient) WorkbooksListByResourceGroupComplete ¶
func (c WorkbooksAPIsClient) WorkbooksListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId, options WorkbooksListByResourceGroupOperationOptions) (WorkbooksListByResourceGroupCompleteResult, error)
WorkbooksListByResourceGroupComplete retrieves all the results into a single object
func (WorkbooksAPIsClient) WorkbooksListByResourceGroupCompleteMatchingPredicate ¶
func (c WorkbooksAPIsClient) WorkbooksListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, options WorkbooksListByResourceGroupOperationOptions, predicate WorkbookOperationPredicate) (result WorkbooksListByResourceGroupCompleteResult, err error)
WorkbooksListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (WorkbooksAPIsClient) WorkbooksListBySubscription ¶
func (c WorkbooksAPIsClient) WorkbooksListBySubscription(ctx context.Context, id commonids.SubscriptionId, options WorkbooksListBySubscriptionOperationOptions) (result WorkbooksListBySubscriptionOperationResponse, err error)
WorkbooksListBySubscription ...
func (WorkbooksAPIsClient) WorkbooksListBySubscriptionComplete ¶
func (c WorkbooksAPIsClient) WorkbooksListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId, options WorkbooksListBySubscriptionOperationOptions) (WorkbooksListBySubscriptionCompleteResult, error)
WorkbooksListBySubscriptionComplete retrieves all the results into a single object
func (WorkbooksAPIsClient) WorkbooksListBySubscriptionCompleteMatchingPredicate ¶
func (c WorkbooksAPIsClient) WorkbooksListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options WorkbooksListBySubscriptionOperationOptions, predicate WorkbookOperationPredicate) (result WorkbooksListBySubscriptionCompleteResult, err error)
WorkbooksListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (WorkbooksAPIsClient) WorkbooksRevisionGet ¶
func (c WorkbooksAPIsClient) WorkbooksRevisionGet(ctx context.Context, id RevisionId) (result WorkbooksRevisionGetOperationResponse, err error)
WorkbooksRevisionGet ...
func (WorkbooksAPIsClient) WorkbooksRevisionsList ¶
func (c WorkbooksAPIsClient) WorkbooksRevisionsList(ctx context.Context, id WorkbookId) (result WorkbooksRevisionsListOperationResponse, err error)
WorkbooksRevisionsList ...
func (WorkbooksAPIsClient) WorkbooksRevisionsListComplete ¶
func (c WorkbooksAPIsClient) WorkbooksRevisionsListComplete(ctx context.Context, id WorkbookId) (WorkbooksRevisionsListCompleteResult, error)
WorkbooksRevisionsListComplete retrieves all the results into a single object
func (WorkbooksAPIsClient) WorkbooksRevisionsListCompleteMatchingPredicate ¶
func (c WorkbooksAPIsClient) WorkbooksRevisionsListCompleteMatchingPredicate(ctx context.Context, id WorkbookId, predicate WorkbookOperationPredicate) (result WorkbooksRevisionsListCompleteResult, err error)
WorkbooksRevisionsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (WorkbooksAPIsClient) WorkbooksUpdate ¶
func (c WorkbooksAPIsClient) WorkbooksUpdate(ctx context.Context, id WorkbookId, input WorkbookUpdateParameters, options WorkbooksUpdateOperationOptions) (result WorkbooksUpdateOperationResponse, err error)
WorkbooksUpdate ...
type WorkbooksCreateOrUpdateOperationOptions ¶
type WorkbooksCreateOrUpdateOperationOptions struct {
SourceId *string
}
func DefaultWorkbooksCreateOrUpdateOperationOptions ¶
func DefaultWorkbooksCreateOrUpdateOperationOptions() WorkbooksCreateOrUpdateOperationOptions
func (WorkbooksCreateOrUpdateOperationOptions) ToHeaders ¶
func (o WorkbooksCreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (WorkbooksCreateOrUpdateOperationOptions) ToOData ¶
func (o WorkbooksCreateOrUpdateOperationOptions) ToOData() *odata.Query
func (WorkbooksCreateOrUpdateOperationOptions) ToQuery ¶
func (o WorkbooksCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type WorkbooksGetOperationOptions ¶
type WorkbooksGetOperationOptions struct {
CanFetchContent *bool
}
func DefaultWorkbooksGetOperationOptions ¶
func DefaultWorkbooksGetOperationOptions() WorkbooksGetOperationOptions
func (WorkbooksGetOperationOptions) ToHeaders ¶
func (o WorkbooksGetOperationOptions) ToHeaders() *client.Headers
func (WorkbooksGetOperationOptions) ToOData ¶
func (o WorkbooksGetOperationOptions) ToOData() *odata.Query
func (WorkbooksGetOperationOptions) ToQuery ¶
func (o WorkbooksGetOperationOptions) ToQuery() *client.QueryParams
type WorkbooksListByResourceGroupCompleteResult ¶
type WorkbooksListByResourceGroupCompleteResult struct {
Items []Workbook
}
type WorkbooksListByResourceGroupOperationOptions ¶
type WorkbooksListByResourceGroupOperationOptions struct { CanFetchContent *bool Category *CategoryType SourceId *string Tags *string }
func DefaultWorkbooksListByResourceGroupOperationOptions ¶
func DefaultWorkbooksListByResourceGroupOperationOptions() WorkbooksListByResourceGroupOperationOptions
func (WorkbooksListByResourceGroupOperationOptions) ToHeaders ¶
func (o WorkbooksListByResourceGroupOperationOptions) ToHeaders() *client.Headers
func (WorkbooksListByResourceGroupOperationOptions) ToOData ¶
func (o WorkbooksListByResourceGroupOperationOptions) ToOData() *odata.Query
func (WorkbooksListByResourceGroupOperationOptions) ToQuery ¶
func (o WorkbooksListByResourceGroupOperationOptions) ToQuery() *client.QueryParams
type WorkbooksListBySubscriptionCompleteResult ¶
type WorkbooksListBySubscriptionCompleteResult struct {
Items []Workbook
}
type WorkbooksListBySubscriptionOperationOptions ¶
type WorkbooksListBySubscriptionOperationOptions struct { CanFetchContent *bool Category *CategoryType Tags *string }
func DefaultWorkbooksListBySubscriptionOperationOptions ¶
func DefaultWorkbooksListBySubscriptionOperationOptions() WorkbooksListBySubscriptionOperationOptions
func (WorkbooksListBySubscriptionOperationOptions) ToHeaders ¶
func (o WorkbooksListBySubscriptionOperationOptions) ToHeaders() *client.Headers
func (WorkbooksListBySubscriptionOperationOptions) ToOData ¶
func (o WorkbooksListBySubscriptionOperationOptions) ToOData() *odata.Query
func (WorkbooksListBySubscriptionOperationOptions) ToQuery ¶
func (o WorkbooksListBySubscriptionOperationOptions) ToQuery() *client.QueryParams
type WorkbooksRevisionsListCompleteResult ¶
type WorkbooksRevisionsListCompleteResult struct {
Items []Workbook
}
type WorkbooksUpdateOperationOptions ¶
type WorkbooksUpdateOperationOptions struct {
SourceId *string
}
func DefaultWorkbooksUpdateOperationOptions ¶
func DefaultWorkbooksUpdateOperationOptions() WorkbooksUpdateOperationOptions
func (WorkbooksUpdateOperationOptions) ToHeaders ¶
func (o WorkbooksUpdateOperationOptions) ToHeaders() *client.Headers
func (WorkbooksUpdateOperationOptions) ToOData ¶
func (o WorkbooksUpdateOperationOptions) ToOData() *odata.Query
func (WorkbooksUpdateOperationOptions) ToQuery ¶
func (o WorkbooksUpdateOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- constants.go
- id_revision.go
- id_workbook.go
- method_workbookscreateorupdate.go
- method_workbooksdelete.go
- method_workbooksget.go
- method_workbookslistbyresourcegroup.go
- method_workbookslistbysubscription.go
- method_workbooksrevisionget.go
- method_workbooksrevisionslist.go
- method_workbooksupdate.go
- model_workbook.go
- model_workbookproperties.go
- model_workbookpropertiesupdateparameters.go
- model_workbookupdateparameters.go
- predicates.go
- version.go