Documentation ¶
Index ¶
- func ValidateEntityID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRelationID(input interface{}, key string) (warnings []string, errors []error)
- type EntitiesRelationsListCompleteResult
- type EntitiesRelationsListCustomPager
- type EntitiesRelationsListOperationOptions
- type EntitiesRelationsListOperationResponse
- type EntityId
- type EntityRelationsClient
- func (c EntityRelationsClient) EntitiesRelationsList(ctx context.Context, id EntityId, ...) (result EntitiesRelationsListOperationResponse, err error)
- func (c EntityRelationsClient) EntitiesRelationsListComplete(ctx context.Context, id EntityId, ...) (EntitiesRelationsListCompleteResult, error)
- func (c EntityRelationsClient) EntitiesRelationsListCompleteMatchingPredicate(ctx context.Context, id EntityId, ...) (result EntitiesRelationsListCompleteResult, err error)
- func (c EntityRelationsClient) GetRelation(ctx context.Context, id RelationId) (result GetRelationOperationResponse, err error)
- type GetRelationOperationResponse
- type Relation
- type RelationId
- type RelationOperationPredicate
- type RelationProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateEntityID ¶
ValidateEntityID checks that 'input' can be parsed as a Entity ID
func ValidateRelationID ¶
ValidateRelationID checks that 'input' can be parsed as a Relation ID
Types ¶
type EntitiesRelationsListCustomPager ¶
func (*EntitiesRelationsListCustomPager) NextPageLink ¶
func (p *EntitiesRelationsListCustomPager) NextPageLink() *odata.Link
type EntitiesRelationsListOperationOptions ¶
func DefaultEntitiesRelationsListOperationOptions ¶
func DefaultEntitiesRelationsListOperationOptions() EntitiesRelationsListOperationOptions
func (EntitiesRelationsListOperationOptions) ToHeaders ¶
func (o EntitiesRelationsListOperationOptions) ToHeaders() *client.Headers
func (EntitiesRelationsListOperationOptions) ToOData ¶
func (o EntitiesRelationsListOperationOptions) ToOData() *odata.Query
func (EntitiesRelationsListOperationOptions) ToQuery ¶
func (o EntitiesRelationsListOperationOptions) ToQuery() *client.QueryParams
type EntityId ¶
type EntityId struct { SubscriptionId string ResourceGroupName string WorkspaceName string EntityId string }
EntityId is a struct representing the Resource ID for a Entity
func NewEntityID ¶
func NewEntityID(subscriptionId string, resourceGroupName string, workspaceName string, entityId string) EntityId
NewEntityID returns a new EntityId struct
func ParseEntityID ¶
ParseEntityID parses 'input' into a EntityId
func ParseEntityIDInsensitively ¶
ParseEntityIDInsensitively parses 'input' case-insensitively into a EntityId note: this method should only be used for API response data and not user input
func (*EntityId) FromParseResult ¶
func (id *EntityId) FromParseResult(input resourceids.ParseResult) error
func (EntityId) Segments ¶
func (id EntityId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Entity ID
type EntityRelationsClient ¶
type EntityRelationsClient struct {
Client *resourcemanager.Client
}
func NewEntityRelationsClientWithBaseURI ¶
func NewEntityRelationsClientWithBaseURI(sdkApi sdkEnv.Api) (*EntityRelationsClient, error)
func (EntityRelationsClient) EntitiesRelationsList ¶
func (c EntityRelationsClient) EntitiesRelationsList(ctx context.Context, id EntityId, options EntitiesRelationsListOperationOptions) (result EntitiesRelationsListOperationResponse, err error)
EntitiesRelationsList ...
func (EntityRelationsClient) EntitiesRelationsListComplete ¶
func (c EntityRelationsClient) EntitiesRelationsListComplete(ctx context.Context, id EntityId, options EntitiesRelationsListOperationOptions) (EntitiesRelationsListCompleteResult, error)
EntitiesRelationsListComplete retrieves all the results into a single object
func (EntityRelationsClient) EntitiesRelationsListCompleteMatchingPredicate ¶
func (c EntityRelationsClient) EntitiesRelationsListCompleteMatchingPredicate(ctx context.Context, id EntityId, options EntitiesRelationsListOperationOptions, predicate RelationOperationPredicate) (result EntitiesRelationsListCompleteResult, err error)
EntitiesRelationsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (EntityRelationsClient) GetRelation ¶
func (c EntityRelationsClient) GetRelation(ctx context.Context, id RelationId) (result GetRelationOperationResponse, err error)
GetRelation ...
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 RelationId ¶
type RelationId struct { SubscriptionId string ResourceGroupName string WorkspaceName string EntityId string RelationName string }
RelationId is a struct representing the Resource ID for a Relation
func NewRelationID ¶
func NewRelationID(subscriptionId string, resourceGroupName string, workspaceName string, entityId string, relationName string) RelationId
NewRelationID returns a new RelationId struct
func ParseRelationID ¶
func ParseRelationID(input string) (*RelationId, error)
ParseRelationID parses 'input' into a RelationId
func ParseRelationIDInsensitively ¶
func ParseRelationIDInsensitively(input string) (*RelationId, error)
ParseRelationIDInsensitively parses 'input' case-insensitively into a RelationId note: this method should only be used for API response data and not user input
func (*RelationId) FromParseResult ¶
func (id *RelationId) FromParseResult(input resourceids.ParseResult) error
func (RelationId) Segments ¶
func (id RelationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Relation ID
func (RelationId) String ¶
func (id RelationId) String() string
String returns a human-readable description of this Relation ID
type RelationOperationPredicate ¶
func (RelationOperationPredicate) Matches ¶
func (p RelationOperationPredicate) Matches(input Relation) bool