Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateGrafanaID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePrivateLinkResourceID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type GrafanaId
- type ListCompleteResult
- type ListOperationResponse
- type PrivateLinkResource
- type PrivateLinkResourceClient
- func (c PrivateLinkResourceClient) Get(ctx context.Context, id PrivateLinkResourceId) (result GetOperationResponse, err error)
- func (c PrivateLinkResourceClient) List(ctx context.Context, id GrafanaId) (result ListOperationResponse, err error)
- func (c PrivateLinkResourceClient) ListComplete(ctx context.Context, id GrafanaId) (ListCompleteResult, error)
- func (c PrivateLinkResourceClient) ListCompleteMatchingPredicate(ctx context.Context, id GrafanaId, ...) (result ListCompleteResult, err error)
- type PrivateLinkResourceId
- type PrivateLinkResourceOperationPredicate
- type PrivateLinkResourceProperties
- type ProvisioningState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateGrafanaID ¶
ValidateGrafanaID checks that 'input' can be parsed as a Grafana ID
func ValidatePrivateLinkResourceID ¶
func ValidatePrivateLinkResourceID(input interface{}, key string) (warnings []string, errors []error)
ValidatePrivateLinkResourceID checks that 'input' can be parsed as a Private Link Resource ID
Types ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PrivateLinkResource }
type GrafanaId ¶
GrafanaId is a struct representing the Resource ID for a Grafana
func NewGrafanaID ¶
NewGrafanaID returns a new GrafanaId struct
func ParseGrafanaID ¶
ParseGrafanaID parses 'input' into a GrafanaId
func ParseGrafanaIDInsensitively ¶
ParseGrafanaIDInsensitively parses 'input' case-insensitively into a GrafanaId note: this method should only be used for API response data and not user input
func (GrafanaId) Segments ¶
func (id GrafanaId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Grafana ID
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []PrivateLinkResource
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PrivateLinkResource }
type PrivateLinkResource ¶
type PrivateLinkResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateLinkResourceProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateLinkResourceClient ¶
type PrivateLinkResourceClient struct {
Client *resourcemanager.Client
}
func NewPrivateLinkResourceClientWithBaseURI ¶
func NewPrivateLinkResourceClientWithBaseURI(api environments.Api) (*PrivateLinkResourceClient, error)
func (PrivateLinkResourceClient) Get ¶
func (c PrivateLinkResourceClient) Get(ctx context.Context, id PrivateLinkResourceId) (result GetOperationResponse, err error)
Get ...
func (PrivateLinkResourceClient) List ¶
func (c PrivateLinkResourceClient) List(ctx context.Context, id GrafanaId) (result ListOperationResponse, err error)
List ...
func (PrivateLinkResourceClient) ListComplete ¶
func (c PrivateLinkResourceClient) ListComplete(ctx context.Context, id GrafanaId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (PrivateLinkResourceClient) ListCompleteMatchingPredicate ¶
func (c PrivateLinkResourceClient) ListCompleteMatchingPredicate(ctx context.Context, id GrafanaId, predicate PrivateLinkResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type PrivateLinkResourceId ¶
type PrivateLinkResourceId struct { SubscriptionId string ResourceGroupName string GrafanaName string PrivateLinkResourceName string }
PrivateLinkResourceId is a struct representing the Resource ID for a Private Link Resource
func NewPrivateLinkResourceID ¶
func NewPrivateLinkResourceID(subscriptionId string, resourceGroupName string, grafanaName string, privateLinkResourceName string) PrivateLinkResourceId
NewPrivateLinkResourceID returns a new PrivateLinkResourceId struct
func ParsePrivateLinkResourceID ¶
func ParsePrivateLinkResourceID(input string) (*PrivateLinkResourceId, error)
ParsePrivateLinkResourceID parses 'input' into a PrivateLinkResourceId
func ParsePrivateLinkResourceIDInsensitively ¶
func ParsePrivateLinkResourceIDInsensitively(input string) (*PrivateLinkResourceId, error)
ParsePrivateLinkResourceIDInsensitively parses 'input' case-insensitively into a PrivateLinkResourceId note: this method should only be used for API response data and not user input
func (PrivateLinkResourceId) ID ¶
func (id PrivateLinkResourceId) ID() string
ID returns the formatted Private Link Resource ID
func (PrivateLinkResourceId) Segments ¶
func (id PrivateLinkResourceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Private Link Resource ID
func (PrivateLinkResourceId) String ¶
func (id PrivateLinkResourceId) String() string
String returns a human-readable description of this Private Link Resource ID
type PrivateLinkResourceOperationPredicate ¶
func (PrivateLinkResourceOperationPredicate) Matches ¶
func (p PrivateLinkResourceOperationPredicate) Matches(input PrivateLinkResource) bool
type PrivateLinkResourceProperties ¶
type PrivateLinkResourceProperties struct { GroupId *string `json:"groupId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RequiredMembers *[]string `json:"requiredMembers,omitempty"` RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )