privateclouds

package
v2.96.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

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

func ValidatePrivateCloudID(input interface{}, key string) (warnings []string, errors []error)

ValidatePrivateCloudID checks that 'input' can be parsed as a Private Cloud ID

func ValidateResourceGroupID

func ValidateResourceGroupID(input interface{}, key string) (warnings []string, errors []error)

ValidateResourceGroupID checks that 'input' can be parsed as a Resource Group ID

func ValidateSubscriptionID

func ValidateSubscriptionID(input interface{}, key string) (warnings []string, errors []error)

ValidateSubscriptionID checks that 'input' can be parsed as a Subscription ID

Types

type AdminCredentials

type AdminCredentials struct {
	NsxtPassword    *string `json:"nsxtPassword,omitempty"`
	NsxtUsername    *string `json:"nsxtUsername,omitempty"`
	VcenterPassword *string `json:"vcenterPassword,omitempty"`
	VcenterUsername *string `json:"vcenterUsername,omitempty"`
}

type Circuit

type Circuit struct {
	ExpressRouteID               *string `json:"expressRouteID,omitempty"`
	ExpressRoutePrivatePeeringID *string `json:"expressRoutePrivatePeeringID,omitempty"`
	PrimarySubnet                *string `json:"primarySubnet,omitempty"`
	SecondarySubnet              *string `json:"secondarySubnet,omitempty"`
}

type ClusterProvisioningState

type ClusterProvisioningState string
const (
	ClusterProvisioningStateCancelled ClusterProvisioningState = "Cancelled"
	ClusterProvisioningStateDeleting  ClusterProvisioningState = "Deleting"
	ClusterProvisioningStateFailed    ClusterProvisioningState = "Failed"
	ClusterProvisioningStateSucceeded ClusterProvisioningState = "Succeeded"
	ClusterProvisioningStateUpdating  ClusterProvisioningState = "Updating"
)

type CreateOrUpdateResponse

type CreateOrUpdateResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type DeleteResponse

type DeleteResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type Endpoints

type Endpoints struct {
	HcxCloudManager *string `json:"hcxCloudManager,omitempty"`
	NsxtManager     *string `json:"nsxtManager,omitempty"`
	Vcsa            *string `json:"vcsa,omitempty"`
}

type GetResponse

type GetResponse 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 ListAdminCredentialsResponse

type ListAdminCredentialsResponse struct {
	HttpResponse *http.Response
	Model        *AdminCredentials
}

type ListCompleteResult

type ListCompleteResult struct {
	Items []PrivateCloud
}

type ListInSubscriptionCompleteResult

type ListInSubscriptionCompleteResult struct {
	Items []PrivateCloud
}

type ListInSubscriptionResponse

type ListInSubscriptionResponse struct {
	HttpResponse *http.Response
	Model        *[]PrivateCloud
	// contains filtered or unexported fields
}

func (ListInSubscriptionResponse) HasMore

func (r ListInSubscriptionResponse) HasMore() bool

func (ListInSubscriptionResponse) LoadMore

type ListResponse

type ListResponse struct {
	HttpResponse *http.Response
	Model        *[]PrivateCloud
	// contains filtered or unexported fields
}

func (ListResponse) HasMore

func (r ListResponse) HasMore() bool

func (ListResponse) LoadMore

func (r ListResponse) LoadMore(ctx context.Context) (resp ListResponse, 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 PrivateCloud struct {
	Id         *string                `json:"id,omitempty"`
	Location   string                 `json:"location"`
	Name       *string                `json:"name,omitempty"`
	Properties PrivateCloudProperties `json:"properties"`
	Sku        Sku                    `json:"sku"`
	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) 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 PrivateCloudPredicate

type PrivateCloudPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (PrivateCloudPredicate) Matches

func (p PrivateCloudPredicate) 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"`
	VcenterCertificateThumbprint *string                        `json:"vcenterCertificateThumbprint,omitempty"`
	VcenterPassword              *string                        `json:"vcenterPassword,omitempty"`
	VmotionNetwork               *string                        `json:"vmotionNetwork,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 CreateOrUpdateResponse, 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 DeleteResponse, 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 GetResponse, err error)

Get ...

func (PrivateCloudsClient) List

List ...

func (PrivateCloudsClient) ListAdminCredentials

func (c PrivateCloudsClient) ListAdminCredentials(ctx context.Context, id PrivateCloudId) (result ListAdminCredentialsResponse, err error)

ListAdminCredentials ...

func (PrivateCloudsClient) ListComplete

ListComplete retrieves all of the results into a single object

func (PrivateCloudsClient) ListCompleteMatchingPredicate

func (c PrivateCloudsClient) ListCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate PrivateCloudPredicate) (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 SubscriptionId) (resp ListInSubscriptionResponse, err error)

ListInSubscription ...

func (PrivateCloudsClient) ListInSubscriptionComplete

ListInSubscriptionComplete retrieves all of the results into a single object

func (PrivateCloudsClient) ListInSubscriptionCompleteMatchingPredicate

func (c PrivateCloudsClient) ListInSubscriptionCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate PrivateCloudPredicate) (resp ListInSubscriptionCompleteResult, err error)

ListInSubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (PrivateCloudsClient) Update

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 ResourceGroupId

type ResourceGroupId struct {
	SubscriptionId    string
	ResourceGroupName string
}

ResourceGroupId is a struct representing the Resource ID for a Resource Group

func NewResourceGroupID

func NewResourceGroupID(subscriptionId string, resourceGroupName string) ResourceGroupId

NewResourceGroupID returns a new ResourceGroupId struct

func ParseResourceGroupID

func ParseResourceGroupID(input string) (*ResourceGroupId, error)

ParseResourceGroupID parses 'input' into a ResourceGroupId

func ParseResourceGroupIDInsensitively

func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)

ParseResourceGroupIDInsensitively parses 'input' case-insensitively into a ResourceGroupId note: this method should only be used for API response data and not user input

func (ResourceGroupId) ID

func (id ResourceGroupId) ID() string

ID returns the formatted Resource Group ID

func (ResourceGroupId) Segments

func (id ResourceGroupId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Resource Group ID

func (ResourceGroupId) String

func (id ResourceGroupId) String() string

String returns a human-readable description of this Resource Group ID

type Sku

type Sku struct {
	Name string `json:"name"`
}

type SslEnum

type SslEnum string
const (
	SslEnumDisabled SslEnum = "Disabled"
	SslEnumEnabled  SslEnum = "Enabled"
)

type SubscriptionId

type SubscriptionId struct {
	SubscriptionId string
}

SubscriptionId is a struct representing the Resource ID for a Subscription

func NewSubscriptionID

func NewSubscriptionID(subscriptionId string) SubscriptionId

NewSubscriptionID returns a new SubscriptionId struct

func ParseSubscriptionID

func ParseSubscriptionID(input string) (*SubscriptionId, error)

ParseSubscriptionID parses 'input' into a SubscriptionId

func ParseSubscriptionIDInsensitively

func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)

ParseSubscriptionIDInsensitively parses 'input' case-insensitively into a SubscriptionId note: this method should only be used for API response data and not user input

func (SubscriptionId) ID

func (id SubscriptionId) ID() string

ID returns the formatted Subscription ID

func (SubscriptionId) Segments

func (id SubscriptionId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Subscription ID

func (SubscriptionId) String

func (id SubscriptionId) String() string

String returns a human-readable description of this Subscription ID

type UpdateResponse

type UpdateResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL