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 DashboardParts
- type DashboardPartsPosition
- type DashboardProperties
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type PatchableDashboard
- 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 map[string]DashboardParts `json:"parts"` }
type DashboardOperationPredicate ¶
func (DashboardOperationPredicate) Matches ¶
func (p DashboardOperationPredicate) Matches(input Dashboard) bool
type DashboardParts ¶
type DashboardParts struct { Metadata *interface{} `json:"metadata,omitempty"` Position DashboardPartsPosition `json:"position"` }
type DashboardPartsPosition ¶
type DashboardProperties ¶
type DashboardProperties struct { Lenses *map[string]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 PatchableDashboard ¶
type PatchableDashboard struct { Properties *DashboardProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
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_dashboardparts.go
- model_dashboardpartsposition.go
- model_dashboardproperties.go
- model_patchabledashboard.go
- predicates.go
- version.go