Documentation ¶
Index ¶
- func ValidateApiIssueID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateAttachmentID(input interface{}, key string) (warnings []string, errors []error)
- type ApiIssueAttachmentClient
- func (c ApiIssueAttachmentClient) CreateOrUpdate(ctx context.Context, id AttachmentId, input IssueAttachmentContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ApiIssueAttachmentClient) Delete(ctx context.Context, id AttachmentId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c ApiIssueAttachmentClient) Get(ctx context.Context, id AttachmentId) (result GetOperationResponse, err error)
- func (c ApiIssueAttachmentClient) GetEntityTag(ctx context.Context, id AttachmentId) (result GetEntityTagOperationResponse, err error)
- func (c ApiIssueAttachmentClient) ListByService(ctx context.Context, id ApiIssueId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
- func (c ApiIssueAttachmentClient) ListByServiceComplete(ctx context.Context, id ApiIssueId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c ApiIssueAttachmentClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ApiIssueId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error)
- type ApiIssueId
- type AttachmentId
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type IssueAttachmentContract
- type IssueAttachmentContractOperationPredicate
- type IssueAttachmentContractProperties
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateApiIssueID ¶
ValidateApiIssueID checks that 'input' can be parsed as a Api Issue ID
func ValidateAttachmentID ¶
ValidateAttachmentID checks that 'input' can be parsed as a Attachment ID
Types ¶
type ApiIssueAttachmentClient ¶
type ApiIssueAttachmentClient struct {
Client *resourcemanager.Client
}
func NewApiIssueAttachmentClientWithBaseURI ¶
func NewApiIssueAttachmentClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiIssueAttachmentClient, error)
func (ApiIssueAttachmentClient) CreateOrUpdate ¶
func (c ApiIssueAttachmentClient) CreateOrUpdate(ctx context.Context, id AttachmentId, input IssueAttachmentContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ApiIssueAttachmentClient) Delete ¶
func (c ApiIssueAttachmentClient) Delete(ctx context.Context, id AttachmentId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (ApiIssueAttachmentClient) Get ¶
func (c ApiIssueAttachmentClient) Get(ctx context.Context, id AttachmentId) (result GetOperationResponse, err error)
Get ...
func (ApiIssueAttachmentClient) GetEntityTag ¶
func (c ApiIssueAttachmentClient) GetEntityTag(ctx context.Context, id AttachmentId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (ApiIssueAttachmentClient) ListByService ¶
func (c ApiIssueAttachmentClient) ListByService(ctx context.Context, id ApiIssueId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (ApiIssueAttachmentClient) ListByServiceComplete ¶
func (c ApiIssueAttachmentClient) ListByServiceComplete(ctx context.Context, id ApiIssueId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (ApiIssueAttachmentClient) ListByServiceCompleteMatchingPredicate ¶
func (c ApiIssueAttachmentClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ApiIssueId, options ListByServiceOperationOptions, predicate IssueAttachmentContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ApiIssueId ¶
type ApiIssueId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string IssueId string }
ApiIssueId is a struct representing the Resource ID for a Api Issue
func NewApiIssueID ¶
func NewApiIssueID(subscriptionId string, resourceGroupName string, serviceName string, apiId string, issueId string) ApiIssueId
NewApiIssueID returns a new ApiIssueId struct
func ParseApiIssueID ¶
func ParseApiIssueID(input string) (*ApiIssueId, error)
ParseApiIssueID parses 'input' into a ApiIssueId
func ParseApiIssueIDInsensitively ¶
func ParseApiIssueIDInsensitively(input string) (*ApiIssueId, error)
ParseApiIssueIDInsensitively parses 'input' case-insensitively into a ApiIssueId note: this method should only be used for API response data and not user input
func (*ApiIssueId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ApiIssueId) FromParseResult(input resourceids.ParseResult) error
func (ApiIssueId) Segments ¶
func (id ApiIssueId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api Issue ID
func (ApiIssueId) String ¶
func (id ApiIssueId) String() string
String returns a human-readable description of this Api Issue ID
type AttachmentId ¶
type AttachmentId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string IssueId string AttachmentId string }
AttachmentId is a struct representing the Resource ID for a Attachment
func NewAttachmentID ¶
func NewAttachmentID(subscriptionId string, resourceGroupName string, serviceName string, apiId string, issueId string, attachmentId string) AttachmentId
NewAttachmentID returns a new AttachmentId struct
func ParseAttachmentID ¶
func ParseAttachmentID(input string) (*AttachmentId, error)
ParseAttachmentID parses 'input' into a AttachmentId
func ParseAttachmentIDInsensitively ¶
func ParseAttachmentIDInsensitively(input string) (*AttachmentId, error)
ParseAttachmentIDInsensitively parses 'input' case-insensitively into a AttachmentId note: this method should only be used for API response data and not user input
func (*AttachmentId) FromParseResult ¶ added in v0.20231127.1171502
func (id *AttachmentId) FromParseResult(input resourceids.ParseResult) error
func (AttachmentId) Segments ¶
func (id AttachmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Attachment ID
func (AttachmentId) String ¶
func (id AttachmentId) String() string
String returns a human-readable description of this Attachment ID
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *IssueAttachmentContract }
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
IfMatch *string
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *IssueAttachmentContract }
type IssueAttachmentContract ¶
type IssueAttachmentContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *IssueAttachmentContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type IssueAttachmentContractOperationPredicate ¶
func (IssueAttachmentContractOperationPredicate) Matches ¶
func (p IssueAttachmentContractOperationPredicate) Matches(input IssueAttachmentContract) bool
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []IssueAttachmentContract }
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶
func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]IssueAttachmentContract }