Documentation ¶
Index ¶
- func PossibleValuesForForceDelete() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateVMmServerID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type ExtendedLocation
- type ForceDelete
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type ProvisioningState
- type UpdateOperationResponse
- type VMmCredential
- type VMmServer
- type VMmServerId
- type VMmServerOperationPredicate
- type VMmServerProperties
- type VMmServerTagsUpdate
- 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 VMmServerTagsUpdate) (result UpdateOperationResponse, err error)
- func (c VMmServersClient) UpdateThenPoll(ctx context.Context, id VMmServerId, input VMmServerTagsUpdate) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForForceDelete ¶
func PossibleValuesForForceDelete() []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 *ForceDelete
}
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 ForceDelete ¶
type ForceDelete string
const ( ForceDeleteFalse ForceDelete = "false" ForceDeleteTrue ForceDelete = "true" )
func (*ForceDelete) UnmarshalJSON ¶
func (s *ForceDelete) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionCustomPager ¶
func (*ListBySubscriptionCustomPager) NextPageLink ¶
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
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 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,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,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 ¶
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 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 VMmServerTagsUpdate ¶
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 VMmServerTagsUpdate) (result UpdateOperationResponse, err error)
Update ...
func (VMmServersClient) UpdateThenPoll ¶
func (c VMmServersClient) UpdateThenPoll(ctx context.Context, id VMmServerId, input VMmServerTagsUpdate) 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_vmmcredential.go
- model_vmmserver.go
- model_vmmserverproperties.go
- model_vmmservertagsupdate.go
- predicates.go
- version.go