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) (result 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, ...) (result 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 ¶
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 OData *odata.OData 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
func (ListByProductOperationOptions) ToHeaders ¶
func (o ListByProductOperationOptions) ToHeaders() *client.Headers
func (ListByProductOperationOptions) ToOData ¶
func (o ListByProductOperationOptions) ToOData() *odata.Query
func (ListByProductOperationOptions) ToQuery ¶
func (o ListByProductOperationOptions) ToQuery() *client.QueryParams
type ListByProductOperationResponse ¶
type ListByProductOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GroupContract }
type ProductGroupClient ¶
type ProductGroupClient struct {
Client *resourcemanager.Client
}
func NewProductGroupClientWithBaseURI ¶
func NewProductGroupClientWithBaseURI(sdkApi sdkEnv.Api) (*ProductGroupClient, error)
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) (result ListByProductOperationResponse, err error)
ListByProduct ...
func (ProductGroupClient) ListByProductComplete ¶
func (c ProductGroupClient) ListByProductComplete(ctx context.Context, id ProductId, options ListByProductOperationOptions) (ListByProductCompleteResult, error)
ListByProductComplete retrieves all the results into a single object
func (ProductGroupClient) ListByProductCompleteMatchingPredicate ¶
func (c ProductGroupClient) ListByProductCompleteMatchingPredicate(ctx context.Context, id ProductId, options ListByProductOperationOptions, predicate GroupContractOperationPredicate) (result ListByProductCompleteResult, err error)
ListByProductCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ProductGroupId ¶
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 ¶
func NewProductGroupID(subscriptionId string, resourceGroupName string, serviceName string, productId string, groupId string) ProductGroupId
NewProductGroupID returns a new ProductGroupId struct
func ParseProductGroupID ¶
func ParseProductGroupID(input string) (*ProductGroupId, error)
ParseProductGroupID parses 'input' into a ProductGroupId
func ParseProductGroupIDInsensitively ¶
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 ¶
func (id ProductGroupId) ID() string
ID returns the formatted Product Group ID
func (ProductGroupId) Segments ¶
func (id ProductGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Product Group ID
func (ProductGroupId) String ¶
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