Documentation ¶
Index ¶
- func PossibleValuesForCategoryType() []string
- func PossibleValuesForSharedTypeKind() []string
- func ValidateWorkbookID(input interface{}, key string) (warnings []string, errors []error)
- type CategoryType
- type SharedTypeKind
- type Workbook
- type WorkbookId
- type WorkbookProperties
- 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) (result WorkbooksGetOperationResponse, err error)
- func (c WorkbooksAPIsClient) WorkbooksListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId, ...) (result WorkbooksListByResourceGroupOperationResponse, err error)
- func (c WorkbooksAPIsClient) WorkbooksUpdate(ctx context.Context, id WorkbookId, input Workbook) (result WorkbooksUpdateOperationResponse, err error)
- type WorkbooksCreateOrUpdateOperationResponse
- type WorkbooksDeleteOperationResponse
- type WorkbooksGetOperationResponse
- type WorkbooksListByResourceGroupOperationOptions
- type WorkbooksListByResourceGroupOperationResponse
- type WorkbooksListResult
- type WorkbooksUpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCategoryType ¶
func PossibleValuesForCategoryType() []string
func PossibleValuesForSharedTypeKind ¶
func PossibleValuesForSharedTypeKind() []string
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 SharedTypeKind ¶
type SharedTypeKind string
const ()
func (*SharedTypeKind) UnmarshalJSON ¶
func (s *SharedTypeKind) UnmarshalJSON(bytes []byte) error
type Workbook ¶
type Workbook struct { Id *string `json:"id,omitempty"` Kind *SharedTypeKind `json:"kind,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *WorkbookProperties `json:"properties,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) FromParseResult ¶ added in v0.20231127.1171502
func (id *WorkbookId) FromParseResult(input resourceids.ParseResult) error
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 WorkbookProperties ¶
type WorkbookProperties struct { Category string `json:"category"` Kind SharedTypeKind `json:"kind"` Name string `json:"name"` SerializedData string `json:"serializedData"` SourceResourceId *string `json:"sourceResourceId,omitempty"` Tags *[]string `json:"tags,omitempty"` TimeModified *string `json:"timeModified,omitempty"` UserId string `json:"userId"` Version *string `json:"version,omitempty"` WorkbookId string `json:"workbookId"` }
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) (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) (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) WorkbooksUpdate ¶
func (c WorkbooksAPIsClient) WorkbooksUpdate(ctx context.Context, id WorkbookId, input Workbook) (result WorkbooksUpdateOperationResponse, err error)
WorkbooksUpdate ...
type WorkbooksListByResourceGroupOperationOptions ¶
type WorkbooksListByResourceGroupOperationOptions struct { CanFetchContent *bool Category *CategoryType 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 WorkbooksListByResourceGroupOperationResponse ¶
type WorkbooksListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *WorkbooksListResult }
type WorkbooksListResult ¶
type WorkbooksListResult struct {
Value *[]Workbook `json:"value,omitempty"`
}