Documentation ¶
Index ¶
- func ValidateBookmarkID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBookmarkRelationID(input interface{}, key string) (warnings []string, errors []error)
- type BookmarkId
- type BookmarkRelationId
- type BookmarkRelationsClient
- func (c BookmarkRelationsClient) CreateOrUpdate(ctx context.Context, id BookmarkRelationId, input Relation) (result CreateOrUpdateOperationResponse, err error)
- func (c BookmarkRelationsClient) Delete(ctx context.Context, id BookmarkRelationId) (result DeleteOperationResponse, err error)
- func (c BookmarkRelationsClient) Get(ctx context.Context, id BookmarkRelationId) (result GetOperationResponse, err error)
- func (c BookmarkRelationsClient) List(ctx context.Context, id BookmarkId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c BookmarkRelationsClient) ListComplete(ctx context.Context, id BookmarkId, options ListOperationOptions) (ListCompleteResult, error)
- func (c BookmarkRelationsClient) ListCompleteMatchingPredicate(ctx context.Context, id BookmarkId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type Relation
- type RelationOperationPredicate
- type RelationProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateBookmarkID ¶
ValidateBookmarkID checks that 'input' can be parsed as a Bookmark ID
func ValidateBookmarkRelationID ¶
ValidateBookmarkRelationID checks that 'input' can be parsed as a Bookmark Relation ID
Types ¶
type BookmarkId ¶
type BookmarkId struct { SubscriptionId string ResourceGroupName string WorkspaceName string BookmarkId string }
BookmarkId is a struct representing the Resource ID for a Bookmark
func NewBookmarkID ¶
func NewBookmarkID(subscriptionId string, resourceGroupName string, workspaceName string, bookmarkId string) BookmarkId
NewBookmarkID returns a new BookmarkId struct
func ParseBookmarkID ¶
func ParseBookmarkID(input string) (*BookmarkId, error)
ParseBookmarkID parses 'input' into a BookmarkId
func ParseBookmarkIDInsensitively ¶
func ParseBookmarkIDInsensitively(input string) (*BookmarkId, error)
ParseBookmarkIDInsensitively parses 'input' case-insensitively into a BookmarkId note: this method should only be used for API response data and not user input
func (*BookmarkId) FromParseResult ¶
func (id *BookmarkId) FromParseResult(input resourceids.ParseResult) error
func (BookmarkId) Segments ¶
func (id BookmarkId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Bookmark ID
func (BookmarkId) String ¶
func (id BookmarkId) String() string
String returns a human-readable description of this Bookmark ID
type BookmarkRelationId ¶
type BookmarkRelationId struct { SubscriptionId string ResourceGroupName string WorkspaceName string BookmarkId string RelationName string }
BookmarkRelationId is a struct representing the Resource ID for a Bookmark Relation
func NewBookmarkRelationID ¶
func NewBookmarkRelationID(subscriptionId string, resourceGroupName string, workspaceName string, bookmarkId string, relationName string) BookmarkRelationId
NewBookmarkRelationID returns a new BookmarkRelationId struct
func ParseBookmarkRelationID ¶
func ParseBookmarkRelationID(input string) (*BookmarkRelationId, error)
ParseBookmarkRelationID parses 'input' into a BookmarkRelationId
func ParseBookmarkRelationIDInsensitively ¶
func ParseBookmarkRelationIDInsensitively(input string) (*BookmarkRelationId, error)
ParseBookmarkRelationIDInsensitively parses 'input' case-insensitively into a BookmarkRelationId note: this method should only be used for API response data and not user input
func (*BookmarkRelationId) FromParseResult ¶
func (id *BookmarkRelationId) FromParseResult(input resourceids.ParseResult) error
func (BookmarkRelationId) ID ¶
func (id BookmarkRelationId) ID() string
ID returns the formatted Bookmark Relation ID
func (BookmarkRelationId) Segments ¶
func (id BookmarkRelationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Bookmark Relation ID
func (BookmarkRelationId) String ¶
func (id BookmarkRelationId) String() string
String returns a human-readable description of this Bookmark Relation ID
type BookmarkRelationsClient ¶
type BookmarkRelationsClient struct {
Client *resourcemanager.Client
}
func NewBookmarkRelationsClientWithBaseURI ¶
func NewBookmarkRelationsClientWithBaseURI(sdkApi sdkEnv.Api) (*BookmarkRelationsClient, error)
func (BookmarkRelationsClient) CreateOrUpdate ¶
func (c BookmarkRelationsClient) CreateOrUpdate(ctx context.Context, id BookmarkRelationId, input Relation) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (BookmarkRelationsClient) Delete ¶
func (c BookmarkRelationsClient) Delete(ctx context.Context, id BookmarkRelationId) (result DeleteOperationResponse, err error)
Delete ...
func (BookmarkRelationsClient) Get ¶
func (c BookmarkRelationsClient) Get(ctx context.Context, id BookmarkRelationId) (result GetOperationResponse, err error)
Get ...
func (BookmarkRelationsClient) List ¶
func (c BookmarkRelationsClient) List(ctx context.Context, id BookmarkId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (BookmarkRelationsClient) ListComplete ¶
func (c BookmarkRelationsClient) ListComplete(ctx context.Context, id BookmarkId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (BookmarkRelationsClient) ListCompleteMatchingPredicate ¶
func (c BookmarkRelationsClient) ListCompleteMatchingPredicate(ctx context.Context, id BookmarkId, options ListOperationOptions, predicate RelationOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type Relation ¶
type Relation struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RelationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type RelationOperationPredicate ¶
func (RelationOperationPredicate) Matches ¶
func (p RelationOperationPredicate) Matches(input Relation) bool