Documentation ¶
Index ¶
- func PossibleValuesForState() []string
- func ValidateIssueID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type IssueClient
- func (c IssueClient) Get(ctx context.Context, id IssueId) (result GetOperationResponse, err error)
- func (c IssueClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
- func (c IssueClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c IssueClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error)
- type IssueContract
- type IssueContractOperationPredicate
- type IssueContractProperties
- type IssueId
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type ServiceId
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForState ¶
func PossibleValuesForState() []string
func ValidateIssueID ¶
ValidateIssueID checks that 'input' can be parsed as a Issue ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *IssueContract }
type IssueClient ¶
type IssueClient struct {
Client *resourcemanager.Client
}
func NewIssueClientWithBaseURI ¶
func NewIssueClientWithBaseURI(sdkApi sdkEnv.Api) (*IssueClient, error)
func (IssueClient) Get ¶
func (c IssueClient) Get(ctx context.Context, id IssueId) (result GetOperationResponse, err error)
Get ...
func (IssueClient) ListByService ¶
func (c IssueClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (IssueClient) ListByServiceComplete ¶
func (c IssueClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (IssueClient) ListByServiceCompleteMatchingPredicate ¶
func (c IssueClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate IssueContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type IssueContract ¶
type IssueContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *IssueContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type IssueContractOperationPredicate ¶
func (IssueContractOperationPredicate) Matches ¶
func (p IssueContractOperationPredicate) Matches(input IssueContract) bool
type IssueContractProperties ¶
type IssueContractProperties struct { ApiId *string `json:"apiId,omitempty"` CreatedDate *string `json:"createdDate,omitempty"` Description string `json:"description"` State *State `json:"state,omitempty"` Title string `json:"title"` UserId string `json:"userId"` }
func (*IssueContractProperties) GetCreatedDateAsTime ¶
func (o *IssueContractProperties) GetCreatedDateAsTime() (*time.Time, error)
func (*IssueContractProperties) SetCreatedDateAsTime ¶
func (o *IssueContractProperties) SetCreatedDateAsTime(input time.Time)
type IssueId ¶
type IssueId struct { SubscriptionId string ResourceGroupName string ServiceName string IssueId string }
IssueId is a struct representing the Resource ID for a Issue
func NewIssueID ¶
func NewIssueID(subscriptionId string, resourceGroupName string, serviceName string, issueId string) IssueId
NewIssueID returns a new IssueId struct
func ParseIssueID ¶
ParseIssueID parses 'input' into a IssueId
func ParseIssueIDInsensitively ¶
ParseIssueIDInsensitively parses 'input' case-insensitively into a IssueId note: this method should only be used for API response data and not user input
func (*IssueId) FromParseResult ¶ added in v0.20231127.1171502
func (id *IssueId) FromParseResult(input resourceids.ParseResult) error
func (IssueId) Segments ¶
func (id IssueId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Issue ID
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []IssueContract }
type ListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions ¶
func DefaultListByServiceOperationOptions() ListByServiceOperationOptions
func (ListByServiceOperationOptions) ToHeaders ¶ added in v0.20230801.1071415
func (o ListByServiceOperationOptions) ToHeaders() *client.Headers
func (ListByServiceOperationOptions) ToOData ¶ added in v0.20230801.1071415
func (o ListByServiceOperationOptions) ToOData() *odata.Query
func (ListByServiceOperationOptions) ToQuery ¶ added in v0.20230801.1071415
func (o ListByServiceOperationOptions) ToQuery() *client.QueryParams
type ListByServiceOperationResponse ¶
type ListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]IssueContract }
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (*ServiceId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID