Documentation ¶
Index ¶
- func ValidateCommentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateHuntID(input interface{}, key string) (warnings []string, errors []error)
- type CommentId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type HuntComment
- type HuntCommentOperationPredicate
- type HuntCommentProperties
- type HuntCommentsClient
- func (c HuntCommentsClient) CreateOrUpdate(ctx context.Context, id CommentId, input HuntComment) (result CreateOrUpdateOperationResponse, err error)
- func (c HuntCommentsClient) Delete(ctx context.Context, id CommentId) (result DeleteOperationResponse, err error)
- func (c HuntCommentsClient) Get(ctx context.Context, id CommentId) (result GetOperationResponse, err error)
- func (c HuntCommentsClient) List(ctx context.Context, id HuntId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c HuntCommentsClient) ListComplete(ctx context.Context, id HuntId, options ListOperationOptions) (ListCompleteResult, error)
- func (c HuntCommentsClient) ListCompleteMatchingPredicate(ctx context.Context, id HuntId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type HuntId
- type ListCompleteResult
- type ListCustomPager
- type ListOperationOptions
- type ListOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateCommentID ¶
ValidateCommentID checks that 'input' can be parsed as a Comment ID
func ValidateHuntID ¶
ValidateHuntID checks that 'input' can be parsed as a Hunt ID
Types ¶
type CommentId ¶
type CommentId struct { SubscriptionId string ResourceGroupName string WorkspaceName string HuntId string HuntCommentId string }
CommentId is a struct representing the Resource ID for a Comment
func NewCommentID ¶
func NewCommentID(subscriptionId string, resourceGroupName string, workspaceName string, huntId string, huntCommentId string) CommentId
NewCommentID returns a new CommentId struct
func ParseCommentID ¶
ParseCommentID parses 'input' into a CommentId
func ParseCommentIDInsensitively ¶
ParseCommentIDInsensitively parses 'input' case-insensitively into a CommentId note: this method should only be used for API response data and not user input
func (*CommentId) FromParseResult ¶
func (id *CommentId) FromParseResult(input resourceids.ParseResult) error
func (CommentId) Segments ¶
func (id CommentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Comment ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *HuntComment }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *HuntComment }
type HuntComment ¶
type HuntComment struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *HuntCommentProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type HuntCommentOperationPredicate ¶
func (HuntCommentOperationPredicate) Matches ¶
func (p HuntCommentOperationPredicate) Matches(input HuntComment) bool
type HuntCommentProperties ¶
type HuntCommentProperties struct {
Message string `json:"message"`
}
type HuntCommentsClient ¶
type HuntCommentsClient struct {
Client *resourcemanager.Client
}
func NewHuntCommentsClientWithBaseURI ¶
func NewHuntCommentsClientWithBaseURI(sdkApi sdkEnv.Api) (*HuntCommentsClient, error)
func (HuntCommentsClient) CreateOrUpdate ¶
func (c HuntCommentsClient) CreateOrUpdate(ctx context.Context, id CommentId, input HuntComment) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (HuntCommentsClient) Delete ¶
func (c HuntCommentsClient) Delete(ctx context.Context, id CommentId) (result DeleteOperationResponse, err error)
Delete ...
func (HuntCommentsClient) Get ¶
func (c HuntCommentsClient) Get(ctx context.Context, id CommentId) (result GetOperationResponse, err error)
Get ...
func (HuntCommentsClient) List ¶
func (c HuntCommentsClient) List(ctx context.Context, id HuntId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (HuntCommentsClient) ListComplete ¶
func (c HuntCommentsClient) ListComplete(ctx context.Context, id HuntId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (HuntCommentsClient) ListCompleteMatchingPredicate ¶
func (c HuntCommentsClient) ListCompleteMatchingPredicate(ctx context.Context, id HuntId, options ListOperationOptions, predicate HuntCommentOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
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 ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []HuntComment }
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 *[]HuntComment }