Documentation ¶
Index ¶
- func PossibleValuesForProductState() []string
- func ValidateProductID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateWorkspaceProductID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationOptions
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type GetEntityTagOperationResponse
- type GetOperationResponse
- type ListByServiceCompleteResult
- type ListByServiceOperationOptions
- type ListByServiceOperationResponse
- type ProductClient
- func (c ProductClient) CreateOrUpdate(ctx context.Context, id ProductId, input ProductContract, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c ProductClient) Delete(ctx context.Context, id ProductId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c ProductClient) Get(ctx context.Context, id ProductId) (result GetOperationResponse, err error)
- func (c ProductClient) GetEntityTag(ctx context.Context, id ProductId) (result GetEntityTagOperationResponse, err error)
- func (c ProductClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
- func (c ProductClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
- func (c ProductClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, ...) (result ListByServiceCompleteResult, err error)
- func (c ProductClient) Update(ctx context.Context, id ProductId, input ProductUpdateParameters, ...) (result UpdateOperationResponse, err error)
- func (c ProductClient) WorkspaceProductCreateOrUpdate(ctx context.Context, id WorkspaceProductId, input ProductContract, ...) (result WorkspaceProductCreateOrUpdateOperationResponse, err error)
- func (c ProductClient) WorkspaceProductDelete(ctx context.Context, id WorkspaceProductId, ...) (result WorkspaceProductDeleteOperationResponse, err error)
- func (c ProductClient) WorkspaceProductGet(ctx context.Context, id WorkspaceProductId) (result WorkspaceProductGetOperationResponse, err error)
- func (c ProductClient) WorkspaceProductGetEntityTag(ctx context.Context, id WorkspaceProductId) (result WorkspaceProductGetEntityTagOperationResponse, err error)
- func (c ProductClient) WorkspaceProductListByService(ctx context.Context, id WorkspaceId, ...) (result WorkspaceProductListByServiceOperationResponse, err error)
- func (c ProductClient) WorkspaceProductListByServiceComplete(ctx context.Context, id WorkspaceId, ...) (WorkspaceProductListByServiceCompleteResult, error)
- func (c ProductClient) WorkspaceProductListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, ...) (result WorkspaceProductListByServiceCompleteResult, err error)
- func (c ProductClient) WorkspaceProductUpdate(ctx context.Context, id WorkspaceProductId, input ProductUpdateParameters, ...) (result WorkspaceProductUpdateOperationResponse, err error)
- type ProductContract
- type ProductContractOperationPredicate
- type ProductContractProperties
- type ProductId
- type ProductState
- type ProductUpdateParameters
- type ProductUpdateProperties
- type ServiceId
- type UpdateOperationOptions
- type UpdateOperationResponse
- type WorkspaceId
- type WorkspaceProductCreateOrUpdateOperationOptions
- type WorkspaceProductCreateOrUpdateOperationResponse
- type WorkspaceProductDeleteOperationOptions
- type WorkspaceProductDeleteOperationResponse
- type WorkspaceProductGetEntityTagOperationResponse
- type WorkspaceProductGetOperationResponse
- type WorkspaceProductId
- type WorkspaceProductListByServiceCompleteResult
- type WorkspaceProductListByServiceOperationOptions
- type WorkspaceProductListByServiceOperationResponse
- type WorkspaceProductUpdateOperationOptions
- type WorkspaceProductUpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProductState ¶
func PossibleValuesForProductState() []string
func ValidateProductID ¶
ValidateProductID checks that 'input' can be parsed as a Product ID
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
func ValidateWorkspaceID ¶
ValidateWorkspaceID checks that 'input' can be parsed as a Workspace ID
func ValidateWorkspaceProductID ¶
ValidateWorkspaceProductID checks that 'input' can be parsed as a Workspace Product ID
Types ¶
type CreateOrUpdateOperationOptions ¶
type CreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultCreateOrUpdateOperationOptions ¶
func DefaultCreateOrUpdateOperationOptions() CreateOrUpdateOperationOptions
func (CreateOrUpdateOperationOptions) ToHeaders ¶
func (o CreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (CreateOrUpdateOperationOptions) ToOData ¶
func (o CreateOrUpdateOperationOptions) ToOData() *odata.Query
func (CreateOrUpdateOperationOptions) ToQuery ¶
func (o CreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ProductContract }
type DeleteOperationOptions ¶
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ProductContract }
type ListByServiceCompleteResult ¶
type ListByServiceCompleteResult struct {
Items []ProductContract
}
type ListByServiceOperationOptions ¶
type ListByServiceOperationOptions struct { ExpandGroups *bool Filter *string Skip *int64 Tags *string Top *int64 }
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 *[]ProductContract }
type ProductClient ¶
type ProductClient struct {
Client *resourcemanager.Client
}
func NewProductClientWithBaseURI ¶
func NewProductClientWithBaseURI(sdkApi sdkEnv.Api) (*ProductClient, error)
func (ProductClient) CreateOrUpdate ¶
func (c ProductClient) CreateOrUpdate(ctx context.Context, id ProductId, input ProductContract, options CreateOrUpdateOperationOptions) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ProductClient) Delete ¶
func (c ProductClient) Delete(ctx context.Context, id ProductId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (ProductClient) Get ¶
func (c ProductClient) Get(ctx context.Context, id ProductId) (result GetOperationResponse, err error)
Get ...
func (ProductClient) GetEntityTag ¶
func (c ProductClient) GetEntityTag(ctx context.Context, id ProductId) (result GetEntityTagOperationResponse, err error)
GetEntityTag ...
func (ProductClient) ListByService ¶
func (c ProductClient) ListByService(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (result ListByServiceOperationResponse, err error)
ListByService ...
func (ProductClient) ListByServiceComplete ¶
func (c ProductClient) ListByServiceComplete(ctx context.Context, id ServiceId, options ListByServiceOperationOptions) (ListByServiceCompleteResult, error)
ListByServiceComplete retrieves all the results into a single object
func (ProductClient) ListByServiceCompleteMatchingPredicate ¶
func (c ProductClient) ListByServiceCompleteMatchingPredicate(ctx context.Context, id ServiceId, options ListByServiceOperationOptions, predicate ProductContractOperationPredicate) (result ListByServiceCompleteResult, err error)
ListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ProductClient) Update ¶
func (c ProductClient) Update(ctx context.Context, id ProductId, input ProductUpdateParameters, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
func (ProductClient) WorkspaceProductCreateOrUpdate ¶
func (c ProductClient) WorkspaceProductCreateOrUpdate(ctx context.Context, id WorkspaceProductId, input ProductContract, options WorkspaceProductCreateOrUpdateOperationOptions) (result WorkspaceProductCreateOrUpdateOperationResponse, err error)
WorkspaceProductCreateOrUpdate ...
func (ProductClient) WorkspaceProductDelete ¶
func (c ProductClient) WorkspaceProductDelete(ctx context.Context, id WorkspaceProductId, options WorkspaceProductDeleteOperationOptions) (result WorkspaceProductDeleteOperationResponse, err error)
WorkspaceProductDelete ...
func (ProductClient) WorkspaceProductGet ¶
func (c ProductClient) WorkspaceProductGet(ctx context.Context, id WorkspaceProductId) (result WorkspaceProductGetOperationResponse, err error)
WorkspaceProductGet ...
func (ProductClient) WorkspaceProductGetEntityTag ¶
func (c ProductClient) WorkspaceProductGetEntityTag(ctx context.Context, id WorkspaceProductId) (result WorkspaceProductGetEntityTagOperationResponse, err error)
WorkspaceProductGetEntityTag ...
func (ProductClient) WorkspaceProductListByService ¶
func (c ProductClient) WorkspaceProductListByService(ctx context.Context, id WorkspaceId, options WorkspaceProductListByServiceOperationOptions) (result WorkspaceProductListByServiceOperationResponse, err error)
WorkspaceProductListByService ...
func (ProductClient) WorkspaceProductListByServiceComplete ¶
func (c ProductClient) WorkspaceProductListByServiceComplete(ctx context.Context, id WorkspaceId, options WorkspaceProductListByServiceOperationOptions) (WorkspaceProductListByServiceCompleteResult, error)
WorkspaceProductListByServiceComplete retrieves all the results into a single object
func (ProductClient) WorkspaceProductListByServiceCompleteMatchingPredicate ¶
func (c ProductClient) WorkspaceProductListByServiceCompleteMatchingPredicate(ctx context.Context, id WorkspaceId, options WorkspaceProductListByServiceOperationOptions, predicate ProductContractOperationPredicate) (result WorkspaceProductListByServiceCompleteResult, err error)
WorkspaceProductListByServiceCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ProductClient) WorkspaceProductUpdate ¶
func (c ProductClient) WorkspaceProductUpdate(ctx context.Context, id WorkspaceProductId, input ProductUpdateParameters, options WorkspaceProductUpdateOperationOptions) (result WorkspaceProductUpdateOperationResponse, err error)
WorkspaceProductUpdate ...
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 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
type ProductState ¶
type ProductState string
const ( ProductStateNotPublished ProductState = "notPublished" ProductStatePublished ProductState = "published" )
func (*ProductState) UnmarshalJSON ¶
func (s *ProductState) UnmarshalJSON(bytes []byte) error
type ProductUpdateParameters ¶
type ProductUpdateParameters struct {
Properties *ProductUpdateProperties `json:"properties,omitempty"`
}
type ProductUpdateProperties ¶
type ProductUpdateProperties struct { ApprovalRequired *bool `json:"approvalRequired,omitempty"` Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` State *ProductState `json:"state,omitempty"` SubscriptionRequired *bool `json:"subscriptionRequired,omitempty"` SubscriptionsLimit *int64 `json:"subscriptionsLimit,omitempty"` Terms *string `json:"terms,omitempty"` }
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) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
func (UpdateOperationOptions) ToHeaders ¶
func (o UpdateOperationOptions) ToHeaders() *client.Headers
func (UpdateOperationOptions) ToOData ¶
func (o UpdateOperationOptions) ToOData() *odata.Query
func (UpdateOperationOptions) ToQuery ¶
func (o UpdateOperationOptions) ToQuery() *client.QueryParams
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ProductContract }
type WorkspaceId ¶
type WorkspaceId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string }
WorkspaceId is a struct representing the Resource ID for a Workspace
func NewWorkspaceID ¶
func NewWorkspaceID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string) WorkspaceId
NewWorkspaceID returns a new WorkspaceId struct
func ParseWorkspaceID ¶
func ParseWorkspaceID(input string) (*WorkspaceId, error)
ParseWorkspaceID parses 'input' into a WorkspaceId
func ParseWorkspaceIDInsensitively ¶
func ParseWorkspaceIDInsensitively(input string) (*WorkspaceId, error)
ParseWorkspaceIDInsensitively parses 'input' case-insensitively into a WorkspaceId note: this method should only be used for API response data and not user input
func (WorkspaceId) Segments ¶
func (id WorkspaceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace ID
func (WorkspaceId) String ¶
func (id WorkspaceId) String() string
String returns a human-readable description of this Workspace ID
type WorkspaceProductCreateOrUpdateOperationOptions ¶
type WorkspaceProductCreateOrUpdateOperationOptions struct {
IfMatch *string
}
func DefaultWorkspaceProductCreateOrUpdateOperationOptions ¶
func DefaultWorkspaceProductCreateOrUpdateOperationOptions() WorkspaceProductCreateOrUpdateOperationOptions
func (WorkspaceProductCreateOrUpdateOperationOptions) ToHeaders ¶
func (o WorkspaceProductCreateOrUpdateOperationOptions) ToHeaders() *client.Headers
func (WorkspaceProductCreateOrUpdateOperationOptions) ToOData ¶
func (o WorkspaceProductCreateOrUpdateOperationOptions) ToOData() *odata.Query
func (WorkspaceProductCreateOrUpdateOperationOptions) ToQuery ¶
func (o WorkspaceProductCreateOrUpdateOperationOptions) ToQuery() *client.QueryParams
type WorkspaceProductCreateOrUpdateOperationResponse ¶
type WorkspaceProductCreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ProductContract }
type WorkspaceProductDeleteOperationOptions ¶
func DefaultWorkspaceProductDeleteOperationOptions ¶
func DefaultWorkspaceProductDeleteOperationOptions() WorkspaceProductDeleteOperationOptions
func (WorkspaceProductDeleteOperationOptions) ToHeaders ¶
func (o WorkspaceProductDeleteOperationOptions) ToHeaders() *client.Headers
func (WorkspaceProductDeleteOperationOptions) ToOData ¶
func (o WorkspaceProductDeleteOperationOptions) ToOData() *odata.Query
func (WorkspaceProductDeleteOperationOptions) ToQuery ¶
func (o WorkspaceProductDeleteOperationOptions) ToQuery() *client.QueryParams
type WorkspaceProductGetOperationResponse ¶
type WorkspaceProductGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ProductContract }
type WorkspaceProductId ¶
type WorkspaceProductId struct { SubscriptionId string ResourceGroupName string ServiceName string WorkspaceId string ProductId string }
WorkspaceProductId is a struct representing the Resource ID for a Workspace Product
func NewWorkspaceProductID ¶
func NewWorkspaceProductID(subscriptionId string, resourceGroupName string, serviceName string, workspaceId string, productId string) WorkspaceProductId
NewWorkspaceProductID returns a new WorkspaceProductId struct
func ParseWorkspaceProductID ¶
func ParseWorkspaceProductID(input string) (*WorkspaceProductId, error)
ParseWorkspaceProductID parses 'input' into a WorkspaceProductId
func ParseWorkspaceProductIDInsensitively ¶
func ParseWorkspaceProductIDInsensitively(input string) (*WorkspaceProductId, error)
ParseWorkspaceProductIDInsensitively parses 'input' case-insensitively into a WorkspaceProductId note: this method should only be used for API response data and not user input
func (WorkspaceProductId) ID ¶
func (id WorkspaceProductId) ID() string
ID returns the formatted Workspace Product ID
func (WorkspaceProductId) Segments ¶
func (id WorkspaceProductId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Workspace Product ID
func (WorkspaceProductId) String ¶
func (id WorkspaceProductId) String() string
String returns a human-readable description of this Workspace Product ID
type WorkspaceProductListByServiceCompleteResult ¶
type WorkspaceProductListByServiceCompleteResult struct {
Items []ProductContract
}
type WorkspaceProductListByServiceOperationOptions ¶
type WorkspaceProductListByServiceOperationOptions struct { ExpandGroups *bool Filter *string Skip *int64 Tags *string Top *int64 }
func DefaultWorkspaceProductListByServiceOperationOptions ¶
func DefaultWorkspaceProductListByServiceOperationOptions() WorkspaceProductListByServiceOperationOptions
func (WorkspaceProductListByServiceOperationOptions) ToHeaders ¶
func (o WorkspaceProductListByServiceOperationOptions) ToHeaders() *client.Headers
func (WorkspaceProductListByServiceOperationOptions) ToOData ¶
func (o WorkspaceProductListByServiceOperationOptions) ToOData() *odata.Query
func (WorkspaceProductListByServiceOperationOptions) ToQuery ¶
func (o WorkspaceProductListByServiceOperationOptions) ToQuery() *client.QueryParams
type WorkspaceProductListByServiceOperationResponse ¶
type WorkspaceProductListByServiceOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ProductContract }
type WorkspaceProductUpdateOperationOptions ¶
type WorkspaceProductUpdateOperationOptions struct {
IfMatch *string
}
func DefaultWorkspaceProductUpdateOperationOptions ¶
func DefaultWorkspaceProductUpdateOperationOptions() WorkspaceProductUpdateOperationOptions
func (WorkspaceProductUpdateOperationOptions) ToHeaders ¶
func (o WorkspaceProductUpdateOperationOptions) ToHeaders() *client.Headers
func (WorkspaceProductUpdateOperationOptions) ToOData ¶
func (o WorkspaceProductUpdateOperationOptions) ToOData() *odata.Query
func (WorkspaceProductUpdateOperationOptions) ToQuery ¶
func (o WorkspaceProductUpdateOperationOptions) ToQuery() *client.QueryParams
type WorkspaceProductUpdateOperationResponse ¶
type WorkspaceProductUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ProductContract }
Source Files ¶
- client.go
- constants.go
- id_product.go
- id_service.go
- id_workspace.go
- id_workspaceproduct.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_getentitytag.go
- method_listbyservice.go
- method_update.go
- method_workspaceproductcreateorupdate.go
- method_workspaceproductdelete.go
- method_workspaceproductget.go
- method_workspaceproductgetentitytag.go
- method_workspaceproductlistbyservice.go
- method_workspaceproductupdate.go
- model_productcontract.go
- model_productcontractproperties.go
- model_productupdateparameters.go
- model_productupdateproperties.go
- predicates.go
- version.go