Documentation ¶
Index ¶
- func PossibleValuesForAddonProvisioningState() []string
- func PossibleValuesForAddonType() []string
- func ValidateAddonID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePrivateCloudID(input interface{}, key string) (warnings []string, errors []error)
- type Addon
- type AddonArcProperties
- type AddonHcxProperties
- type AddonId
- type AddonOperationPredicate
- type AddonProperties
- type AddonProvisioningState
- type AddonSrmProperties
- type AddonType
- type AddonVrProperties
- type AddonsClient
- func (c AddonsClient) CreateOrUpdate(ctx context.Context, id AddonId, input Addon) (result CreateOrUpdateOperationResponse, err error)
- func (c AddonsClient) CreateOrUpdateThenPoll(ctx context.Context, id AddonId, input Addon) error
- func (c AddonsClient) Delete(ctx context.Context, id AddonId) (result DeleteOperationResponse, err error)
- func (c AddonsClient) DeleteThenPoll(ctx context.Context, id AddonId) error
- func (c AddonsClient) Get(ctx context.Context, id AddonId) (result GetOperationResponse, err error)
- func (c AddonsClient) List(ctx context.Context, id PrivateCloudId) (result ListOperationResponse, err error)
- func (c AddonsClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
- func (c AddonsClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, predicate AddonOperationPredicate) (result ListCompleteResult, err error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type PrivateCloudId
- type RawAddonPropertiesImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAddonProvisioningState ¶
func PossibleValuesForAddonProvisioningState() []string
func PossibleValuesForAddonType ¶
func PossibleValuesForAddonType() []string
func ValidateAddonID ¶
ValidateAddonID checks that 'input' can be parsed as a Addon ID
func ValidatePrivateCloudID ¶
ValidatePrivateCloudID checks that 'input' can be parsed as a Private Cloud ID
Types ¶
type Addon ¶
type Addon struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties AddonProperties `json:"properties"` Type *string `json:"type,omitempty"` }
func (*Addon) UnmarshalJSON ¶
type AddonArcProperties ¶
type AddonArcProperties struct { VCenter *string `json:"vCenter,omitempty"` // Fields inherited from AddonProperties ProvisioningState *AddonProvisioningState `json:"provisioningState,omitempty"` }
func (AddonArcProperties) MarshalJSON ¶
func (s AddonArcProperties) MarshalJSON() ([]byte, error)
type AddonHcxProperties ¶
type AddonHcxProperties struct { Offer string `json:"offer"` // Fields inherited from AddonProperties ProvisioningState *AddonProvisioningState `json:"provisioningState,omitempty"` }
func (AddonHcxProperties) MarshalJSON ¶
func (s AddonHcxProperties) MarshalJSON() ([]byte, error)
type AddonId ¶
type AddonId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string AddonName string }
AddonId is a struct representing the Resource ID for a Addon
func NewAddonID ¶
func NewAddonID(subscriptionId string, resourceGroupName string, privateCloudName string, addonName string) AddonId
NewAddonID returns a new AddonId struct
func ParseAddonID ¶
ParseAddonID parses 'input' into a AddonId
func ParseAddonIDInsensitively ¶
ParseAddonIDInsensitively parses 'input' case-insensitively into a AddonId note: this method should only be used for API response data and not user input
func (*AddonId) FromParseResult ¶
func (id *AddonId) FromParseResult(input resourceids.ParseResult) error
func (AddonId) Segments ¶
func (id AddonId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Addon ID
type AddonOperationPredicate ¶
func (AddonOperationPredicate) Matches ¶
func (p AddonOperationPredicate) Matches(input Addon) bool
type AddonProperties ¶
type AddonProperties interface { }
type AddonProvisioningState ¶
type AddonProvisioningState string
const ( AddonProvisioningStateBuilding AddonProvisioningState = "Building" AddonProvisioningStateCanceled AddonProvisioningState = "Canceled" AddonProvisioningStateCancelled AddonProvisioningState = "Cancelled" AddonProvisioningStateDeleting AddonProvisioningState = "Deleting" AddonProvisioningStateFailed AddonProvisioningState = "Failed" AddonProvisioningStateSucceeded AddonProvisioningState = "Succeeded" AddonProvisioningStateUpdating AddonProvisioningState = "Updating" )
func (*AddonProvisioningState) UnmarshalJSON ¶
func (s *AddonProvisioningState) UnmarshalJSON(bytes []byte) error
type AddonSrmProperties ¶
type AddonSrmProperties struct { LicenseKey *string `json:"licenseKey,omitempty"` // Fields inherited from AddonProperties ProvisioningState *AddonProvisioningState `json:"provisioningState,omitempty"` }
func (AddonSrmProperties) MarshalJSON ¶
func (s AddonSrmProperties) MarshalJSON() ([]byte, error)
type AddonVrProperties ¶
type AddonVrProperties struct { VrsCount int64 `json:"vrsCount"` // Fields inherited from AddonProperties ProvisioningState *AddonProvisioningState `json:"provisioningState,omitempty"` }
func (AddonVrProperties) MarshalJSON ¶
func (s AddonVrProperties) MarshalJSON() ([]byte, error)
type AddonsClient ¶
type AddonsClient struct {
Client *resourcemanager.Client
}
func NewAddonsClientWithBaseURI ¶
func NewAddonsClientWithBaseURI(sdkApi sdkEnv.Api) (*AddonsClient, error)
func (AddonsClient) CreateOrUpdate ¶
func (c AddonsClient) CreateOrUpdate(ctx context.Context, id AddonId, input Addon) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AddonsClient) CreateOrUpdateThenPoll ¶
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (AddonsClient) Delete ¶
func (c AddonsClient) Delete(ctx context.Context, id AddonId) (result DeleteOperationResponse, err error)
Delete ...
func (AddonsClient) DeleteThenPoll ¶
func (c AddonsClient) DeleteThenPoll(ctx context.Context, id AddonId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AddonsClient) Get ¶
func (c AddonsClient) Get(ctx context.Context, id AddonId) (result GetOperationResponse, err error)
Get ...
func (AddonsClient) List ¶
func (c AddonsClient) List(ctx context.Context, id PrivateCloudId) (result ListOperationResponse, err error)
List ...
func (AddonsClient) ListComplete ¶
func (c AddonsClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (AddonsClient) ListCompleteMatchingPredicate ¶
func (c AddonsClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, predicate AddonOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListOperationResponse ¶
type PrivateCloudId ¶
type PrivateCloudId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string }
PrivateCloudId is a struct representing the Resource ID for a Private Cloud
func NewPrivateCloudID ¶
func NewPrivateCloudID(subscriptionId string, resourceGroupName string, privateCloudName string) PrivateCloudId
NewPrivateCloudID returns a new PrivateCloudId struct
func ParsePrivateCloudID ¶
func ParsePrivateCloudID(input string) (*PrivateCloudId, error)
ParsePrivateCloudID parses 'input' into a PrivateCloudId
func ParsePrivateCloudIDInsensitively ¶
func ParsePrivateCloudIDInsensitively(input string) (*PrivateCloudId, error)
ParsePrivateCloudIDInsensitively parses 'input' case-insensitively into a PrivateCloudId note: this method should only be used for API response data and not user input
func (*PrivateCloudId) FromParseResult ¶
func (id *PrivateCloudId) FromParseResult(input resourceids.ParseResult) error
func (PrivateCloudId) ID ¶
func (id PrivateCloudId) ID() string
ID returns the formatted Private Cloud ID
func (PrivateCloudId) Segments ¶
func (id PrivateCloudId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Private Cloud ID
func (PrivateCloudId) String ¶
func (id PrivateCloudId) String() string
String returns a human-readable description of this Private Cloud ID
type RawAddonPropertiesImpl ¶
RawAddonPropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
Source Files ¶
- client.go
- constants.go
- id_addon.go
- id_privatecloud.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- model_addon.go
- model_addonarcproperties.go
- model_addonhcxproperties.go
- model_addonproperties.go
- model_addonsrmproperties.go
- model_addonvrproperties.go
- predicates.go
- version.go