Documentation ¶
Index ¶
- func PossibleValuesForAvailabilityStrategy() []string
- func PossibleValuesForClusterProvisioningState() []string
- func PossibleValuesForDnsZoneType() []string
- func PossibleValuesForEncryptionKeyStatus() []string
- func PossibleValuesForEncryptionState() []string
- func PossibleValuesForEncryptionVersionType() []string
- func PossibleValuesForInternetEnum() []string
- func PossibleValuesForNsxPublicIPQuotaRaisedEnum() []string
- func PossibleValuesForPrivateCloudProvisioningState() []string
- func PossibleValuesForSkuTier() []string
- func PossibleValuesForSslEnum() []string
- func ValidatePrivateCloudID(input interface{}, key string) (warnings []string, errors []error)
- type AdminCredentials
- type AvailabilityProperties
- type AvailabilityStrategy
- type Circuit
- type ClusterProvisioningState
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type DnsZoneType
- type Encryption
- type EncryptionKeyStatus
- type EncryptionKeyVaultProperties
- type EncryptionState
- type EncryptionVersionType
- type Endpoints
- type GetOperationResponse
- type IdentitySource
- type InternetEnum
- type ListAdminCredentialsOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListInSubscriptionCompleteResult
- type ListInSubscriptionCustomPager
- type ListInSubscriptionOperationResponse
- type ListOperationResponse
- type ManagementCluster
- type NsxPublicIPQuotaRaisedEnum
- type PrivateCloud
- type PrivateCloudId
- type PrivateCloudOperationPredicate
- type PrivateCloudProperties
- type PrivateCloudProvisioningState
- type PrivateCloudUpdate
- type PrivateCloudUpdateProperties
- type PrivateCloudsClient
- func (c PrivateCloudsClient) CreateOrUpdate(ctx context.Context, id PrivateCloudId, input PrivateCloud) (result CreateOrUpdateOperationResponse, err error)
- func (c PrivateCloudsClient) CreateOrUpdateThenPoll(ctx context.Context, id PrivateCloudId, input PrivateCloud) error
- func (c PrivateCloudsClient) Delete(ctx context.Context, id PrivateCloudId) (result DeleteOperationResponse, err error)
- func (c PrivateCloudsClient) DeleteThenPoll(ctx context.Context, id PrivateCloudId) error
- func (c PrivateCloudsClient) Get(ctx context.Context, id PrivateCloudId) (result GetOperationResponse, err error)
- func (c PrivateCloudsClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
- func (c PrivateCloudsClient) ListAdminCredentials(ctx context.Context, id PrivateCloudId) (result ListAdminCredentialsOperationResponse, err error)
- func (c PrivateCloudsClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
- func (c PrivateCloudsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListCompleteResult, err error)
- func (c PrivateCloudsClient) ListInSubscription(ctx context.Context, id commonids.SubscriptionId) (result ListInSubscriptionOperationResponse, err error)
- func (c PrivateCloudsClient) ListInSubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListInSubscriptionCompleteResult, error)
- func (c PrivateCloudsClient) ListInSubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListInSubscriptionCompleteResult, err error)
- func (c PrivateCloudsClient) RotateNsxtPassword(ctx context.Context, id PrivateCloudId) (result RotateNsxtPasswordOperationResponse, err error)
- func (c PrivateCloudsClient) RotateNsxtPasswordThenPoll(ctx context.Context, id PrivateCloudId) error
- func (c PrivateCloudsClient) RotateVcenterPassword(ctx context.Context, id PrivateCloudId) (result RotateVcenterPasswordOperationResponse, err error)
- func (c PrivateCloudsClient) RotateVcenterPasswordThenPoll(ctx context.Context, id PrivateCloudId) error
- func (c PrivateCloudsClient) Update(ctx context.Context, id PrivateCloudId, input PrivateCloudUpdate) (result UpdateOperationResponse, err error)
- func (c PrivateCloudsClient) UpdateThenPoll(ctx context.Context, id PrivateCloudId, input PrivateCloudUpdate) error
- type RotateNsxtPasswordOperationResponse
- type RotateVcenterPasswordOperationResponse
- type Sku
- type SkuTier
- type SslEnum
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAvailabilityStrategy ¶
func PossibleValuesForAvailabilityStrategy() []string
func PossibleValuesForClusterProvisioningState ¶
func PossibleValuesForClusterProvisioningState() []string
func PossibleValuesForDnsZoneType ¶
func PossibleValuesForDnsZoneType() []string
func PossibleValuesForEncryptionKeyStatus ¶
func PossibleValuesForEncryptionKeyStatus() []string
func PossibleValuesForEncryptionState ¶
func PossibleValuesForEncryptionState() []string
func PossibleValuesForEncryptionVersionType ¶
func PossibleValuesForEncryptionVersionType() []string
func PossibleValuesForInternetEnum ¶
func PossibleValuesForInternetEnum() []string
func PossibleValuesForNsxPublicIPQuotaRaisedEnum ¶
func PossibleValuesForNsxPublicIPQuotaRaisedEnum() []string
func PossibleValuesForPrivateCloudProvisioningState ¶
func PossibleValuesForPrivateCloudProvisioningState() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func PossibleValuesForSslEnum ¶
func PossibleValuesForSslEnum() []string
func ValidatePrivateCloudID ¶
ValidatePrivateCloudID checks that 'input' can be parsed as a Private Cloud ID
Types ¶
type AdminCredentials ¶
type AvailabilityProperties ¶
type AvailabilityProperties struct { SecondaryZone *int64 `json:"secondaryZone,omitempty"` Strategy *AvailabilityStrategy `json:"strategy,omitempty"` Zone *int64 `json:"zone,omitempty"` }
type AvailabilityStrategy ¶
type AvailabilityStrategy string
const ( AvailabilityStrategyDualZone AvailabilityStrategy = "DualZone" AvailabilityStrategySingleZone AvailabilityStrategy = "SingleZone" )
func (*AvailabilityStrategy) UnmarshalJSON ¶
func (s *AvailabilityStrategy) UnmarshalJSON(bytes []byte) error
type ClusterProvisioningState ¶
type ClusterProvisioningState string
const ( ClusterProvisioningStateCanceled ClusterProvisioningState = "Canceled" ClusterProvisioningStateCancelled ClusterProvisioningState = "Cancelled" ClusterProvisioningStateDeleting ClusterProvisioningState = "Deleting" ClusterProvisioningStateFailed ClusterProvisioningState = "Failed" ClusterProvisioningStateSucceeded ClusterProvisioningState = "Succeeded" ClusterProvisioningStateUpdating ClusterProvisioningState = "Updating" )
func (*ClusterProvisioningState) UnmarshalJSON ¶
func (s *ClusterProvisioningState) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type DnsZoneType ¶
type DnsZoneType string
const ( DnsZoneTypePrivate DnsZoneType = "Private" DnsZoneTypePublic DnsZoneType = "Public" )
func (*DnsZoneType) UnmarshalJSON ¶
func (s *DnsZoneType) UnmarshalJSON(bytes []byte) error
type Encryption ¶
type Encryption struct { KeyVaultProperties *EncryptionKeyVaultProperties `json:"keyVaultProperties,omitempty"` Status *EncryptionState `json:"status,omitempty"` }
type EncryptionKeyStatus ¶
type EncryptionKeyStatus string
const ( EncryptionKeyStatusAccessDenied EncryptionKeyStatus = "AccessDenied" EncryptionKeyStatusConnected EncryptionKeyStatus = "Connected" )
func (*EncryptionKeyStatus) UnmarshalJSON ¶
func (s *EncryptionKeyStatus) UnmarshalJSON(bytes []byte) error
type EncryptionKeyVaultProperties ¶
type EncryptionKeyVaultProperties struct { AutoDetectedKeyVersion *string `json:"autoDetectedKeyVersion,omitempty"` KeyName *string `json:"keyName,omitempty"` KeyState *EncryptionKeyStatus `json:"keyState,omitempty"` KeyVaultUrl *string `json:"keyVaultUrl,omitempty"` KeyVersion *string `json:"keyVersion,omitempty"` VersionType *EncryptionVersionType `json:"versionType,omitempty"` }
type EncryptionState ¶
type EncryptionState string
const ( EncryptionStateDisabled EncryptionState = "Disabled" EncryptionStateEnabled EncryptionState = "Enabled" )
func (*EncryptionState) UnmarshalJSON ¶
func (s *EncryptionState) UnmarshalJSON(bytes []byte) error
type EncryptionVersionType ¶
type EncryptionVersionType string
const ( EncryptionVersionTypeAutoDetected EncryptionVersionType = "AutoDetected" EncryptionVersionTypeFixed EncryptionVersionType = "Fixed" )
func (*EncryptionVersionType) UnmarshalJSON ¶
func (s *EncryptionVersionType) UnmarshalJSON(bytes []byte) error
type Endpoints ¶
type Endpoints struct { HcxCloudManager *string `json:"hcxCloudManager,omitempty"` HcxCloudManagerIP *string `json:"hcxCloudManagerIp,omitempty"` NsxtManager *string `json:"nsxtManager,omitempty"` NsxtManagerIP *string `json:"nsxtManagerIp,omitempty"` VcenterIP *string `json:"vcenterIp,omitempty"` Vcsa *string `json:"vcsa,omitempty"` }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PrivateCloud }
type IdentitySource ¶
type IdentitySource struct { Alias *string `json:"alias,omitempty"` BaseGroupDN *string `json:"baseGroupDN,omitempty"` BaseUserDN *string `json:"baseUserDN,omitempty"` Domain *string `json:"domain,omitempty"` Name *string `json:"name,omitempty"` Password *string `json:"password,omitempty"` PrimaryServer *string `json:"primaryServer,omitempty"` SecondaryServer *string `json:"secondaryServer,omitempty"` Ssl *SslEnum `json:"ssl,omitempty"` Username *string `json:"username,omitempty"` }
type InternetEnum ¶
type InternetEnum string
const ( InternetEnumDisabled InternetEnum = "Disabled" InternetEnumEnabled InternetEnum = "Enabled" )
func (*InternetEnum) UnmarshalJSON ¶
func (s *InternetEnum) UnmarshalJSON(bytes []byte) error
type ListAdminCredentialsOperationResponse ¶
type ListAdminCredentialsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AdminCredentials }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []PrivateCloud }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListInSubscriptionCompleteResult ¶
type ListInSubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []PrivateCloud }
type ListInSubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListInSubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListInSubscriptionCustomPager) NextPageLink() *odata.Link
type ListInSubscriptionOperationResponse ¶
type ListInSubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PrivateCloud }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PrivateCloud }
type ManagementCluster ¶
type ManagementCluster struct { ClusterId *int64 `json:"clusterId,omitempty"` ClusterSize *int64 `json:"clusterSize,omitempty"` Hosts *[]string `json:"hosts,omitempty"` ProvisioningState *ClusterProvisioningState `json:"provisioningState,omitempty"` VsanDatastoreName *string `json:"vsanDatastoreName,omitempty"` }
type NsxPublicIPQuotaRaisedEnum ¶
type NsxPublicIPQuotaRaisedEnum string
const ( NsxPublicIPQuotaRaisedEnumDisabled NsxPublicIPQuotaRaisedEnum = "Disabled" NsxPublicIPQuotaRaisedEnumEnabled NsxPublicIPQuotaRaisedEnum = "Enabled" )
func (*NsxPublicIPQuotaRaisedEnum) UnmarshalJSON ¶
func (s *NsxPublicIPQuotaRaisedEnum) UnmarshalJSON(bytes []byte) error
type PrivateCloud ¶
type PrivateCloud struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAssigned `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *PrivateCloudProperties `json:"properties,omitempty"` Sku Sku `json:"sku"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
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 PrivateCloudOperationPredicate ¶
type PrivateCloudOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (PrivateCloudOperationPredicate) Matches ¶
func (p PrivateCloudOperationPredicate) Matches(input PrivateCloud) bool
type PrivateCloudProperties ¶
type PrivateCloudProperties struct { Availability *AvailabilityProperties `json:"availability,omitempty"` Circuit *Circuit `json:"circuit,omitempty"` DnsZoneType *DnsZoneType `json:"dnsZoneType,omitempty"` Encryption *Encryption `json:"encryption,omitempty"` Endpoints *Endpoints `json:"endpoints,omitempty"` ExtendedNetworkBlocks *[]string `json:"extendedNetworkBlocks,omitempty"` ExternalCloudLinks *[]string `json:"externalCloudLinks,omitempty"` IdentitySources *[]IdentitySource `json:"identitySources,omitempty"` Internet *InternetEnum `json:"internet,omitempty"` ManagementCluster ManagementCluster `json:"managementCluster"` ManagementNetwork *string `json:"managementNetwork,omitempty"` NetworkBlock string `json:"networkBlock"` NsxPublicIPQuotaRaised *NsxPublicIPQuotaRaisedEnum `json:"nsxPublicIpQuotaRaised,omitempty"` NsxtCertificateThumbprint *string `json:"nsxtCertificateThumbprint,omitempty"` NsxtPassword *string `json:"nsxtPassword,omitempty"` ProvisioningNetwork *string `json:"provisioningNetwork,omitempty"` ProvisioningState *PrivateCloudProvisioningState `json:"provisioningState,omitempty"` SecondaryCircuit *Circuit `json:"secondaryCircuit,omitempty"` VMotionNetwork *string `json:"vmotionNetwork,omitempty"` VcenterCertificateThumbprint *string `json:"vcenterCertificateThumbprint,omitempty"` VcenterPassword *string `json:"vcenterPassword,omitempty"` VirtualNetworkId *string `json:"virtualNetworkId,omitempty"` }
type PrivateCloudProvisioningState ¶
type PrivateCloudProvisioningState string
const ( PrivateCloudProvisioningStateBuilding PrivateCloudProvisioningState = "Building" PrivateCloudProvisioningStateCanceled PrivateCloudProvisioningState = "Canceled" PrivateCloudProvisioningStateCancelled PrivateCloudProvisioningState = "Cancelled" PrivateCloudProvisioningStateDeleting PrivateCloudProvisioningState = "Deleting" PrivateCloudProvisioningStateFailed PrivateCloudProvisioningState = "Failed" PrivateCloudProvisioningStatePending PrivateCloudProvisioningState = "Pending" PrivateCloudProvisioningStateSucceeded PrivateCloudProvisioningState = "Succeeded" PrivateCloudProvisioningStateUpdating PrivateCloudProvisioningState = "Updating" )
func (*PrivateCloudProvisioningState) UnmarshalJSON ¶
func (s *PrivateCloudProvisioningState) UnmarshalJSON(bytes []byte) error
type PrivateCloudUpdate ¶
type PrivateCloudUpdate struct { Identity *identity.SystemAssigned `json:"identity,omitempty"` Properties *PrivateCloudUpdateProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type PrivateCloudUpdateProperties ¶
type PrivateCloudUpdateProperties struct { Availability *AvailabilityProperties `json:"availability,omitempty"` DnsZoneType *DnsZoneType `json:"dnsZoneType,omitempty"` Encryption *Encryption `json:"encryption,omitempty"` ExtendedNetworkBlocks *[]string `json:"extendedNetworkBlocks,omitempty"` IdentitySources *[]IdentitySource `json:"identitySources,omitempty"` Internet *InternetEnum `json:"internet,omitempty"` ManagementCluster *ManagementCluster `json:"managementCluster,omitempty"` }
type PrivateCloudsClient ¶
type PrivateCloudsClient struct {
Client *resourcemanager.Client
}
func NewPrivateCloudsClientWithBaseURI ¶
func NewPrivateCloudsClientWithBaseURI(sdkApi sdkEnv.Api) (*PrivateCloudsClient, error)
func (PrivateCloudsClient) CreateOrUpdate ¶
func (c PrivateCloudsClient) CreateOrUpdate(ctx context.Context, id PrivateCloudId, input PrivateCloud) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (PrivateCloudsClient) CreateOrUpdateThenPoll ¶
func (c PrivateCloudsClient) CreateOrUpdateThenPoll(ctx context.Context, id PrivateCloudId, input PrivateCloud) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (PrivateCloudsClient) Delete ¶
func (c PrivateCloudsClient) Delete(ctx context.Context, id PrivateCloudId) (result DeleteOperationResponse, err error)
Delete ...
func (PrivateCloudsClient) DeleteThenPoll ¶
func (c PrivateCloudsClient) DeleteThenPoll(ctx context.Context, id PrivateCloudId) error
DeleteThenPoll performs Delete then polls until it's completed
func (PrivateCloudsClient) Get ¶
func (c PrivateCloudsClient) Get(ctx context.Context, id PrivateCloudId) (result GetOperationResponse, err error)
Get ...
func (PrivateCloudsClient) List ¶
func (c PrivateCloudsClient) List(ctx context.Context, id commonids.ResourceGroupId) (result ListOperationResponse, err error)
List ...
func (PrivateCloudsClient) ListAdminCredentials ¶
func (c PrivateCloudsClient) ListAdminCredentials(ctx context.Context, id PrivateCloudId) (result ListAdminCredentialsOperationResponse, err error)
ListAdminCredentials ...
func (PrivateCloudsClient) ListComplete ¶
func (c PrivateCloudsClient) ListComplete(ctx context.Context, id commonids.ResourceGroupId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (PrivateCloudsClient) ListCompleteMatchingPredicate ¶
func (c PrivateCloudsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate PrivateCloudOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PrivateCloudsClient) ListInSubscription ¶
func (c PrivateCloudsClient) ListInSubscription(ctx context.Context, id commonids.SubscriptionId) (result ListInSubscriptionOperationResponse, err error)
ListInSubscription ...
func (PrivateCloudsClient) ListInSubscriptionComplete ¶
func (c PrivateCloudsClient) ListInSubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListInSubscriptionCompleteResult, error)
ListInSubscriptionComplete retrieves all the results into a single object
func (PrivateCloudsClient) ListInSubscriptionCompleteMatchingPredicate ¶
func (c PrivateCloudsClient) ListInSubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate PrivateCloudOperationPredicate) (result ListInSubscriptionCompleteResult, err error)
ListInSubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PrivateCloudsClient) RotateNsxtPassword ¶
func (c PrivateCloudsClient) RotateNsxtPassword(ctx context.Context, id PrivateCloudId) (result RotateNsxtPasswordOperationResponse, err error)
RotateNsxtPassword ...
func (PrivateCloudsClient) RotateNsxtPasswordThenPoll ¶
func (c PrivateCloudsClient) RotateNsxtPasswordThenPoll(ctx context.Context, id PrivateCloudId) error
RotateNsxtPasswordThenPoll performs RotateNsxtPassword then polls until it's completed
func (PrivateCloudsClient) RotateVcenterPassword ¶
func (c PrivateCloudsClient) RotateVcenterPassword(ctx context.Context, id PrivateCloudId) (result RotateVcenterPasswordOperationResponse, err error)
RotateVcenterPassword ...
func (PrivateCloudsClient) RotateVcenterPasswordThenPoll ¶
func (c PrivateCloudsClient) RotateVcenterPasswordThenPoll(ctx context.Context, id PrivateCloudId) error
RotateVcenterPasswordThenPoll performs RotateVcenterPassword then polls until it's completed
func (PrivateCloudsClient) Update ¶
func (c PrivateCloudsClient) Update(ctx context.Context, id PrivateCloudId, input PrivateCloudUpdate) (result UpdateOperationResponse, err error)
Update ...
func (PrivateCloudsClient) UpdateThenPoll ¶
func (c PrivateCloudsClient) UpdateThenPoll(ctx context.Context, id PrivateCloudId, input PrivateCloudUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_privatecloud.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listadmincredentials.go
- method_listinsubscription.go
- method_rotatensxtpassword.go
- method_rotatevcenterpassword.go
- method_update.go
- model_admincredentials.go
- model_availabilityproperties.go
- model_circuit.go
- model_encryption.go
- model_encryptionkeyvaultproperties.go
- model_endpoints.go
- model_identitysource.go
- model_managementcluster.go
- model_privatecloud.go
- model_privatecloudproperties.go
- model_privatecloudupdate.go
- model_privatecloudupdateproperties.go
- model_sku.go
- predicates.go
- version.go