Documentation ¶
Index ¶
- func PossibleValuesForProductState() []string
- func ValidateApiID(input interface{}, key string) (warnings []string, errors []error)
- type ApiId
- type ApiProductClient
- func (c ApiProductClient) ListByApis(ctx context.Context, id ApiId, options ListByApisOperationOptions) (resp ListByApisOperationResponse, err error)
- func (c ApiProductClient) ListByApisComplete(ctx context.Context, id ApiId, options ListByApisOperationOptions) (ListByApisCompleteResult, error)
- func (c ApiProductClient) ListByApisCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByApisOperationOptions, ...) (resp ListByApisCompleteResult, err error)
- type ListByApisCompleteResult
- type ListByApisOperationOptions
- type ListByApisOperationResponse
- type ProductContract
- type ProductContractOperationPredicate
- type ProductContractProperties
- type ProductState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProductState ¶
func PossibleValuesForProductState() []string
func ValidateApiID ¶
ValidateApiID checks that 'input' can be parsed as a 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) Segments ¶
func (id ApiId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Api ID
type ApiProductClient ¶
func NewApiProductClientWithBaseURI ¶
func NewApiProductClientWithBaseURI(endpoint string) ApiProductClient
func (ApiProductClient) ListByApis ¶
func (c ApiProductClient) ListByApis(ctx context.Context, id ApiId, options ListByApisOperationOptions) (resp ListByApisOperationResponse, err error)
ListByApis ...
func (ApiProductClient) ListByApisComplete ¶
func (c ApiProductClient) ListByApisComplete(ctx context.Context, id ApiId, options ListByApisOperationOptions) (ListByApisCompleteResult, error)
ListByApisComplete retrieves all of the results into a single object
func (ApiProductClient) ListByApisCompleteMatchingPredicate ¶
func (c ApiProductClient) ListByApisCompleteMatchingPredicate(ctx context.Context, id ApiId, options ListByApisOperationOptions, predicate ProductContractOperationPredicate) (resp ListByApisCompleteResult, err error)
ListByApisCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ListByApisCompleteResult ¶
type ListByApisCompleteResult struct {
Items []ProductContract
}
type ListByApisOperationOptions ¶
func DefaultListByApisOperationOptions ¶
func DefaultListByApisOperationOptions() ListByApisOperationOptions
type ListByApisOperationResponse ¶
type ListByApisOperationResponse struct { HttpResponse *http.Response Model *[]ProductContract // contains filtered or unexported fields }
func (ListByApisOperationResponse) HasMore ¶
func (r ListByApisOperationResponse) HasMore() bool
func (ListByApisOperationResponse) LoadMore ¶
func (r ListByApisOperationResponse) LoadMore(ctx context.Context) (resp ListByApisOperationResponse, err error)
type ProductContract ¶
type ProductContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ProductContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type ProductContractOperationPredicate ¶
func (ProductContractOperationPredicate) Matches ¶
func (p ProductContractOperationPredicate) Matches(input ProductContract) bool
type ProductContractProperties ¶
type ProductContractProperties struct { ApprovalRequired *bool `json:"approvalRequired,omitempty"` Description *string `json:"description,omitempty"` DisplayName string `json:"displayName"` State *ProductState `json:"state,omitempty"` SubscriptionRequired *bool `json:"subscriptionRequired,omitempty"` SubscriptionsLimit *int64 `json:"subscriptionsLimit,omitempty"` Terms *string `json:"terms,omitempty"` }
type ProductState ¶
type ProductState string
const ( ProductStateNotPublished ProductState = "notPublished" ProductStatePublished ProductState = "published" )
Click to show internal directories.
Click to hide internal directories.