Documentation ¶
Index ¶
- func ValidateSolutionID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionOperationResponse
- type Solution
- type SolutionClient
- func (c SolutionClient) CreateOrUpdate(ctx context.Context, id SolutionId, input Solution) (result CreateOrUpdateOperationResponse, err error)
- func (c SolutionClient) CreateOrUpdateThenPoll(ctx context.Context, id SolutionId, input Solution) error
- func (c SolutionClient) Delete(ctx context.Context, id SolutionId) (result DeleteOperationResponse, err error)
- func (c SolutionClient) DeleteThenPoll(ctx context.Context, id SolutionId) error
- func (c SolutionClient) Get(ctx context.Context, id SolutionId) (result GetOperationResponse, err error)
- func (c SolutionClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c SolutionClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c SolutionClient) Update(ctx context.Context, id SolutionId, input SolutionPatch) (result UpdateOperationResponse, err error)
- func (c SolutionClient) UpdateThenPoll(ctx context.Context, id SolutionId, input SolutionPatch) error
- type SolutionId
- type SolutionPatch
- type SolutionPlan
- type SolutionProperties
- type SolutionPropertiesList
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateSolutionID ¶
ValidateSolutionID checks that 'input' can be parsed as a Solution ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SolutionPropertiesList }
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SolutionPropertiesList }
type Solution ¶
type Solution struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Plan *SolutionPlan `json:"plan,omitempty"` Properties *SolutionProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type SolutionClient ¶
type SolutionClient struct {
Client *resourcemanager.Client
}
func NewSolutionClientWithBaseURI ¶
func NewSolutionClientWithBaseURI(sdkApi sdkEnv.Api) (*SolutionClient, error)
func (SolutionClient) CreateOrUpdate ¶
func (c SolutionClient) CreateOrUpdate(ctx context.Context, id SolutionId, input Solution) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (SolutionClient) CreateOrUpdateThenPoll ¶
func (c SolutionClient) CreateOrUpdateThenPoll(ctx context.Context, id SolutionId, input Solution) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (SolutionClient) Delete ¶
func (c SolutionClient) Delete(ctx context.Context, id SolutionId) (result DeleteOperationResponse, err error)
Delete ...
func (SolutionClient) DeleteThenPoll ¶
func (c SolutionClient) DeleteThenPoll(ctx context.Context, id SolutionId) error
DeleteThenPoll performs Delete then polls until it's completed
func (SolutionClient) Get ¶
func (c SolutionClient) Get(ctx context.Context, id SolutionId) (result GetOperationResponse, err error)
Get ...
func (SolutionClient) ListByResourceGroup ¶
func (c SolutionClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (SolutionClient) ListBySubscription ¶
func (c SolutionClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (SolutionClient) Update ¶
func (c SolutionClient) Update(ctx context.Context, id SolutionId, input SolutionPatch) (result UpdateOperationResponse, err error)
Update ...
func (SolutionClient) UpdateThenPoll ¶
func (c SolutionClient) UpdateThenPoll(ctx context.Context, id SolutionId, input SolutionPatch) error
UpdateThenPoll performs Update then polls until it's completed
type SolutionId ¶
SolutionId is a struct representing the Resource ID for a Solution
func NewSolutionID ¶
func NewSolutionID(subscriptionId string, resourceGroupName string, solutionName string) SolutionId
NewSolutionID returns a new SolutionId struct
func ParseSolutionID ¶
func ParseSolutionID(input string) (*SolutionId, error)
ParseSolutionID parses 'input' into a SolutionId
func ParseSolutionIDInsensitively ¶
func ParseSolutionIDInsensitively(input string) (*SolutionId, error)
ParseSolutionIDInsensitively parses 'input' case-insensitively into a SolutionId note: this method should only be used for API response data and not user input
func (*SolutionId) FromParseResult ¶
func (id *SolutionId) FromParseResult(input resourceids.ParseResult) error
func (SolutionId) Segments ¶
func (id SolutionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Solution ID
func (SolutionId) String ¶
func (id SolutionId) String() string
String returns a human-readable description of this Solution ID
type SolutionPatch ¶
type SolutionPlan ¶
type SolutionProperties ¶
type SolutionPropertiesList ¶
type SolutionPropertiesList struct {
Value *[]Solution `json:"value,omitempty"`
}