Documentation ¶
Index ¶
- func PossibleValuesForGroupType() []string
- func ValidateProductGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProductID(input interface{}, key string) (warnings []string, errors []error)
- type CheckEntityExistsOperationResponse
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GroupContract
- type GroupContractOperationPredicate
- type GroupContractProperties
- type GroupType
- type ListByProductCompleteResult
- type ListByProductOperationOptions
- type ListByProductOperationResponse
- type ProductGroupClient
- func (c ProductGroupClient) CheckEntityExists(ctx context.Context, id ProductGroupId) (result CheckEntityExistsOperationResponse, err error)
- func (c ProductGroupClient) CreateOrUpdate(ctx context.Context, id ProductGroupId) (result CreateOrUpdateOperationResponse, err error)
- func (c ProductGroupClient) Delete(ctx context.Context, id ProductGroupId) (result DeleteOperationResponse, err error)
- func (c ProductGroupClient) ListByProduct(ctx context.Context, id ProductId, options ListByProductOperationOptions) (resp ListByProductOperationResponse, err error)
- func (c ProductGroupClient) ListByProductComplete(ctx context.Context, id ProductId, options ListByProductOperationOptions) (ListByProductCompleteResult, error)
- func (c ProductGroupClient) ListByProductCompleteMatchingPredicate(ctx context.Context, id ProductId, options ListByProductOperationOptions, ...) (resp ListByProductCompleteResult, err error)
- type ProductGroupId
- type ProductId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForGroupType ¶
func PossibleValuesForGroupType() []string
func ValidateProductGroupID ¶ added in v0.20230727.1090744
ValidateProductGroupID checks that 'input' can be parsed as a Product Group ID
func ValidateProductID ¶
ValidateProductID checks that 'input' can be parsed as a Product ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response Model *GroupContract }
type DeleteOperationResponse ¶
type GroupContract ¶
type GroupContract struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *GroupContractProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type GroupContractOperationPredicate ¶
func (GroupContractOperationPredicate) Matches ¶
func (p GroupContractOperationPredicate) Matches(input GroupContract) bool
type GroupContractProperties ¶
type ListByProductCompleteResult ¶
type ListByProductCompleteResult struct {
Items []GroupContract
}
type ListByProductOperationOptions ¶
func DefaultListByProductOperationOptions ¶
func DefaultListByProductOperationOptions() ListByProductOperationOptions
type ListByProductOperationResponse ¶
type ListByProductOperationResponse struct { HttpResponse *http.Response Model *[]GroupContract // contains filtered or unexported fields }
func (ListByProductOperationResponse) HasMore ¶
func (r ListByProductOperationResponse) HasMore() bool
func (ListByProductOperationResponse) LoadMore ¶
func (r ListByProductOperationResponse) LoadMore(ctx context.Context) (resp ListByProductOperationResponse, err error)
type ProductGroupClient ¶
func NewProductGroupClientWithBaseURI ¶
func NewProductGroupClientWithBaseURI(endpoint string) ProductGroupClient
func (ProductGroupClient) CheckEntityExists ¶
func (c ProductGroupClient) CheckEntityExists(ctx context.Context, id ProductGroupId) (result CheckEntityExistsOperationResponse, err error)
CheckEntityExists ...
func (ProductGroupClient) CreateOrUpdate ¶
func (c ProductGroupClient) CreateOrUpdate(ctx context.Context, id ProductGroupId) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ProductGroupClient) Delete ¶
func (c ProductGroupClient) Delete(ctx context.Context, id ProductGroupId) (result DeleteOperationResponse, err error)
Delete ...
func (ProductGroupClient) ListByProduct ¶
func (c ProductGroupClient) ListByProduct(ctx context.Context, id ProductId, options ListByProductOperationOptions) (resp ListByProductOperationResponse, err error)
ListByProduct ...
func (ProductGroupClient) ListByProductComplete ¶
func (c ProductGroupClient) ListByProductComplete(ctx context.Context, id ProductId, options ListByProductOperationOptions) (ListByProductCompleteResult, error)
ListByProductComplete retrieves all of the results into a single object
func (ProductGroupClient) ListByProductCompleteMatchingPredicate ¶
func (c ProductGroupClient) ListByProductCompleteMatchingPredicate(ctx context.Context, id ProductId, options ListByProductOperationOptions, predicate GroupContractOperationPredicate) (resp ListByProductCompleteResult, err error)
ListByProductCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ProductGroupId ¶ added in v0.20230727.1090744
type ProductGroupId struct { SubscriptionId string ResourceGroupName string ServiceName string ProductId string GroupId string }
ProductGroupId is a struct representing the Resource ID for a Product Group
func NewProductGroupID ¶ added in v0.20230727.1090744
func NewProductGroupID(subscriptionId string, resourceGroupName string, serviceName string, productId string, groupId string) ProductGroupId
NewProductGroupID returns a new ProductGroupId struct
func ParseProductGroupID ¶ added in v0.20230727.1090744
func ParseProductGroupID(input string) (*ProductGroupId, error)
ParseProductGroupID parses 'input' into a ProductGroupId
func ParseProductGroupIDInsensitively ¶ added in v0.20230727.1090744
func ParseProductGroupIDInsensitively(input string) (*ProductGroupId, error)
ParseProductGroupIDInsensitively parses 'input' case-insensitively into a ProductGroupId note: this method should only be used for API response data and not user input
func (ProductGroupId) ID ¶ added in v0.20230727.1090744
func (id ProductGroupId) ID() string
ID returns the formatted Product Group ID
func (ProductGroupId) Segments ¶ added in v0.20230727.1090744
func (id ProductGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Product Group ID
func (ProductGroupId) String ¶ added in v0.20230727.1090744
func (id ProductGroupId) String() string
String returns a human-readable description of this Product Group ID
type ProductId ¶
type ProductId struct { SubscriptionId string ResourceGroupName string ServiceName string ProductId string }
ProductId is a struct representing the Resource ID for a Product
func NewProductID ¶
func NewProductID(subscriptionId string, resourceGroupName string, serviceName string, productId string) ProductId
NewProductID returns a new ProductId struct
func ParseProductID ¶
ParseProductID parses 'input' into a ProductId
func ParseProductIDInsensitively ¶
ParseProductIDInsensitively parses 'input' case-insensitively into a ProductId note: this method should only be used for API response data and not user input
func (ProductId) Segments ¶
func (id ProductId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Product ID