Documentation ¶
Index ¶
- func ValidateIncidentID(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 IncidentId
- type IncidentRelationsClient
- func (c IncidentRelationsClient) CreateOrUpdate(ctx context.Context, id RelationId, input Relation) (result CreateOrUpdateOperationResponse, err error)
- func (c IncidentRelationsClient) Delete(ctx context.Context, id RelationId) (result DeleteOperationResponse, err error)
- func (c IncidentRelationsClient) Get(ctx context.Context, id RelationId) (result GetOperationResponse, err error)
- func (c IncidentRelationsClient) List(ctx context.Context, id IncidentId, options ListOperationOptions) (result 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, ...) (result ListCompleteResult, err error)
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type Relation
- type RelationId
- 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 ValidateRelationID ¶
ValidateRelationID checks that 'input' can be parsed as a 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) FromParseResult ¶
func (id *IncidentId) FromParseResult(input resourceids.ParseResult) error
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 IncidentRelationsClient ¶
type IncidentRelationsClient struct {
Client *resourcemanager.Client
}
func NewIncidentRelationsClientWithBaseURI ¶
func NewIncidentRelationsClientWithBaseURI(sdkApi sdkEnv.Api) (*IncidentRelationsClient, error)
func (IncidentRelationsClient) CreateOrUpdate ¶
func (c IncidentRelationsClient) CreateOrUpdate(ctx context.Context, id RelationId, input Relation) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (IncidentRelationsClient) Delete ¶
func (c IncidentRelationsClient) Delete(ctx context.Context, id RelationId) (result DeleteOperationResponse, err error)
Delete ...
func (IncidentRelationsClient) Get ¶
func (c IncidentRelationsClient) Get(ctx context.Context, id RelationId) (result GetOperationResponse, err error)
Get ...
func (IncidentRelationsClient) List ¶
func (c IncidentRelationsClient) List(ctx context.Context, id IncidentId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (IncidentRelationsClient) ListComplete ¶
func (c IncidentRelationsClient) ListComplete(ctx context.Context, id IncidentId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (IncidentRelationsClient) ListCompleteMatchingPredicate ¶
func (c IncidentRelationsClient) ListCompleteMatchingPredicate(ctx context.Context, id IncidentId, options ListOperationOptions, predicate RelationOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListCompleteResult ¶
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20240221.1115631
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20240221.1115631
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20240221.1115631
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 RelationId ¶
type RelationId struct { SubscriptionId string ResourceGroupName string WorkspaceName string IncidentId string RelationName string }
RelationId is a struct representing the Resource ID for a Relation
func NewRelationID ¶
func NewRelationID(subscriptionId string, resourceGroupName string, workspaceName string, incidentId 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