Documentation ¶
Index ¶
- func PossibleValuesForDashboardPartMetadataType() []string
- func PossibleValuesForResourceProvisioningState() []string
- func ValidateDashboardID(input interface{}, key string) (warnings []string, errors []error)
- type BaseDashboardPartMetadataImpl
- type CreateOrUpdateOperationResponse
- type Dashboard
- type DashboardId
- type DashboardLens
- type DashboardOperationPredicate
- type DashboardPartMetadata
- type DashboardPartMetadataType
- type DashboardParts
- type DashboardPartsPosition
- type DashboardProperties
- type DashboardPropertiesWithProvisioningState
- type DashboardsClient
- func (c DashboardsClient) CreateOrUpdate(ctx context.Context, id DashboardId, input Dashboard) (result CreateOrUpdateOperationResponse, err error)
- func (c DashboardsClient) Delete(ctx context.Context, id DashboardId) (result DeleteOperationResponse, err error)
- func (c DashboardsClient) Get(ctx context.Context, id DashboardId) (result GetOperationResponse, err error)
- func (c DashboardsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c DashboardsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c DashboardsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c DashboardsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c DashboardsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c DashboardsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c DashboardsClient) Update(ctx context.Context, id DashboardId, input PatchableDashboard) (result UpdateOperationResponse, err error)
- 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 ResourceProvisioningState
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDashboardPartMetadataType ¶
func PossibleValuesForDashboardPartMetadataType() []string
func PossibleValuesForResourceProvisioningState ¶
func PossibleValuesForResourceProvisioningState() []string
func ValidateDashboardID ¶
ValidateDashboardID checks that 'input' can be parsed as a Dashboard ID
Types ¶
type BaseDashboardPartMetadataImpl ¶ added in v0.20240920.1135249
type BaseDashboardPartMetadataImpl struct {
Type DashboardPartMetadataType `json:"type"`
}
func (BaseDashboardPartMetadataImpl) DashboardPartMetadata ¶ added in v0.20240920.1135249
func (s BaseDashboardPartMetadataImpl) DashboardPartMetadata() BaseDashboardPartMetadataImpl
type Dashboard ¶
type Dashboard struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *DashboardPropertiesWithProvisioningState `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
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 *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 {
DashboardPartMetadata() BaseDashboardPartMetadataImpl
}
func UnmarshalDashboardPartMetadataImplementation ¶ added in v0.20240920.1135249
func UnmarshalDashboardPartMetadataImplementation(input []byte) (DashboardPartMetadata, error)
type DashboardPartMetadataType ¶
type DashboardPartMetadataType string
const (
DashboardPartMetadataTypeExtensionHubsExtensionPartTypeMarkdownPart DashboardPartMetadataType = "Extension/HubsExtension/PartType/MarkdownPart"
)
func (*DashboardPartMetadataType) UnmarshalJSON ¶
func (s *DashboardPartMetadataType) UnmarshalJSON(bytes []byte) error
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 *interface{} `json:"metadata,omitempty"` }
type DashboardPropertiesWithProvisioningState ¶
type DashboardPropertiesWithProvisioningState struct { Lenses *[]DashboardLens `json:"lenses,omitempty"` Metadata *interface{} `json:"metadata,omitempty"` ProvisioningState *ResourceProvisioningState `json:"provisioningState,omitempty"` }
type DashboardsClient ¶
type DashboardsClient struct {
Client *resourcemanager.Client
}
func NewDashboardsClientWithBaseURI ¶
func NewDashboardsClientWithBaseURI(sdkApi sdkEnv.Api) (*DashboardsClient, error)
func (DashboardsClient) CreateOrUpdate ¶
func (c DashboardsClient) CreateOrUpdate(ctx context.Context, id DashboardId, input Dashboard) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (DashboardsClient) Delete ¶
func (c DashboardsClient) Delete(ctx context.Context, id DashboardId) (result DeleteOperationResponse, err error)
Delete ...
func (DashboardsClient) Get ¶
func (c DashboardsClient) Get(ctx context.Context, id DashboardId) (result GetOperationResponse, err error)
Get ...
func (DashboardsClient) ListByResourceGroup ¶
func (c DashboardsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (DashboardsClient) ListByResourceGroupComplete ¶
func (c DashboardsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (DashboardsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c DashboardsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate DashboardOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DashboardsClient) ListBySubscription ¶
func (c DashboardsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (DashboardsClient) ListBySubscriptionComplete ¶
func (c DashboardsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (DashboardsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c DashboardsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DashboardOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DashboardsClient) Update ¶
func (c DashboardsClient) Update(ctx context.Context, id DashboardId, input PatchableDashboard) (result UpdateOperationResponse, err error)
Update ...
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type MarkdownPartMetadata ¶
type MarkdownPartMetadata struct { Inputs *[]interface{} `json:"inputs,omitempty"` Settings *MarkdownPartMetadataSettings `json:"settings,omitempty"` Type DashboardPartMetadataType `json:"type"` }
func (MarkdownPartMetadata) DashboardPartMetadata ¶ added in v0.20240920.1135249
func (s MarkdownPartMetadata) DashboardPartMetadata() BaseDashboardPartMetadataImpl
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 ¶
type RawDashboardPartMetadataImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
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).
func (RawDashboardPartMetadataImpl) DashboardPartMetadata ¶ added in v0.20240920.1135249
func (s RawDashboardPartMetadataImpl) DashboardPartMetadata() BaseDashboardPartMetadataImpl
type ResourceProvisioningState ¶
type ResourceProvisioningState string
const ( ResourceProvisioningStateCanceled ResourceProvisioningState = "Canceled" ResourceProvisioningStateFailed ResourceProvisioningState = "Failed" ResourceProvisioningStateSucceeded ResourceProvisioningState = "Succeeded" )
func (*ResourceProvisioningState) UnmarshalJSON ¶
func (s *ResourceProvisioningState) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.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_dashboardpropertieswithprovisioningstate.go
- model_markdownpartmetadata.go
- model_markdownpartmetadatasettings.go
- model_markdownpartmetadatasettingscontent.go
- model_markdownpartmetadatasettingscontentsettings.go
- model_patchabledashboard.go
- predicates.go
- version.go