Documentation ¶
Index ¶
- func ValidateDashboardID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type Dashboard
- type DashboardClient
- func (c DashboardClient) CreateOrUpdate(ctx context.Context, id DashboardId, input Dashboard) (result CreateOrUpdateOperationResponse, err error)
- func (c DashboardClient) Delete(ctx context.Context, id DashboardId) (result DeleteOperationResponse, err error)
- func (c DashboardClient) Get(ctx context.Context, id DashboardId) (result GetOperationResponse, err error)
- func (c DashboardClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c DashboardClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c DashboardClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c DashboardClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c DashboardClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c DashboardClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c DashboardClient) Update(ctx context.Context, id DashboardId, input PatchableDashboard) (result UpdateOperationResponse, err error)
- type DashboardId
- type DashboardLens
- type DashboardOperationPredicate
- type DashboardPartMetadata
- type DashboardParts
- type DashboardPartsPosition
- type DashboardProperties
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type MarkdownPartMetadata
- type MarkdownPartMetadataSettings
- type MarkdownPartMetadataSettingsContent
- type MarkdownPartMetadataSettingsContentSettings
- type PatchableDashboard
- type RawDashboardPartMetadataImpl
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateDashboardID ¶
ValidateDashboardID checks that 'input' can be parsed as a Dashboard ID
Types ¶
type DashboardClient ¶
type DashboardClient struct {
Client *resourcemanager.Client
}
func NewDashboardClientWithBaseURI ¶
func NewDashboardClientWithBaseURI(sdkApi sdkEnv.Api) (*DashboardClient, error)
func (DashboardClient) CreateOrUpdate ¶
func (c DashboardClient) CreateOrUpdate(ctx context.Context, id DashboardId, input Dashboard) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DashboardClient) Delete ¶
func (c DashboardClient) Delete(ctx context.Context, id DashboardId) (result DeleteOperationResponse, err error)
Delete ...
func (DashboardClient) Get ¶
func (c DashboardClient) Get(ctx context.Context, id DashboardId) (result GetOperationResponse, err error)
Get ...
func (DashboardClient) ListByResourceGroup ¶
func (c DashboardClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (DashboardClient) ListByResourceGroupComplete ¶
func (c DashboardClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (DashboardClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c DashboardClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate DashboardOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DashboardClient) ListBySubscription ¶
func (c DashboardClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (DashboardClient) ListBySubscriptionComplete ¶
func (c DashboardClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (DashboardClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c DashboardClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DashboardOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DashboardClient) Update ¶
func (c DashboardClient) Update(ctx context.Context, id DashboardId, input PatchableDashboard) (result UpdateOperationResponse, err error)
Update ...
type DashboardId ¶
DashboardId is a struct representing the Resource ID for a Dashboard
func NewDashboardID ¶
func NewDashboardID(subscriptionId string, resourceGroupName string, dashboardName string) DashboardId
NewDashboardID returns a new DashboardId struct
func ParseDashboardID ¶
func ParseDashboardID(input string) (*DashboardId, error)
ParseDashboardID parses 'input' into a DashboardId
func ParseDashboardIDInsensitively ¶
func ParseDashboardIDInsensitively(input string) (*DashboardId, error)
ParseDashboardIDInsensitively parses 'input' case-insensitively into a DashboardId note: this method should only be used for API response data and not user input
func (*DashboardId) FromParseResult ¶
func (id *DashboardId) FromParseResult(input resourceids.ParseResult) error
func (DashboardId) Segments ¶
func (id DashboardId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Dashboard ID
func (DashboardId) String ¶
func (id DashboardId) String() string
String returns a human-readable description of this Dashboard ID
type DashboardLens ¶
type DashboardLens struct { Metadata *map[string]interface{} `json:"metadata,omitempty"` Order int64 `json:"order"` Parts []DashboardParts `json:"parts"` }
type DashboardOperationPredicate ¶
func (DashboardOperationPredicate) Matches ¶
func (p DashboardOperationPredicate) Matches(input Dashboard) bool
type DashboardPartMetadata ¶
type DashboardPartMetadata interface { }
type DashboardParts ¶
type DashboardParts struct { Metadata DashboardPartMetadata `json:"metadata"` Position DashboardPartsPosition `json:"position"` }
func (*DashboardParts) UnmarshalJSON ¶
func (s *DashboardParts) UnmarshalJSON(bytes []byte) error
type DashboardPartsPosition ¶
type DashboardProperties ¶
type DashboardProperties struct { Lenses *[]DashboardLens `json:"lenses,omitempty"` Metadata *map[string]interface{} `json:"metadata,omitempty"` }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type MarkdownPartMetadata ¶
type MarkdownPartMetadata struct { Inputs *[]interface{} `json:"inputs,omitempty"` Settings *MarkdownPartMetadataSettings `json:"settings,omitempty"` }
func (MarkdownPartMetadata) MarshalJSON ¶
func (s MarkdownPartMetadata) MarshalJSON() ([]byte, error)
type MarkdownPartMetadataSettings ¶
type MarkdownPartMetadataSettings struct {
Content *MarkdownPartMetadataSettingsContent `json:"content,omitempty"`
}
type MarkdownPartMetadataSettingsContent ¶
type MarkdownPartMetadataSettingsContent struct {
Settings *MarkdownPartMetadataSettingsContentSettings `json:"settings,omitempty"`
}
type PatchableDashboard ¶
type PatchableDashboard struct { Properties *DashboardProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type RawDashboardPartMetadataImpl ¶
RawDashboardPartMetadataImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
Source Files ¶
- client.go
- id_dashboard.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_dashboard.go
- model_dashboardlens.go
- model_dashboardpartmetadata.go
- model_dashboardparts.go
- model_dashboardpartsposition.go
- model_dashboardproperties.go
- model_markdownpartmetadata.go
- model_markdownpartmetadatasettings.go
- model_markdownpartmetadatasettingscontent.go
- model_markdownpartmetadatasettingscontentsettings.go
- model_patchabledashboard.go
- predicates.go
- version.go