Documentation ¶
Index ¶
- func PossibleValuesForHcxEnterpriseSiteStatus() []string
- func ValidateHcxEnterpriseSiteID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePrivateCloudID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type HcxEnterpriseSite
- type HcxEnterpriseSiteId
- type HcxEnterpriseSiteOperationPredicate
- type HcxEnterpriseSiteProperties
- type HcxEnterpriseSiteStatus
- type HcxEnterpriseSitesClient
- func (c HcxEnterpriseSitesClient) CreateOrUpdate(ctx context.Context, id HcxEnterpriseSiteId, input HcxEnterpriseSite) (result CreateOrUpdateOperationResponse, err error)
- func (c HcxEnterpriseSitesClient) Delete(ctx context.Context, id HcxEnterpriseSiteId) (result DeleteOperationResponse, err error)
- func (c HcxEnterpriseSitesClient) Get(ctx context.Context, id HcxEnterpriseSiteId) (result GetOperationResponse, err error)
- func (c HcxEnterpriseSitesClient) List(ctx context.Context, id PrivateCloudId) (result ListOperationResponse, err error)
- func (c HcxEnterpriseSitesClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
- func (c HcxEnterpriseSitesClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, ...) (result ListCompleteResult, err error)
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type PrivateCloudId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForHcxEnterpriseSiteStatus ¶
func PossibleValuesForHcxEnterpriseSiteStatus() []string
func ValidateHcxEnterpriseSiteID ¶
ValidateHcxEnterpriseSiteID checks that 'input' can be parsed as a Hcx Enterprise Site ID
func ValidatePrivateCloudID ¶
ValidatePrivateCloudID checks that 'input' can be parsed as a Private Cloud ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *HcxEnterpriseSite }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *HcxEnterpriseSite }
type HcxEnterpriseSite ¶
type HcxEnterpriseSite struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *HcxEnterpriseSiteProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type HcxEnterpriseSiteId ¶
type HcxEnterpriseSiteId struct { SubscriptionId string ResourceGroupName string PrivateCloudName string HcxEnterpriseSiteName string }
HcxEnterpriseSiteId is a struct representing the Resource ID for a Hcx Enterprise Site
func NewHcxEnterpriseSiteID ¶
func NewHcxEnterpriseSiteID(subscriptionId string, resourceGroupName string, privateCloudName string, hcxEnterpriseSiteName string) HcxEnterpriseSiteId
NewHcxEnterpriseSiteID returns a new HcxEnterpriseSiteId struct
func ParseHcxEnterpriseSiteID ¶
func ParseHcxEnterpriseSiteID(input string) (*HcxEnterpriseSiteId, error)
ParseHcxEnterpriseSiteID parses 'input' into a HcxEnterpriseSiteId
func ParseHcxEnterpriseSiteIDInsensitively ¶
func ParseHcxEnterpriseSiteIDInsensitively(input string) (*HcxEnterpriseSiteId, error)
ParseHcxEnterpriseSiteIDInsensitively parses 'input' case-insensitively into a HcxEnterpriseSiteId note: this method should only be used for API response data and not user input
func (*HcxEnterpriseSiteId) FromParseResult ¶
func (id *HcxEnterpriseSiteId) FromParseResult(input resourceids.ParseResult) error
func (HcxEnterpriseSiteId) ID ¶
func (id HcxEnterpriseSiteId) ID() string
ID returns the formatted Hcx Enterprise Site ID
func (HcxEnterpriseSiteId) Segments ¶
func (id HcxEnterpriseSiteId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Hcx Enterprise Site ID
func (HcxEnterpriseSiteId) String ¶
func (id HcxEnterpriseSiteId) String() string
String returns a human-readable description of this Hcx Enterprise Site ID
type HcxEnterpriseSiteOperationPredicate ¶
func (HcxEnterpriseSiteOperationPredicate) Matches ¶
func (p HcxEnterpriseSiteOperationPredicate) Matches(input HcxEnterpriseSite) bool
type HcxEnterpriseSiteProperties ¶
type HcxEnterpriseSiteProperties struct { ActivationKey *string `json:"activationKey,omitempty"` Status *HcxEnterpriseSiteStatus `json:"status,omitempty"` }
type HcxEnterpriseSiteStatus ¶
type HcxEnterpriseSiteStatus string
const ( HcxEnterpriseSiteStatusAvailable HcxEnterpriseSiteStatus = "Available" HcxEnterpriseSiteStatusConsumed HcxEnterpriseSiteStatus = "Consumed" HcxEnterpriseSiteStatusDeactivated HcxEnterpriseSiteStatus = "Deactivated" HcxEnterpriseSiteStatusDeleted HcxEnterpriseSiteStatus = "Deleted" )
func (*HcxEnterpriseSiteStatus) UnmarshalJSON ¶
func (s *HcxEnterpriseSiteStatus) UnmarshalJSON(bytes []byte) error
type HcxEnterpriseSitesClient ¶
type HcxEnterpriseSitesClient struct {
Client *resourcemanager.Client
}
func NewHcxEnterpriseSitesClientWithBaseURI ¶
func NewHcxEnterpriseSitesClientWithBaseURI(sdkApi sdkEnv.Api) (*HcxEnterpriseSitesClient, error)
func (HcxEnterpriseSitesClient) CreateOrUpdate ¶
func (c HcxEnterpriseSitesClient) CreateOrUpdate(ctx context.Context, id HcxEnterpriseSiteId, input HcxEnterpriseSite) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (HcxEnterpriseSitesClient) Delete ¶
func (c HcxEnterpriseSitesClient) Delete(ctx context.Context, id HcxEnterpriseSiteId) (result DeleteOperationResponse, err error)
Delete ...
func (HcxEnterpriseSitesClient) Get ¶
func (c HcxEnterpriseSitesClient) Get(ctx context.Context, id HcxEnterpriseSiteId) (result GetOperationResponse, err error)
Get ...
func (HcxEnterpriseSitesClient) List ¶
func (c HcxEnterpriseSitesClient) List(ctx context.Context, id PrivateCloudId) (result ListOperationResponse, err error)
List ...
func (HcxEnterpriseSitesClient) ListComplete ¶
func (c HcxEnterpriseSitesClient) ListComplete(ctx context.Context, id PrivateCloudId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (HcxEnterpriseSitesClient) ListCompleteMatchingPredicate ¶
func (c HcxEnterpriseSitesClient) ListCompleteMatchingPredicate(ctx context.Context, id PrivateCloudId, predicate HcxEnterpriseSiteOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []HcxEnterpriseSite }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]HcxEnterpriseSite }
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