Documentation ¶
Index ¶
- func ValidateScopedPrivateLinkResourceID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type ListByResourceCompleteResult
- type ListByResourceOperationOptions
- type ListByResourceOperationResponse
- type PrivateLinkResource
- type PrivateLinkResourceOperationPredicate
- type PrivateLinkResourceProperties
- type PrivateLinkResourcesClient
- func (c PrivateLinkResourcesClient) Get(ctx context.Context, id ScopedPrivateLinkResourceId) (result GetOperationResponse, err error)
- func (c PrivateLinkResourcesClient) ListByResource(ctx context.Context, id commonids.ScopeId, ...) (result ListByResourceOperationResponse, err error)
- func (c PrivateLinkResourcesClient) ListByResourceComplete(ctx context.Context, id commonids.ScopeId, ...) (ListByResourceCompleteResult, error)
- func (c PrivateLinkResourcesClient) ListByResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListByResourceCompleteResult, err error)
- type ScopedPrivateLinkResourceId
- func NewScopedPrivateLinkResourceID(scope string, privateLinkResourceName string) ScopedPrivateLinkResourceId
- func ParseScopedPrivateLinkResourceID(input string) (*ScopedPrivateLinkResourceId, error)
- func ParseScopedPrivateLinkResourceIDInsensitively(input string) (*ScopedPrivateLinkResourceId, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateScopedPrivateLinkResourceID ¶
func ValidateScopedPrivateLinkResourceID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedPrivateLinkResourceID checks that 'input' can be parsed as a Scoped Private Link Resource ID
Types ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PrivateLinkResource }
type ListByResourceCompleteResult ¶
type ListByResourceCompleteResult struct {
Items []PrivateLinkResource
}
type ListByResourceOperationOptions ¶
func DefaultListByResourceOperationOptions ¶
func DefaultListByResourceOperationOptions() ListByResourceOperationOptions
func (ListByResourceOperationOptions) ToHeaders ¶
func (o ListByResourceOperationOptions) ToHeaders() *client.Headers
func (ListByResourceOperationOptions) ToOData ¶
func (o ListByResourceOperationOptions) ToOData() *odata.Query
func (ListByResourceOperationOptions) ToQuery ¶
func (o ListByResourceOperationOptions) ToQuery() *client.QueryParams
type ListByResourceOperationResponse ¶
type ListByResourceOperationResponse 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 PrivateLinkResourceOperationPredicate ¶
func (PrivateLinkResourceOperationPredicate) Matches ¶
func (p PrivateLinkResourceOperationPredicate) Matches(input PrivateLinkResource) bool
type PrivateLinkResourcesClient ¶
type PrivateLinkResourcesClient struct {
Client *resourcemanager.Client
}
func NewPrivateLinkResourcesClientWithBaseURI ¶
func NewPrivateLinkResourcesClientWithBaseURI(api environments.Api) (*PrivateLinkResourcesClient, error)
func (PrivateLinkResourcesClient) Get ¶
func (c PrivateLinkResourcesClient) Get(ctx context.Context, id ScopedPrivateLinkResourceId) (result GetOperationResponse, err error)
Get ...
func (PrivateLinkResourcesClient) ListByResource ¶
func (c PrivateLinkResourcesClient) ListByResource(ctx context.Context, id commonids.ScopeId, options ListByResourceOperationOptions) (result ListByResourceOperationResponse, err error)
ListByResource ...
func (PrivateLinkResourcesClient) ListByResourceComplete ¶
func (c PrivateLinkResourcesClient) ListByResourceComplete(ctx context.Context, id commonids.ScopeId, options ListByResourceOperationOptions) (ListByResourceCompleteResult, error)
ListByResourceComplete retrieves all the results into a single object
func (PrivateLinkResourcesClient) ListByResourceCompleteMatchingPredicate ¶
func (c PrivateLinkResourcesClient) ListByResourceCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListByResourceOperationOptions, predicate PrivateLinkResourceOperationPredicate) (result ListByResourceCompleteResult, err error)
ListByResourceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ScopedPrivateLinkResourceId ¶
ScopedPrivateLinkResourceId is a struct representing the Resource ID for a Scoped Private Link Resource
func NewScopedPrivateLinkResourceID ¶
func NewScopedPrivateLinkResourceID(scope string, privateLinkResourceName string) ScopedPrivateLinkResourceId
NewScopedPrivateLinkResourceID returns a new ScopedPrivateLinkResourceId struct
func ParseScopedPrivateLinkResourceID ¶
func ParseScopedPrivateLinkResourceID(input string) (*ScopedPrivateLinkResourceId, error)
ParseScopedPrivateLinkResourceID parses 'input' into a ScopedPrivateLinkResourceId
func ParseScopedPrivateLinkResourceIDInsensitively ¶
func ParseScopedPrivateLinkResourceIDInsensitively(input string) (*ScopedPrivateLinkResourceId, error)
ParseScopedPrivateLinkResourceIDInsensitively parses 'input' case-insensitively into a ScopedPrivateLinkResourceId note: this method should only be used for API response data and not user input
func (ScopedPrivateLinkResourceId) ID ¶
func (id ScopedPrivateLinkResourceId) ID() string
ID returns the formatted Scoped Private Link Resource ID
func (ScopedPrivateLinkResourceId) Segments ¶
func (id ScopedPrivateLinkResourceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Private Link Resource ID
func (ScopedPrivateLinkResourceId) String ¶
func (id ScopedPrivateLinkResourceId) String() string
String returns a human-readable description of this Scoped Private Link Resource ID