Documentation ¶
Index ¶
- func ValidatePrivateLinkResourceID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type ListByServerCompleteResult
- type ListByServerOperationResponse
- type PrivateLinkResource
- type PrivateLinkResourceId
- type PrivateLinkResourceOperationPredicate
- type PrivateLinkResourceProperties
- type PrivateLinkResourcesClient
- func (c PrivateLinkResourcesClient) Get(ctx context.Context, id PrivateLinkResourceId) (result GetOperationResponse, err error)
- func (c PrivateLinkResourcesClient) ListByServer(ctx context.Context, id commonids.SqlServerId) (result ListByServerOperationResponse, err error)
- func (c PrivateLinkResourcesClient) ListByServerComplete(ctx context.Context, id commonids.SqlServerId) (ListByServerCompleteResult, error)
- func (c PrivateLinkResourcesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, ...) (result ListByServerCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ListByServerCompleteResult ¶
type ListByServerCompleteResult struct { LatestHttpResponse *http.Response Items []PrivateLinkResource }
type ListByServerOperationResponse ¶
type ListByServerOperationResponse 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"` Type *string `json:"type,omitempty"` }
type PrivateLinkResourceId ¶
type PrivateLinkResourceId struct { SubscriptionId string ResourceGroupName string ServerName string PrivateLinkResourceName string }
PrivateLinkResourceId is a struct representing the Resource ID for a Private Link Resource
func NewPrivateLinkResourceID ¶
func NewPrivateLinkResourceID(subscriptionId string, resourceGroupName string, serverName 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) FromParseResult ¶
func (id *PrivateLinkResourceId) FromParseResult(input resourceids.ParseResult) error
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 PrivateLinkResourcesClient ¶
type PrivateLinkResourcesClient struct {
Client *resourcemanager.Client
}
func NewPrivateLinkResourcesClientWithBaseURI ¶
func NewPrivateLinkResourcesClientWithBaseURI(sdkApi sdkEnv.Api) (*PrivateLinkResourcesClient, error)
func (PrivateLinkResourcesClient) Get ¶
func (c PrivateLinkResourcesClient) Get(ctx context.Context, id PrivateLinkResourceId) (result GetOperationResponse, err error)
Get ...
func (PrivateLinkResourcesClient) ListByServer ¶
func (c PrivateLinkResourcesClient) ListByServer(ctx context.Context, id commonids.SqlServerId) (result ListByServerOperationResponse, err error)
ListByServer ...
func (PrivateLinkResourcesClient) ListByServerComplete ¶
func (c PrivateLinkResourcesClient) ListByServerComplete(ctx context.Context, id commonids.SqlServerId) (ListByServerCompleteResult, error)
ListByServerComplete retrieves all the results into a single object
func (PrivateLinkResourcesClient) ListByServerCompleteMatchingPredicate ¶
func (c PrivateLinkResourcesClient) ListByServerCompleteMatchingPredicate(ctx context.Context, id commonids.SqlServerId, predicate PrivateLinkResourceOperationPredicate) (result ListByServerCompleteResult, err error)
ListByServerCompleteMatchingPredicate retrieves all the results and then applies the predicate