Documentation ¶
Index ¶
- func PossibleValuesForClusterProvisioningState() []string
- func PossibleValuesForInternetEnum() []string
- func PossibleValuesForPrivateCloudProvisioningState() []string
- func PossibleValuesForSslEnum() []string
- func ValidatePrivateCloudID(input interface{}, key string) (warnings []string, errors []error)
- type AdminCredentials
- type Circuit
- type ClusterProvisioningState
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type Endpoints
- type GetOperationResponse
- type IdentitySource
- type InternetEnum
- type ListAdminCredentialsOperationResponse
- type ListCompleteResult
- type ListInSubscriptionCompleteResult
- type ListInSubscriptionOperationResponse
- type ListOperationResponse
- type ManagementCluster
- 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) (resp 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, ...) (resp ListCompleteResult, err error)
- func (c PrivateCloudsClient) ListInSubscription(ctx context.Context, id commonids.SubscriptionId) (resp 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, ...) (resp ListInSubscriptionCompleteResult, err 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 Sku
- type SslEnum
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForClusterProvisioningState ¶
func PossibleValuesForClusterProvisioningState() []string
func PossibleValuesForInternetEnum ¶
func PossibleValuesForInternetEnum() []string
func PossibleValuesForPrivateCloudProvisioningState ¶
func PossibleValuesForPrivateCloudProvisioningState() []string
func PossibleValuesForSslEnum ¶
func PossibleValuesForSslEnum() []string
func ValidatePrivateCloudID ¶
ValidatePrivateCloudID checks that 'input' can be parsed as a Private Cloud ID
Types ¶
type AdminCredentials ¶
type ClusterProvisioningState ¶
type ClusterProvisioningState string
const ( ClusterProvisioningStateCancelled ClusterProvisioningState = "Cancelled" ClusterProvisioningStateDeleting ClusterProvisioningState = "Deleting" ClusterProvisioningStateFailed ClusterProvisioningState = "Failed" ClusterProvisioningStateSucceeded ClusterProvisioningState = "Succeeded" ClusterProvisioningStateUpdating ClusterProvisioningState = "Updating" )
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response 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" )
type ListAdminCredentialsOperationResponse ¶
type ListAdminCredentialsOperationResponse struct { HttpResponse *http.Response Model *AdminCredentials }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []PrivateCloud
}
type ListInSubscriptionCompleteResult ¶
type ListInSubscriptionCompleteResult struct {
Items []PrivateCloud
}
type ListInSubscriptionOperationResponse ¶
type ListInSubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]PrivateCloud // contains filtered or unexported fields }
func (ListInSubscriptionOperationResponse) HasMore ¶
func (r ListInSubscriptionOperationResponse) HasMore() bool
func (ListInSubscriptionOperationResponse) LoadMore ¶
func (r ListInSubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListInSubscriptionOperationResponse, err error)
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]PrivateCloud // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type ManagementCluster ¶
type ManagementCluster struct { ClusterId *int64 `json:"clusterId,omitempty"` ClusterSize int64 `json:"clusterSize"` Hosts *[]string `json:"hosts,omitempty"` ProvisioningState *ClusterProvisioningState `json:"provisioningState,omitempty"` }
type PrivateCloud ¶
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) 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 { Circuit *Circuit `json:"circuit,omitempty"` Endpoints *Endpoints `json:"endpoints,omitempty"` IdentitySources *[]IdentitySource `json:"identitySources,omitempty"` Internet *InternetEnum `json:"internet,omitempty"` ManagementCluster ManagementCluster `json:"managementCluster"` ManagementNetwork *string `json:"managementNetwork,omitempty"` NetworkBlock string `json:"networkBlock"` NsxtCertificateThumbprint *string `json:"nsxtCertificateThumbprint,omitempty"` NsxtPassword *string `json:"nsxtPassword,omitempty"` ProvisioningNetwork *string `json:"provisioningNetwork,omitempty"` ProvisioningState *PrivateCloudProvisioningState `json:"provisioningState,omitempty"` VMotionNetwork *string `json:"vmotionNetwork,omitempty"` VcenterCertificateThumbprint *string `json:"vcenterCertificateThumbprint,omitempty"` VcenterPassword *string `json:"vcenterPassword,omitempty"` }
type PrivateCloudProvisioningState ¶
type PrivateCloudProvisioningState string
const ( PrivateCloudProvisioningStateBuilding PrivateCloudProvisioningState = "Building" PrivateCloudProvisioningStateCancelled PrivateCloudProvisioningState = "Cancelled" PrivateCloudProvisioningStateDeleting PrivateCloudProvisioningState = "Deleting" PrivateCloudProvisioningStateFailed PrivateCloudProvisioningState = "Failed" PrivateCloudProvisioningStatePending PrivateCloudProvisioningState = "Pending" PrivateCloudProvisioningStateSucceeded PrivateCloudProvisioningState = "Succeeded" PrivateCloudProvisioningStateUpdating PrivateCloudProvisioningState = "Updating" )
type PrivateCloudUpdate ¶
type PrivateCloudUpdate struct { Properties *PrivateCloudUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type PrivateCloudUpdateProperties ¶
type PrivateCloudUpdateProperties struct { IdentitySources *[]IdentitySource `json:"identitySources,omitempty"` Internet *InternetEnum `json:"internet,omitempty"` ManagementCluster *ManagementCluster `json:"managementCluster,omitempty"` }
type PrivateCloudsClient ¶
type PrivateCloudsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewPrivateCloudsClientWithBaseURI ¶
func NewPrivateCloudsClientWithBaseURI(endpoint string) PrivateCloudsClient
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) (resp 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 of the results into a single object
func (PrivateCloudsClient) ListCompleteMatchingPredicate ¶
func (c PrivateCloudsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate PrivateCloudOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (PrivateCloudsClient) ListInSubscription ¶
func (c PrivateCloudsClient) ListInSubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListInSubscriptionOperationResponse, err error)
ListInSubscription ...
func (PrivateCloudsClient) ListInSubscriptionComplete ¶
func (c PrivateCloudsClient) ListInSubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListInSubscriptionCompleteResult, error)
ListInSubscriptionComplete retrieves all of the results into a single object
func (PrivateCloudsClient) ListInSubscriptionCompleteMatchingPredicate ¶
func (c PrivateCloudsClient) ListInSubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate PrivateCloudOperationPredicate) (resp ListInSubscriptionCompleteResult, err error)
ListInSubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
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 ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
Source Files ¶
- client.go
- constants.go
- id_privatecloud.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_listadmincredentials_autorest.go
- method_listinsubscription_autorest.go
- method_update_autorest.go
- model_admincredentials.go
- model_circuit.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