Documentation ¶
Index ¶
- func PossibleValuesForProvisioningState() []string
- func ValidateVCenterID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type ExtendedLocation
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type ProvisioningState
- type ResourcePatch
- type ResourceStatus
- type UpdateOperationResponse
- type VCenter
- type VCenterId
- type VCenterOperationPredicate
- type VCenterProperties
- type VCentersClient
- func (c VCentersClient) Create(ctx context.Context, id VCenterId, input VCenter) (result CreateOperationResponse, err error)
- func (c VCentersClient) CreateThenPoll(ctx context.Context, id VCenterId, input VCenter) error
- func (c VCentersClient) Delete(ctx context.Context, id VCenterId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c VCentersClient) DeleteThenPoll(ctx context.Context, id VCenterId, options DeleteOperationOptions) error
- func (c VCentersClient) Get(ctx context.Context, id VCenterId) (result GetOperationResponse, err error)
- func (c VCentersClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c VCentersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c VCentersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c VCentersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c VCentersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c VCentersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- func (c VCentersClient) Update(ctx context.Context, id VCenterId, input ResourcePatch) (result UpdateOperationResponse, err error)
- type VICredential
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateVCenterID ¶
ValidateVCenterID checks that 'input' can be parsed as a V Center ID
Types ¶
type CreateOperationResponse ¶
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
Force *bool
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
type ExtendedLocation ¶
type GetOperationResponse ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []VCenter
}
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []VCenter
}
type ListOperationResponse ¶
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type ResourcePatch ¶
type ResourceStatus ¶
type ResourceStatus struct { LastUpdatedAt *string `json:"lastUpdatedAt,omitempty"` Message *string `json:"message,omitempty"` Reason *string `json:"reason,omitempty"` Severity *string `json:"severity,omitempty"` Status *string `json:"status,omitempty"` Type *string `json:"type,omitempty"` }
func (*ResourceStatus) GetLastUpdatedAtAsTime ¶
func (o *ResourceStatus) GetLastUpdatedAtAsTime() (*time.Time, error)
func (*ResourceStatus) SetLastUpdatedAtAsTime ¶
func (o *ResourceStatus) SetLastUpdatedAtAsTime(input time.Time)
type UpdateOperationResponse ¶
type VCenter ¶
type VCenter struct { ExtendedLocation *ExtendedLocation `json:"extendedLocation,omitempty"` Id *string `json:"id,omitempty"` Kind *string `json:"kind,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties VCenterProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type VCenterId ¶
VCenterId is a struct representing the Resource ID for a V Center
func NewVCenterID ¶
NewVCenterID returns a new VCenterId struct
func ParseVCenterID ¶
ParseVCenterID parses 'input' into a VCenterId
func ParseVCenterIDInsensitively ¶
ParseVCenterIDInsensitively parses 'input' case-insensitively into a VCenterId note: this method should only be used for API response data and not user input
func (*VCenterId) FromParseResult ¶ added in v0.20231127.1171502
func (id *VCenterId) FromParseResult(input resourceids.ParseResult) error
func (VCenterId) Segments ¶
func (id VCenterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this V Center ID
type VCenterOperationPredicate ¶
type VCenterOperationPredicate struct { Id *string Kind *string Location *string Name *string Type *string }
func (VCenterOperationPredicate) Matches ¶
func (p VCenterOperationPredicate) Matches(input VCenter) bool
type VCenterProperties ¶
type VCenterProperties struct { ConnectionStatus *string `json:"connectionStatus,omitempty"` Credentials *VICredential `json:"credentials,omitempty"` CustomResourceName *string `json:"customResourceName,omitempty"` Fqdn string `json:"fqdn"` InstanceUuid *string `json:"instanceUuid,omitempty"` Port *int64 `json:"port,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Statuses *[]ResourceStatus `json:"statuses,omitempty"` Uuid *string `json:"uuid,omitempty"` Version *string `json:"version,omitempty"` }
type VCentersClient ¶
type VCentersClient struct {
Client *resourcemanager.Client
}
func NewVCentersClientWithBaseURI ¶
func NewVCentersClientWithBaseURI(sdkApi sdkEnv.Api) (*VCentersClient, error)
func (VCentersClient) Create ¶
func (c VCentersClient) Create(ctx context.Context, id VCenterId, input VCenter) (result CreateOperationResponse, err error)
Create ...
func (VCentersClient) CreateThenPoll ¶
CreateThenPoll performs Create then polls until it's completed
func (VCentersClient) Delete ¶
func (c VCentersClient) Delete(ctx context.Context, id VCenterId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (VCentersClient) DeleteThenPoll ¶
func (c VCentersClient) DeleteThenPoll(ctx context.Context, id VCenterId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (VCentersClient) Get ¶
func (c VCentersClient) Get(ctx context.Context, id VCenterId) (result GetOperationResponse, err error)
Get ...
func (VCentersClient) List ¶
func (c VCentersClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (VCentersClient) ListByResourceGroup ¶
func (c VCentersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (VCentersClient) ListByResourceGroupComplete ¶
func (c VCentersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (VCentersClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c VCentersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate VCenterOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VCentersClient) ListComplete ¶
func (c VCentersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (VCentersClient) ListCompleteMatchingPredicate ¶
func (c VCentersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate VCenterOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VCentersClient) Update ¶
func (c VCentersClient) Update(ctx context.Context, id VCenterId, input ResourcePatch) (result UpdateOperationResponse, err error)
Update ...
type VICredential ¶
Source Files ¶
- client.go
- constants.go
- id_vcenter.go
- method_create.go
- method_delete.go
- method_get.go
- method_list.go
- method_listbyresourcegroup.go
- method_update.go
- model_extendedlocation.go
- model_resourcepatch.go
- model_resourcestatus.go
- model_vcenter.go
- model_vcenterproperties.go
- model_vicredential.go
- predicates.go
- version.go