Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForVirtualMachineRestrictMovementState() []string + func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error) + func ValidateVirtualMachineID(input interface{}, key string) (warnings []string, errors []error) + type ClusterId struct + ClusterName string + PrivateCloudName string + ResourceGroupName string + SubscriptionId string + func NewClusterID(subscriptionId string, resourceGroupName string, privateCloudName string, ...) ClusterId + func ParseClusterID(input string) (*ClusterId, error) + func ParseClusterIDInsensitively(input string) (*ClusterId, error) + func (id *ClusterId) FromParseResult(input resourceids.ParseResult) error + func (id ClusterId) ID() string + func (id ClusterId) Segments() []resourceids.Segment + func (id ClusterId) String() string + type GetOperationResponse struct + HttpResponse *http.Response + Model *VirtualMachine + OData *odata.OData + type ListCompleteResult struct + Items []VirtualMachine + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]VirtualMachine + OData *odata.OData + type RestrictMovementOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type VirtualMachine struct + Id *string + Name *string + Properties *VirtualMachineProperties + Type *string + type VirtualMachineId struct + ClusterName string + PrivateCloudName string + ResourceGroupName string + SubscriptionId string + VirtualMachineId string + func NewVirtualMachineID(subscriptionId string, resourceGroupName string, privateCloudName string, ...) VirtualMachineId + func ParseVirtualMachineID(input string) (*VirtualMachineId, error) + func ParseVirtualMachineIDInsensitively(input string) (*VirtualMachineId, error) + func (id *VirtualMachineId) FromParseResult(input resourceids.ParseResult) error + func (id VirtualMachineId) ID() string + func (id VirtualMachineId) Segments() []resourceids.Segment + func (id VirtualMachineId) String() string + type VirtualMachineOperationPredicate struct + Id *string + Name *string + Type *string + func (p VirtualMachineOperationPredicate) Matches(input VirtualMachine) bool + type VirtualMachineProperties struct + DisplayName *string + FolderPath *string + MoRefId *string + RestrictMovement *VirtualMachineRestrictMovementState + type VirtualMachineRestrictMovement struct + RestrictMovement *VirtualMachineRestrictMovementState + type VirtualMachineRestrictMovementState string + const VirtualMachineRestrictMovementStateDisabled + const VirtualMachineRestrictMovementStateEnabled + func (s *VirtualMachineRestrictMovementState) UnmarshalJSON(bytes []byte) error + type VirtualMachinesClient struct + Client *resourcemanager.Client + func NewVirtualMachinesClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachinesClient, error) + func (c VirtualMachinesClient) Get(ctx context.Context, id VirtualMachineId) (result GetOperationResponse, err error) + func (c VirtualMachinesClient) List(ctx context.Context, id ClusterId) (result ListOperationResponse, err error) + func (c VirtualMachinesClient) ListComplete(ctx context.Context, id ClusterId) (ListCompleteResult, error) + func (c VirtualMachinesClient) ListCompleteMatchingPredicate(ctx context.Context, id ClusterId, predicate VirtualMachineOperationPredicate) (result ListCompleteResult, err error) + func (c VirtualMachinesClient) RestrictMovement(ctx context.Context, id VirtualMachineId, input VirtualMachineRestrictMovement) (result RestrictMovementOperationResponse, err error) + func (c VirtualMachinesClient) RestrictMovementThenPoll(ctx context.Context, id VirtualMachineId, input VirtualMachineRestrictMovement) error