Documentation ¶
Index ¶
- func ValidateIncidentID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateIncidentRelationID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type IncidentId
- type IncidentRelationId
- type IncidentRelationsClient
- func (c IncidentRelationsClient) CreateOrUpdate(ctx context.Context, id IncidentRelationId, input Relation) (result CreateOrUpdateOperationResponse, err error)
- func (c IncidentRelationsClient) Delete(ctx context.Context, id IncidentRelationId) (result DeleteOperationResponse, err error)
- func (c IncidentRelationsClient) Get(ctx context.Context, id IncidentRelationId) (result GetOperationResponse, err error)
- func (c IncidentRelationsClient) List(ctx context.Context, id IncidentId, options ListOperationOptions) (resp ListOperationResponse, err error)
- func (c IncidentRelationsClient) ListComplete(ctx context.Context, id IncidentId, options ListOperationOptions) (ListCompleteResult, error)
- func (c IncidentRelationsClient) ListCompleteMatchingPredicate(ctx context.Context, id IncidentId, options ListOperationOptions, ...) (resp ListCompleteResult, err error)
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type Relation
- type RelationOperationPredicate
- type RelationProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateIncidentID ¶
ValidateIncidentID checks that 'input' can be parsed as a Incident ID
func ValidateIncidentRelationID ¶ added in v0.20230523.1140858
ValidateIncidentRelationID checks that 'input' can be parsed as a Incident Relation ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type IncidentId ¶
type IncidentId struct { SubscriptionId string ResourceGroupName string WorkspaceName string IncidentId string }
IncidentId is a struct representing the Resource ID for a Incident
func NewIncidentID ¶
func NewIncidentID(subscriptionId string, resourceGroupName string, workspaceName string, incidentId string) IncidentId
NewIncidentID returns a new IncidentId struct
func ParseIncidentID ¶
func ParseIncidentID(input string) (*IncidentId, error)
ParseIncidentID parses 'input' into a IncidentId
func ParseIncidentIDInsensitively ¶
func ParseIncidentIDInsensitively(input string) (*IncidentId, error)
ParseIncidentIDInsensitively parses 'input' case-insensitively into a IncidentId note: this method should only be used for API response data and not user input
func (IncidentId) Segments ¶
func (id IncidentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Incident ID
func (IncidentId) String ¶
func (id IncidentId) String() string
String returns a human-readable description of this Incident ID
type IncidentRelationId ¶ added in v0.20230523.1140858
type IncidentRelationId struct { SubscriptionId string ResourceGroupName string WorkspaceName string IncidentId string RelationName string }
IncidentRelationId is a struct representing the Resource ID for a Incident Relation
func NewIncidentRelationID ¶ added in v0.20230523.1140858
func NewIncidentRelationID(subscriptionId string, resourceGroupName string, workspaceName string, incidentId string, relationName string) IncidentRelationId
NewIncidentRelationID returns a new IncidentRelationId struct
func ParseIncidentRelationID ¶ added in v0.20230523.1140858
func ParseIncidentRelationID(input string) (*IncidentRelationId, error)
ParseIncidentRelationID parses 'input' into a IncidentRelationId
func ParseIncidentRelationIDInsensitively ¶ added in v0.20230523.1140858
func ParseIncidentRelationIDInsensitively(input string) (*IncidentRelationId, error)
ParseIncidentRelationIDInsensitively parses 'input' case-insensitively into a IncidentRelationId note: this method should only be used for API response data and not user input
func (IncidentRelationId) ID ¶ added in v0.20230523.1140858
func (id IncidentRelationId) ID() string
ID returns the formatted Incident Relation ID
func (IncidentRelationId) Segments ¶ added in v0.20230523.1140858
func (id IncidentRelationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Incident Relation ID
func (IncidentRelationId) String ¶ added in v0.20230523.1140858
func (id IncidentRelationId) String() string
String returns a human-readable description of this Incident Relation ID
type IncidentRelationsClient ¶
type IncidentRelationsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewIncidentRelationsClientWithBaseURI ¶
func NewIncidentRelationsClientWithBaseURI(endpoint string) IncidentRelationsClient
func (IncidentRelationsClient) CreateOrUpdate ¶
func (c IncidentRelationsClient) CreateOrUpdate(ctx context.Context, id IncidentRelationId, input Relation) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (IncidentRelationsClient) Delete ¶
func (c IncidentRelationsClient) Delete(ctx context.Context, id IncidentRelationId) (result DeleteOperationResponse, err error)
Delete ...
func (IncidentRelationsClient) Get ¶
func (c IncidentRelationsClient) Get(ctx context.Context, id IncidentRelationId) (result GetOperationResponse, err error)
Get ...
func (IncidentRelationsClient) List ¶
func (c IncidentRelationsClient) List(ctx context.Context, id IncidentId, options ListOperationOptions) (resp ListOperationResponse, err error)
List ...
func (IncidentRelationsClient) ListComplete ¶
func (c IncidentRelationsClient) ListComplete(ctx context.Context, id IncidentId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (IncidentRelationsClient) ListCompleteMatchingPredicate ¶
func (c IncidentRelationsClient) ListCompleteMatchingPredicate(ctx context.Context, id IncidentId, options ListOperationOptions, predicate RelationOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Relation
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Relation // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
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