Documentation ¶
Index ¶
- func ValidateApiID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceApiID(input interface{}, key string) (warnings []string, errors []error)
- type ApiId
- type ApiRevisionClient
- func (c ApiRevisionClient) ListByService(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
- func (c ApiRevisionClient) ListByServiceComplete(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c ApiRevisionClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error)
- func (c ApiRevisionClient) WorkspaceApiRevisionListByService(ctx context.Context, id WorkspaceApiId, ...) (result WorkspaceApiRevisionListByServiceOperationResponse, err error)
- func (c ApiRevisionClient) WorkspaceApiRevisionListByServiceComplete(ctx context.Context, id WorkspaceApiId, ...) (WorkspaceApiRevisionListByServiceCompleteResult, error)
- func (c ApiRevisionClient) WorkspaceApiRevisionListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceApiId, ...) (result WorkspaceApiRevisionListByServiceCompleteResult, err error)
- type ApiRevisionContract
- type ApiRevisionContractOperationPredicate
- type ListByServiceCompleteResult
- type ListByServiceCustomPager
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type WorkspaceApiId
- type WorkspaceApiRevisionListByServiceCompleteResult
- type WorkspaceApiRevisionListByServiceCustomPager
- type WorkspaceApiRevisionListByServiceOperationOptions
- type WorkspaceApiRevisionListByServiceOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateApiID ¶
ValidateApiID checks that 'input' can be parsed as a Api ID
func ValidateWorkspaceApiID ¶
ValidateWorkspaceApiID checks that 'input' can be parsed as a Workspace Api ID
Types ¶
type ApiId ¶
type ApiId struct { SubscriptionId string ResourceGroupName string ServiceName string ApiId string }
ApiId is a struct representing the Resource ID for a Api
func NewApiID ¶
func NewApiID(subscriptionId string, resourceGroupName string, serviceName string, apiId string) ApiId
NewApiID returns a new ApiId struct
func ParseApiID ¶
ParseApiID parses 'input' into a ApiId
func ParseApiIDInsensitively ¶
ParseApiIDInsensitively parses 'input' case-insensitively into a ApiId note: this method should only be used for API response data and not user input
func (*ApiId) FromParseResult ¶
func (id *ApiId) FromParseResult(input resourceids.ParseResult) error
func (ApiId) Segments ¶
func (id ApiId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api ID
type ApiRevisionClient ¶
type ApiRevisionClient struct {
Client *resourcemanager.Client
}
func NewApiRevisionClientWithBaseURI ¶
func NewApiRevisionClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiRevisionClient, error)
func (ApiRevisionClient) ListByService ¶
func (c ApiRevisionClient) ListByService(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (ApiRevisionClient) ListByServiceComplete ¶
func (c ApiRevisionClient) ListByServiceComplete(ctx context.Context, id ApiId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (ApiRevisionClient) ListByServiceCompleteMatchingPredicate ¶
func (c ApiRevisionClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByServiceOperationOptions, predicate ApiRevisionContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ApiRevisionClient) WorkspaceApiRevisionListByService ¶
func (c ApiRevisionClient) WorkspaceApiRevisionListByService(ctx context.Context, id WorkspaceApiId, options WorkspaceApiRevisionListByServiceOperationOptions) (result WorkspaceApiRevisionListByServiceOperationResponse, err error)
WorkspaceApiRevisionListByService ...
func (ApiRevisionClient) WorkspaceApiRevisionListByServiceComplete ¶
func (c ApiRevisionClient) WorkspaceApiRevisionListByServiceComplete(ctx context.Context, id WorkspaceApiId, options WorkspaceApiRevisionListByServiceOperationOptions) (WorkspaceApiRevisionListByServiceCompleteResult, error)
WorkspaceApiRevisionListByServiceComplete retrieves all the results into a single object
func (ApiRevisionClient) WorkspaceApiRevisionListByServiceCompleteMatchingPredicate ¶
func (c ApiRevisionClient) WorkspaceApiRevisionListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceApiId, options WorkspaceApiRevisionListByServiceOperationOptions, predicate ApiRevisionContractOperationPredicate) (result WorkspaceApiRevisionListByServiceCompleteResult, err error)
WorkspaceApiRevisionListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ApiRevisionContract ¶
type ApiRevisionContract struct { ApiId *string `json:"apiId,omitempty"` ApiRevision *string `json:"apiRevision,omitempty"` CreatedDateTime *string `json:"createdDateTime,omitempty"` Description *string `json:"description,omitempty"` IsCurrent *bool `json:"isCurrent,omitempty"` IsOnline *bool `json:"isOnline,omitempty"` PrivateUrl *string `json:"privateUrl,omitempty"` UpdatedDateTime *string `json:"updatedDateTime,omitempty"` }
func (*ApiRevisionContract) GetCreatedDateTimeAsTime ¶
func (o *ApiRevisionContract) GetCreatedDateTimeAsTime() (*time.Time, error)
func (*ApiRevisionContract) GetUpdatedDateTimeAsTime ¶
func (o *ApiRevisionContract) GetUpdatedDateTimeAsTime() (*time.Time, error)
func (*ApiRevisionContract) SetCreatedDateTimeAsTime ¶
func (o *ApiRevisionContract) SetCreatedDateTimeAsTime(input time.Time)
func (*ApiRevisionContract) SetUpdatedDateTimeAsTime ¶
func (o *ApiRevisionContract) SetUpdatedDateTimeAsTime(input time.Time)
type ApiRevisionContractOperationPredicate ¶
type ApiRevisionContractOperationPredicate struct { ApiId *string ApiRevision *string CreatedDateTime *string Description *string IsCurrent *bool IsOnline *bool PrivateUrl *string UpdatedDateTime *string }
func (ApiRevisionContractOperationPredicate) Matches ¶
func (p ApiRevisionContractOperationPredicate) Matches(input ApiRevisionContract) bool
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []ApiRevisionContract }
type ListByServiceCustomPager ¶ added in v0.20240628.1153531
func (*ListByServiceCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByServiceCustomPager) NextPageLink() *odata.Link
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 *[]ApiRevisionContract }
type WorkspaceApiId ¶
type WorkspaceApiId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string ApiId string }
WorkspaceApiId is a struct representing the Resource ID for a Workspace Api
func NewWorkspaceApiID ¶
func NewWorkspaceApiID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, apiId string) WorkspaceApiId
NewWorkspaceApiID returns a new WorkspaceApiId struct
func ParseWorkspaceApiID ¶
func ParseWorkspaceApiID(input string) (*WorkspaceApiId, error)
ParseWorkspaceApiID parses 'input' into a WorkspaceApiId
func ParseWorkspaceApiIDInsensitively ¶
func ParseWorkspaceApiIDInsensitively(input string) (*WorkspaceApiId, error)
ParseWorkspaceApiIDInsensitively parses 'input' case-insensitively into a WorkspaceApiId note: this method should only be used for API response data and not user input
func (*WorkspaceApiId) FromParseResult ¶
func (id *WorkspaceApiId) FromParseResult(input resourceids.ParseResult) error
func (WorkspaceApiId) ID ¶
func (id WorkspaceApiId) ID() string
ID returns the formatted Workspace Api ID
func (WorkspaceApiId) Segments ¶
func (id WorkspaceApiId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace Api ID
func (WorkspaceApiId) String ¶
func (id WorkspaceApiId) String() string
String returns a human-readable description of this Workspace Api ID
type WorkspaceApiRevisionListByServiceCompleteResult ¶
type WorkspaceApiRevisionListByServiceCompleteResult struct { LatestHttpResponse *http.Response Items []ApiRevisionContract }
type WorkspaceApiRevisionListByServiceCustomPager ¶ added in v0.20240628.1153531
func (*WorkspaceApiRevisionListByServiceCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *WorkspaceApiRevisionListByServiceCustomPager) NextPageLink() *odata.Link
type WorkspaceApiRevisionListByServiceOperationOptions ¶
type WorkspaceApiRevisionListByServiceOperationOptions struct { Filter *string Skip *int64 Top *int64 }
func DefaultWorkspaceApiRevisionListByServiceOperationOptions ¶
func DefaultWorkspaceApiRevisionListByServiceOperationOptions() WorkspaceApiRevisionListByServiceOperationOptions
func (WorkspaceApiRevisionListByServiceOperationOptions) ToHeaders ¶
func (o WorkspaceApiRevisionListByServiceOperationOptions) ToHeaders() *client.Headers
func (WorkspaceApiRevisionListByServiceOperationOptions) ToOData ¶
func (o WorkspaceApiRevisionListByServiceOperationOptions) ToOData() *odata.Query
func (WorkspaceApiRevisionListByServiceOperationOptions) ToQuery ¶
func (o WorkspaceApiRevisionListByServiceOperationOptions) ToQuery() *client.QueryParams
type WorkspaceApiRevisionListByServiceOperationResponse ¶
type WorkspaceApiRevisionListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ApiRevisionContract }