Documentation ¶
Index ¶
- func PossibleValuesForForce() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateVMmServerID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type ExtendedLocation
- type Force
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ProvisioningState
- type ResourcePatch
- type UpdateOperationResponse
- type VMMCredential
- type VMMServer
- type VMMServerOperationPredicate
- type VMMServerProperties
- type VMmServerId
- type VMmServersClient
- func (c VMmServersClient) CreateOrUpdate(ctx context.Context, id VMmServerId, input VMMServer) (result CreateOrUpdateOperationResponse, err error)
- func (c VMmServersClient) CreateOrUpdateThenPoll(ctx context.Context, id VMmServerId, input VMMServer) error
- func (c VMmServersClient) Delete(ctx context.Context, id VMmServerId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c VMmServersClient) DeleteThenPoll(ctx context.Context, id VMmServerId, options DeleteOperationOptions) error
- func (c VMmServersClient) Get(ctx context.Context, id VMmServerId) (result GetOperationResponse, err error)
- func (c VMmServersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c VMmServersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c VMmServersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c VMmServersClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c VMmServersClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c VMmServersClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c VMmServersClient) Update(ctx context.Context, id VMmServerId, input ResourcePatch) (result UpdateOperationResponse, err error)
- func (c VMmServersClient) UpdateThenPoll(ctx context.Context, id VMmServerId, input ResourcePatch) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForForce ¶
func PossibleValuesForForce() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateVMmServerID ¶
ValidateVMmServerID checks that 'input' can be parsed as a V Mm Server ID
Types ¶
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
Force *Force
}
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 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 UpdateOperationResponse ¶
type VMMCredential ¶
type VMMServer ¶
type VMMServer struct { ExtendedLocation ExtendedLocation `json:"extendedLocation"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties VMMServerProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type VMMServerOperationPredicate ¶
func (VMMServerOperationPredicate) Matches ¶
func (p VMMServerOperationPredicate) Matches(input VMMServer) bool
type VMMServerProperties ¶
type VMMServerProperties struct { ConnectionStatus *string `json:"connectionStatus,omitempty"` Credentials *VMMCredential `json:"credentials,omitempty"` ErrorMessage *string `json:"errorMessage,omitempty"` Fqdn string `json:"fqdn"` Port *int64 `json:"port,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` Uuid *string `json:"uuid,omitempty"` Version *string `json:"version,omitempty"` }
type VMmServerId ¶
VMmServerId is a struct representing the Resource ID for a V Mm Server
func NewVMmServerID ¶
func NewVMmServerID(subscriptionId string, resourceGroupName string, vmmServerName string) VMmServerId
NewVMmServerID returns a new VMmServerId struct
func ParseVMmServerID ¶
func ParseVMmServerID(input string) (*VMmServerId, error)
ParseVMmServerID parses 'input' into a VMmServerId
func ParseVMmServerIDInsensitively ¶
func ParseVMmServerIDInsensitively(input string) (*VMmServerId, error)
ParseVMmServerIDInsensitively parses 'input' case-insensitively into a VMmServerId note: this method should only be used for API response data and not user input
func (*VMmServerId) FromParseResult ¶ added in v0.20231127.1171502
func (id *VMmServerId) FromParseResult(input resourceids.ParseResult) error
func (VMmServerId) Segments ¶
func (id VMmServerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this V Mm Server ID
func (VMmServerId) String ¶
func (id VMmServerId) String() string
String returns a human-readable description of this V Mm Server ID
type VMmServersClient ¶
type VMmServersClient struct {
Client *resourcemanager.Client
}
func NewVMmServersClientWithBaseURI ¶
func NewVMmServersClientWithBaseURI(sdkApi sdkEnv.Api) (*VMmServersClient, error)
func (VMmServersClient) CreateOrUpdate ¶
func (c VMmServersClient) CreateOrUpdate(ctx context.Context, id VMmServerId, input VMMServer) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (VMmServersClient) CreateOrUpdateThenPoll ¶
func (c VMmServersClient) CreateOrUpdateThenPoll(ctx context.Context, id VMmServerId, input VMMServer) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (VMmServersClient) Delete ¶
func (c VMmServersClient) Delete(ctx context.Context, id VMmServerId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (VMmServersClient) DeleteThenPoll ¶
func (c VMmServersClient) DeleteThenPoll(ctx context.Context, id VMmServerId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (VMmServersClient) Get ¶
func (c VMmServersClient) Get(ctx context.Context, id VMmServerId) (result GetOperationResponse, err error)
Get ...
func (VMmServersClient) ListByResourceGroup ¶
func (c VMmServersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (VMmServersClient) ListByResourceGroupComplete ¶
func (c VMmServersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (VMmServersClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c VMmServersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate VMMServerOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VMmServersClient) ListBySubscription ¶
func (c VMmServersClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (VMmServersClient) ListBySubscriptionComplete ¶
func (c VMmServersClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (VMmServersClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c VMmServersClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate VMMServerOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (VMmServersClient) Update ¶
func (c VMmServersClient) Update(ctx context.Context, id VMmServerId, input ResourcePatch) (result UpdateOperationResponse, err error)
Update ...
func (VMmServersClient) UpdateThenPoll ¶
func (c VMmServersClient) UpdateThenPoll(ctx context.Context, id VMmServerId, input ResourcePatch) error
UpdateThenPoll performs Update then polls until it's completed
Source Files ¶
- client.go
- constants.go
- id_vmmserver.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_extendedlocation.go
- model_resourcepatch.go
- model_vmmcredential.go
- model_vmmserver.go
- model_vmmserverproperties.go
- predicates.go
- version.go