Documentation ¶
Index ¶
- func ValidateHuntID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRelationID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type HuntId
- type HuntRelation
- type HuntRelationOperationPredicate
- type HuntRelationProperties
- type HuntRelationsClient
- func (c HuntRelationsClient) CreateOrUpdate(ctx context.Context, id RelationId, input HuntRelation) (result CreateOrUpdateOperationResponse, err error)
- func (c HuntRelationsClient) Delete(ctx context.Context, id RelationId) (result DeleteOperationResponse, err error)
- func (c HuntRelationsClient) Get(ctx context.Context, id RelationId) (result GetOperationResponse, err error)
- func (c HuntRelationsClient) List(ctx context.Context, id HuntId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c HuntRelationsClient) ListComplete(ctx context.Context, id HuntId, options ListOperationOptions) (ListCompleteResult, error)
- func (c HuntRelationsClient) ListCompleteMatchingPredicate(ctx context.Context, id HuntId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
- type RelationId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateHuntID ¶
ValidateHuntID checks that 'input' can be parsed as a Hunt ID
func ValidateRelationID ¶
ValidateRelationID checks that 'input' can be parsed as a Relation ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *HuntRelation }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *HuntRelation }
type HuntId ¶
type HuntId struct { SubscriptionId string ResourceGroupName string WorkspaceName string HuntId string }
HuntId is a struct representing the Resource ID for a Hunt
func NewHuntID ¶
func NewHuntID(subscriptionId string, resourceGroupName string, workspaceName string, huntId string) HuntId
NewHuntID returns a new HuntId struct
func ParseHuntID ¶
ParseHuntID parses 'input' into a HuntId
func ParseHuntIDInsensitively ¶
ParseHuntIDInsensitively parses 'input' case-insensitively into a HuntId note: this method should only be used for API response data and not user input
func (*HuntId) FromParseResult ¶
func (id *HuntId) FromParseResult(input resourceids.ParseResult) error
func (HuntId) Segments ¶
func (id HuntId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Hunt ID
type HuntRelation ¶
type HuntRelation struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *HuntRelationProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type HuntRelationOperationPredicate ¶
func (HuntRelationOperationPredicate) Matches ¶
func (p HuntRelationOperationPredicate) Matches(input HuntRelation) bool
type HuntRelationProperties ¶
type HuntRelationProperties struct { Labels *[]string `json:"labels,omitempty"` RelatedResourceId string `json:"relatedResourceId"` RelatedResourceKind *string `json:"relatedResourceKind,omitempty"` RelatedResourceName *string `json:"relatedResourceName,omitempty"` RelationType *string `json:"relationType,omitempty"` }
type HuntRelationsClient ¶
type HuntRelationsClient struct {
Client *resourcemanager.Client
}
func NewHuntRelationsClientWithBaseURI ¶
func NewHuntRelationsClientWithBaseURI(sdkApi sdkEnv.Api) (*HuntRelationsClient, error)
func (HuntRelationsClient) CreateOrUpdate ¶
func (c HuntRelationsClient) CreateOrUpdate(ctx context.Context, id RelationId, input HuntRelation) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (HuntRelationsClient) Delete ¶
func (c HuntRelationsClient) Delete(ctx context.Context, id RelationId) (result DeleteOperationResponse, err error)
Delete ...
func (HuntRelationsClient) Get ¶
func (c HuntRelationsClient) Get(ctx context.Context, id RelationId) (result GetOperationResponse, err error)
Get ...
func (HuntRelationsClient) List ¶
func (c HuntRelationsClient) List(ctx context.Context, id HuntId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (HuntRelationsClient) ListComplete ¶
func (c HuntRelationsClient) ListComplete(ctx context.Context, id HuntId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (HuntRelationsClient) ListCompleteMatchingPredicate ¶
func (c HuntRelationsClient) ListCompleteMatchingPredicate(ctx context.Context, id HuntId, options ListOperationOptions, predicate HuntRelationOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []HuntRelation }
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 ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]HuntRelation }
type RelationId ¶
type RelationId struct { SubscriptionId string ResourceGroupName string WorkspaceName string HuntId string HuntRelationId string }
RelationId is a struct representing the Resource ID for a Relation
func NewRelationID ¶
func NewRelationID(subscriptionId string, resourceGroupName string, workspaceName string, huntId string, huntRelationId 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