migrate

package
v45.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package migrate implements the Azure ARM Migrate service API version 2020-01-01.

Discover your workloads for Azure.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Migrate
	DefaultBaseURI = "https://localhost"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type AgentConfiguration

type AgentConfiguration struct {
	AgentID                 *string `json:"agentId,omitempty"`
	DependencyAgentID       *string `json:"dependencyAgentId,omitempty"`
	DependencyAgentVersion  *string `json:"dependencyAgentVersion,omitempty"`
	DependencyAgentRevision *string `json:"dependencyAgentRevision,omitempty"`
	// RebootStatus - Possible values include: 'RebootStatusUnknown', 'RebootStatusRebooted', 'RebootStatusNotRebooted'
	RebootStatus     RebootStatus `json:"rebootStatus,omitempty"`
	ClockGranularity *int32       `json:"clockGranularity,omitempty"`
}

AgentConfiguration ...

type Application

type Application struct {
	// Name - READ-ONLY; Name of the Application.
	Name *string `json:"name,omitempty"`
	// Version - READ-ONLY; Version of the Application.
	Version *string `json:"version,omitempty"`
	// Provider - READ-ONLY; Provider of the Application.
	Provider *string `json:"provider,omitempty"`
}

Application application in the guest virtual machine.

type AppsAndRoles

type AppsAndRoles struct {
	// Applications - READ-ONLY; Applications of the AppsAndRoles.
	Applications *[]Application `json:"applications,omitempty"`
	// WebApplications - READ-ONLY; WebApplications of the AppsAndRoles.
	WebApplications *[]WebApplication `json:"webApplications,omitempty"`
	// Features - READ-ONLY; Features of the AppsAndRoles.
	Features *[]Feature `json:"features,omitempty"`
	// SQLServers - READ-ONLY; SQLServers of the AppsAndRoles.
	SQLServers *[]SQLServer `json:"sqlServers,omitempty"`
	// SharePointServers - READ-ONLY; SharePointServers of the AppsAndRoles.
	SharePointServers *[]SharePointServer `json:"sharePointServers,omitempty"`
	// SystemCenters - READ-ONLY; SystemCenters of the AppsAndRoles.
	SystemCenters *[]SystemCenter `json:"systemCenters,omitempty"`
	// BizTalkServers - READ-ONLY; BizTalkServers of the AppsAndRoles.
	BizTalkServers *[]BizTalkServer `json:"bizTalkServers,omitempty"`
	// ExchangeServers - READ-ONLY; ExchangeServers of the AppsAndRoles.
	ExchangeServers *[]ExchangeServer `json:"exchangeServers,omitempty"`
	// OtherDatabases - READ-ONLY; OtherDatabaseServers of the AppsAndRoles.
	OtherDatabases *[]OtherDatabase `json:"otherDatabases,omitempty"`
}

AppsAndRoles appsAndRoles in the guest virtual machine.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI string
}

BaseClient is the base client for Migrate.

func New

func New() BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type Bitness

type Bitness string

Bitness enumerates the values for bitness.

const (
	// SixFourbit ...
	SixFourbit Bitness = "64bit"
	// ThreeTwobit ...
	ThreeTwobit Bitness = "32bit"
)

func PossibleBitnessValues

func PossibleBitnessValues() []Bitness

PossibleBitnessValues returns an array of possible values for the Bitness const type.

type BizTalkServer

type BizTalkServer struct {
	// ProductName - READ-ONLY; ProductName of the BizTalkServer.
	ProductName *string `json:"productName,omitempty"`
	// Status - READ-ONLY; Status of the BizTalkServer.
	Status *string `json:"status,omitempty"`
}

BizTalkServer bizTalkServer in the guest virtual machine.

type CPUSpeedAccuracy

type CPUSpeedAccuracy string

CPUSpeedAccuracy enumerates the values for cpu speed accuracy.

const (
	// Actual ...
	Actual CPUSpeedAccuracy = "actual"
	// Estimated ...
	Estimated CPUSpeedAccuracy = "estimated"
)

func PossibleCPUSpeedAccuracyValues

func PossibleCPUSpeedAccuracyValues() []CPUSpeedAccuracy

PossibleCPUSpeedAccuracyValues returns an array of possible values for the CPUSpeedAccuracy const type.

type CredentialType

type CredentialType string

CredentialType enumerates the values for credential type.

const (
	// HyperVFabric ...
	HyperVFabric CredentialType = "HyperVFabric"
	// LinuxGuest ...
	LinuxGuest CredentialType = "LinuxGuest"
	// LinuxServer ...
	LinuxServer CredentialType = "LinuxServer"
	// VMwareFabric ...
	VMwareFabric CredentialType = "VMwareFabric"
	// WindowsGuest ...
	WindowsGuest CredentialType = "WindowsGuest"
	// WindowsServer ...
	WindowsServer CredentialType = "WindowsServer"
)

func PossibleCredentialTypeValues

func PossibleCredentialTypeValues() []CredentialType

PossibleCredentialTypeValues returns an array of possible values for the CredentialType const type.

type ErrorDetails

type ErrorDetails struct {
	// Code - READ-ONLY; Error code.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; Error message.
	Message *string `json:"message,omitempty"`
	// PossibleCauses - READ-ONLY; Possible causes of error.
	PossibleCauses *string `json:"possibleCauses,omitempty"`
	// RecommendedAction - READ-ONLY; Recommended action to resolve error.
	RecommendedAction *string `json:"recommendedAction,omitempty"`
	// Severity - READ-ONLY; Error severity.
	Severity *string `json:"severity,omitempty"`
	// IsAgentReportedError - READ-ONLY; Value indicating whether the error originated from a agent or not.
	IsAgentReportedError *bool `json:"isAgentReportedError,omitempty"`
	// AgentErrorCode - READ-ONLY; Agent error code.
	AgentErrorCode *string `json:"agentErrorCode,omitempty"`
	// AgentErrorMessage - READ-ONLY; Error message from the agent.
	AgentErrorMessage *string `json:"agentErrorMessage,omitempty"`
	// AgentErrorPossibleCauses - READ-ONLY; Possible causes for the agent error.
	AgentErrorPossibleCauses *string `json:"agentErrorPossibleCauses,omitempty"`
	// AgentErrorRecommendedAction - READ-ONLY; Recommended action for the agent error.
	AgentErrorRecommendedAction *string `json:"agentErrorRecommendedAction,omitempty"`
}

ErrorDetails error contract returned when some exception occurs in Rest API.

type ExchangeServer

type ExchangeServer struct {
	// ProductName - READ-ONLY; ProductName of the ExchangeServer.
	ProductName *string `json:"productName,omitempty"`
	// Edition - READ-ONLY; Edition of the ExchangeServer.
	Edition *string `json:"edition,omitempty"`
	// Roles - READ-ONLY; Roles of the ExchangeServer.
	Roles *string `json:"roles,omitempty"`
	// ServicePack - READ-ONLY; ServicePack of the ExchangeServer.
	ServicePack *string `json:"servicePack,omitempty"`
	// Version - READ-ONLY; Version of the ExchangeServer.
	Version *string `json:"version,omitempty"`
}

ExchangeServer exchangeServer in the guest virtual machine.

type Family

type Family string

Family enumerates the values for family.

const (
	// Aix ...
	Aix Family = "aix"
	// Linux ...
	Linux Family = "linux"
	// Solaris ...
	Solaris Family = "solaris"
	// Unknown ...
	Unknown Family = "unknown"
	// Windows ...
	Windows Family = "windows"
)

func PossibleFamilyValues

func PossibleFamilyValues() []Family

PossibleFamilyValues returns an array of possible values for the Family const type.

type Feature

type Feature struct {
	// Name - READ-ONLY; Name of the Feature.
	Name *string `json:"name,omitempty"`
	// FeatureType - READ-ONLY; FeatureType of the Feature.
	FeatureType *string `json:"featureType,omitempty"`
	// Parent - READ-ONLY; Parent of the Feature.
	Parent *string `json:"parent,omitempty"`
	// Status - READ-ONLY; Status of the Feature.
	Status *string `json:"status,omitempty"`
}

Feature feature in the guest virtual machine.

type GuestOSDetails

type GuestOSDetails struct {
	// OsType - Type of the operating system.
	OsType *string `json:"osType,omitempty"`
	// OsName - READ-ONLY; Name of the operating system.
	OsName *string `json:"osName,omitempty"`
	// OsVersion - READ-ONLY; Version of the operating system.
	OsVersion *string `json:"osVersion,omitempty"`
}

GuestOSDetails data related to a machine's operating system. Serialized and stored as part of Machine Rest object.

func (GuestOSDetails) MarshalJSON

func (god GuestOSDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GuestOSDetails.

type HealthErrorDetails

type HealthErrorDetails struct {
	// ID - READ-ONLY; Error ID.
	ID *int64 `json:"id,omitempty"`
	// Code - READ-ONLY; Error name.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; Error message.
	Message *string `json:"message,omitempty"`
	// PossibleCauses - READ-ONLY; Possible causes of error.
	PossibleCauses *string `json:"possibleCauses,omitempty"`
	// RecommendedAction - READ-ONLY; Recommended action to resolve error.
	RecommendedAction *string `json:"recommendedAction,omitempty"`
	// Severity - READ-ONLY; Error severity.
	Severity *string `json:"severity,omitempty"`
	// SummaryMessage - READ-ONLY; Error summary message.
	SummaryMessage *string `json:"summaryMessage,omitempty"`
	// Source - READ-ONLY; Error source.
	Source *string `json:"source,omitempty"`
	// MessageParameters - READ-ONLY; Message parameters.
	MessageParameters map[string]*string `json:"messageParameters"`
}

HealthErrorDetails error contract returned when some exception occurs in Rest API.

func (HealthErrorDetails) MarshalJSON

func (hed HealthErrorDetails) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HealthErrorDetails.

type HighlyAvailable

type HighlyAvailable string

HighlyAvailable enumerates the values for highly available.

const (
	// HighlyAvailableNo ...
	HighlyAvailableNo HighlyAvailable = "No"
	// HighlyAvailableUnknown ...
	HighlyAvailableUnknown HighlyAvailable = "Unknown"
	// HighlyAvailableYes ...
	HighlyAvailableYes HighlyAvailable = "Yes"
)

func PossibleHighlyAvailableValues

func PossibleHighlyAvailableValues() []HighlyAvailable

PossibleHighlyAvailableValues returns an array of possible values for the HighlyAvailable const type.

type HostingConfiguration

type HostingConfiguration struct {
	Provider *string `json:"provider,omitempty"`
}

HostingConfiguration ...

type HyperVCluster

type HyperVCluster struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - Name of the cluster.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of resource. Type = Microsoft.OffAzure/hyperVSites/clusters.
	Type *string `json:"type,omitempty"`
	// Properties - Nested properties of the cluster.
	Properties *HyperVClusterProperties `json:"properties,omitempty"`
}

HyperVCluster cluster REST Resource.

func (HyperVCluster) MarshalJSON

func (hvc HyperVCluster) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVCluster.

type HyperVClusterClient

type HyperVClusterClient struct {
	BaseClient
}

HyperVClusterClient is the discover your workloads for Azure.

func NewHyperVClusterClient

func NewHyperVClusterClient() HyperVClusterClient

NewHyperVClusterClient creates an instance of the HyperVClusterClient client.

func NewHyperVClusterClientWithBaseURI

func NewHyperVClusterClientWithBaseURI(baseURI string) HyperVClusterClient

NewHyperVClusterClientWithBaseURI creates an instance of the HyperVClusterClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (HyperVClusterClient) GetAllClustersInSite

func (client HyperVClusterClient) GetAllClustersInSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string, filter string) (result HyperVClusterCollectionPage, err error)

GetAllClustersInSite sends the get all clusters in site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. APIVersion - the API version to use for this operation.

func (HyperVClusterClient) GetAllClustersInSiteComplete

func (client HyperVClusterClient) GetAllClustersInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string, filter string) (result HyperVClusterCollectionIterator, err error)

GetAllClustersInSiteComplete enumerates all values, automatically crossing page boundaries as required.

func (HyperVClusterClient) GetAllClustersInSitePreparer

func (client HyperVClusterClient) GetAllClustersInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string, filter string) (*http.Request, error)

GetAllClustersInSitePreparer prepares the GetAllClustersInSite request.

func (HyperVClusterClient) GetAllClustersInSiteResponder

func (client HyperVClusterClient) GetAllClustersInSiteResponder(resp *http.Response) (result HyperVClusterCollection, err error)

GetAllClustersInSiteResponder handles the response to the GetAllClustersInSite request. The method always closes the http.Response Body.

func (HyperVClusterClient) GetAllClustersInSiteSender

func (client HyperVClusterClient) GetAllClustersInSiteSender(req *http.Request) (*http.Response, error)

GetAllClustersInSiteSender sends the GetAllClustersInSite request. The method will close the http.Response Body if it receives an error.

func (HyperVClusterClient) GetCluster

func (client HyperVClusterClient) GetCluster(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, clusterName string, APIVersion string) (result HyperVCluster, err error)

GetCluster sends the get cluster request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. clusterName - cluster ARM name. APIVersion - the API version to use for this operation.

func (HyperVClusterClient) GetClusterPreparer

func (client HyperVClusterClient) GetClusterPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, clusterName string, APIVersion string) (*http.Request, error)

GetClusterPreparer prepares the GetCluster request.

func (HyperVClusterClient) GetClusterResponder

func (client HyperVClusterClient) GetClusterResponder(resp *http.Response) (result HyperVCluster, err error)

GetClusterResponder handles the response to the GetCluster request. The method always closes the http.Response Body.

func (HyperVClusterClient) GetClusterSender

func (client HyperVClusterClient) GetClusterSender(req *http.Request) (*http.Response, error)

GetClusterSender sends the GetCluster request. The method will close the http.Response Body if it receives an error.

func (HyperVClusterClient) PutCluster

func (client HyperVClusterClient) PutCluster(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, clusterName string, body HyperVCluster, APIVersion string) (result autorest.Response, err error)

PutCluster sends the put cluster request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. clusterName - cluster ARM name. body - put cluster body. APIVersion - the API version to use for this operation.

func (HyperVClusterClient) PutClusterPreparer

func (client HyperVClusterClient) PutClusterPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, clusterName string, body HyperVCluster, APIVersion string) (*http.Request, error)

PutClusterPreparer prepares the PutCluster request.

func (HyperVClusterClient) PutClusterResponder

func (client HyperVClusterClient) PutClusterResponder(resp *http.Response) (result autorest.Response, err error)

PutClusterResponder handles the response to the PutCluster request. The method always closes the http.Response Body.

func (HyperVClusterClient) PutClusterSender

func (client HyperVClusterClient) PutClusterSender(req *http.Request) (*http.Response, error)

PutClusterSender sends the PutCluster request. The method will close the http.Response Body if it receives an error.

type HyperVClusterCollection

type HyperVClusterCollection struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of clusters.
	Value *[]HyperVCluster `json:"value,omitempty"`
	// NextLink - READ-ONLY; Value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

HyperVClusterCollection collection of Hyper-V clusters.

func (HyperVClusterCollection) IsEmpty

func (hvcc HyperVClusterCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type HyperVClusterCollectionIterator

type HyperVClusterCollectionIterator struct {
	// contains filtered or unexported fields
}

HyperVClusterCollectionIterator provides access to a complete listing of HyperVCluster values.

func NewHyperVClusterCollectionIterator

func NewHyperVClusterCollectionIterator(page HyperVClusterCollectionPage) HyperVClusterCollectionIterator

Creates a new instance of the HyperVClusterCollectionIterator type.

func (*HyperVClusterCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*HyperVClusterCollectionIterator) NextWithContext

func (iter *HyperVClusterCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (HyperVClusterCollectionIterator) NotDone

func (iter HyperVClusterCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (HyperVClusterCollectionIterator) Response

Response returns the raw server response from the last page request.

func (HyperVClusterCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type HyperVClusterCollectionPage

type HyperVClusterCollectionPage struct {
	// contains filtered or unexported fields
}

HyperVClusterCollectionPage contains a page of HyperVCluster values.

func NewHyperVClusterCollectionPage

func NewHyperVClusterCollectionPage(getNextPage func(context.Context, HyperVClusterCollection) (HyperVClusterCollection, error)) HyperVClusterCollectionPage

Creates a new instance of the HyperVClusterCollectionPage type.

func (*HyperVClusterCollectionPage) Next

func (page *HyperVClusterCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*HyperVClusterCollectionPage) NextWithContext

func (page *HyperVClusterCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (HyperVClusterCollectionPage) NotDone

func (page HyperVClusterCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (HyperVClusterCollectionPage) Response

Response returns the raw server response from the last page request.

func (HyperVClusterCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type HyperVClusterProperties

type HyperVClusterProperties struct {
	// CreatedTimestamp - READ-ONLY; Timestamp marking Hyper-V cluster creation.
	CreatedTimestamp *string `json:"createdTimestamp,omitempty"`
	// UpdatedTimestamp - READ-ONLY; Timestamp marking last updated on the Hyper-V cluster.
	UpdatedTimestamp *string `json:"updatedTimestamp,omitempty"`
	// Fqdn - FQDN/IPAddress of the Hyper-V cluster.
	Fqdn *string `json:"fqdn,omitempty"`
	// FunctionalLevel - READ-ONLY; Functional level of the Hyper-V cluster.
	FunctionalLevel *int32 `json:"functionalLevel,omitempty"`
	// Status - READ-ONLY; Status of the Hyper-V cluster.
	Status *string `json:"status,omitempty"`
	// RunAsAccountID - Run as account ID of the Hyper-V cluster.
	RunAsAccountID *string `json:"runAsAccountId,omitempty"`
	// HostFqdnList - List of hosts (FQDN) currently being tracked by the cluster.
	HostFqdnList *[]string `json:"hostFqdnList,omitempty"`
	// Errors - READ-ONLY; Errors for Hyper-V clusters.
	Errors *[]HealthErrorDetails `json:"errors,omitempty"`
}

HyperVClusterProperties class for cluster properties.

func (HyperVClusterProperties) MarshalJSON

func (hvcp HyperVClusterProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVClusterProperties.

type HyperVDisk

type HyperVDisk struct {
	// InstanceID - READ-ONLY; Id of the disk.
	InstanceID *string `json:"instanceId,omitempty"`
	// VhdID - READ-ONLY; VHD Id of the disk.
	VhdID *string `json:"vhdId,omitempty"`
	// MaxSizeInBytes - READ-ONLY; Bytes allocated for the disk.
	MaxSizeInBytes *int64 `json:"maxSizeInBytes,omitempty"`
	// Name - READ-ONLY; Name of the disk.
	Name *string `json:"name,omitempty"`
	// DiskType - READ-ONLY; Type of the disk.
	DiskType *string `json:"diskType,omitempty"`
	// Lun - READ-ONLY; LUN of the disk.
	Lun *int32 `json:"lun,omitempty"`
	// Path - READ-ONLY; Path of the disk.
	Path *string `json:"path,omitempty"`
}

HyperVDisk second level object returned as part of Machine REST resource.

type HyperVHost

type HyperVHost struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - Name of the host.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of resource. Type = Microsoft.OffAzure/hyperVSites/hosts.
	Type *string `json:"type,omitempty"`
	// Properties - Nested properties.
	Properties *HyperVHostProperties `json:"properties,omitempty"`
}

HyperVHost host REST Resource.

func (HyperVHost) MarshalJSON

func (hvh HyperVHost) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVHost.

type HyperVHostClient

type HyperVHostClient struct {
	BaseClient
}

HyperVHostClient is the discover your workloads for Azure.

func NewHyperVHostClient

func NewHyperVHostClient() HyperVHostClient

NewHyperVHostClient creates an instance of the HyperVHostClient client.

func NewHyperVHostClientWithBaseURI

func NewHyperVHostClientWithBaseURI(baseURI string) HyperVHostClient

NewHyperVHostClientWithBaseURI creates an instance of the HyperVHostClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (HyperVHostClient) GetAllHostsInSite

func (client HyperVHostClient) GetAllHostsInSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string, filter string) (result HyperVHostCollectionPage, err error)

GetAllHostsInSite sends the get all hosts in site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. APIVersion - the API version to use for this operation.

func (HyperVHostClient) GetAllHostsInSiteComplete

func (client HyperVHostClient) GetAllHostsInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string, filter string) (result HyperVHostCollectionIterator, err error)

GetAllHostsInSiteComplete enumerates all values, automatically crossing page boundaries as required.

func (HyperVHostClient) GetAllHostsInSitePreparer

func (client HyperVHostClient) GetAllHostsInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string, filter string) (*http.Request, error)

GetAllHostsInSitePreparer prepares the GetAllHostsInSite request.

func (HyperVHostClient) GetAllHostsInSiteResponder

func (client HyperVHostClient) GetAllHostsInSiteResponder(resp *http.Response) (result HyperVHostCollection, err error)

GetAllHostsInSiteResponder handles the response to the GetAllHostsInSite request. The method always closes the http.Response Body.

func (HyperVHostClient) GetAllHostsInSiteSender

func (client HyperVHostClient) GetAllHostsInSiteSender(req *http.Request) (*http.Response, error)

GetAllHostsInSiteSender sends the GetAllHostsInSite request. The method will close the http.Response Body if it receives an error.

func (HyperVHostClient) GetHost

func (client HyperVHostClient) GetHost(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, hostName string, APIVersion string) (result HyperVHost, err error)

GetHost sends the get host request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. hostName - host ARM name. APIVersion - the API version to use for this operation.

func (HyperVHostClient) GetHostPreparer

func (client HyperVHostClient) GetHostPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, hostName string, APIVersion string) (*http.Request, error)

GetHostPreparer prepares the GetHost request.

func (HyperVHostClient) GetHostResponder

func (client HyperVHostClient) GetHostResponder(resp *http.Response) (result HyperVHost, err error)

GetHostResponder handles the response to the GetHost request. The method always closes the http.Response Body.

func (HyperVHostClient) GetHostSender

func (client HyperVHostClient) GetHostSender(req *http.Request) (*http.Response, error)

GetHostSender sends the GetHost request. The method will close the http.Response Body if it receives an error.

func (HyperVHostClient) PutHost

func (client HyperVHostClient) PutHost(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, hostName string, body HyperVHost, APIVersion string) (result autorest.Response, err error)

PutHost sends the put host request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. hostName - host ARM name. body - put host body. APIVersion - the API version to use for this operation.

func (HyperVHostClient) PutHostPreparer

func (client HyperVHostClient) PutHostPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, hostName string, body HyperVHost, APIVersion string) (*http.Request, error)

PutHostPreparer prepares the PutHost request.

func (HyperVHostClient) PutHostResponder

func (client HyperVHostClient) PutHostResponder(resp *http.Response) (result autorest.Response, err error)

PutHostResponder handles the response to the PutHost request. The method always closes the http.Response Body.

func (HyperVHostClient) PutHostSender

func (client HyperVHostClient) PutHostSender(req *http.Request) (*http.Response, error)

PutHostSender sends the PutHost request. The method will close the http.Response Body if it receives an error.

type HyperVHostCollection

type HyperVHostCollection struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of hosts.
	Value *[]HyperVHost `json:"value,omitempty"`
	// NextLink - READ-ONLY; Value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

HyperVHostCollection collection of Hyper-V hosts.

func (HyperVHostCollection) IsEmpty

func (hvhc HyperVHostCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type HyperVHostCollectionIterator

type HyperVHostCollectionIterator struct {
	// contains filtered or unexported fields
}

HyperVHostCollectionIterator provides access to a complete listing of HyperVHost values.

func NewHyperVHostCollectionIterator

func NewHyperVHostCollectionIterator(page HyperVHostCollectionPage) HyperVHostCollectionIterator

Creates a new instance of the HyperVHostCollectionIterator type.

func (*HyperVHostCollectionIterator) Next

func (iter *HyperVHostCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*HyperVHostCollectionIterator) NextWithContext

func (iter *HyperVHostCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (HyperVHostCollectionIterator) NotDone

func (iter HyperVHostCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (HyperVHostCollectionIterator) Response

Response returns the raw server response from the last page request.

func (HyperVHostCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type HyperVHostCollectionPage

type HyperVHostCollectionPage struct {
	// contains filtered or unexported fields
}

HyperVHostCollectionPage contains a page of HyperVHost values.

func NewHyperVHostCollectionPage

func NewHyperVHostCollectionPage(getNextPage func(context.Context, HyperVHostCollection) (HyperVHostCollection, error)) HyperVHostCollectionPage

Creates a new instance of the HyperVHostCollectionPage type.

func (*HyperVHostCollectionPage) Next

func (page *HyperVHostCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*HyperVHostCollectionPage) NextWithContext

func (page *HyperVHostCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (HyperVHostCollectionPage) NotDone

func (page HyperVHostCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (HyperVHostCollectionPage) Response

Response returns the raw server response from the last page request.

func (HyperVHostCollectionPage) Values

func (page HyperVHostCollectionPage) Values() []HyperVHost

Values returns the slice of values for the current page or nil if there are no values.

type HyperVHostProperties

type HyperVHostProperties struct {
	// CreatedTimestamp - READ-ONLY; Timestamp marking Hyper-V host creation.
	CreatedTimestamp *string `json:"createdTimestamp,omitempty"`
	// UpdatedTimestamp - READ-ONLY; Timestamp marking last updated on the Hyper-V host.
	UpdatedTimestamp *string `json:"updatedTimestamp,omitempty"`
	// Fqdn - FQDN/IPAddress of the Hyper-V host.
	Fqdn *string `json:"fqdn,omitempty"`
	// RunAsAccountID - Run as account ID of the Hyper-V host.
	RunAsAccountID *string `json:"runAsAccountId,omitempty"`
	// Version - READ-ONLY; Version of the Hyper-V host.
	Version *string `json:"version,omitempty"`
	// Errors - READ-ONLY; Errors for Hyper-V hosts.
	Errors *[]HealthErrorDetails `json:"errors,omitempty"`
}

HyperVHostProperties class for host properties.

func (HyperVHostProperties) MarshalJSON

func (hvhp HyperVHostProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVHostProperties.

type HyperVJob

type HyperVJob struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the Job.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of resource. Type = Microsoft.OffAzure/HyperVSites/Jobs.
	Type *string `json:"type,omitempty"`
	// Properties - READ-ONLY; nested properties of Hyper-V job.
	Properties *JobProperties `json:"properties,omitempty"`
}

HyperVJob job REST Resource.

type HyperVJobCollection

type HyperVJobCollection struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of jobs.
	Value *[]HyperVJob `json:"value,omitempty"`
	// NextLink - READ-ONLY; Value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

HyperVJobCollection collection of Hyper-V jobs.

func (HyperVJobCollection) IsEmpty

func (hvjc HyperVJobCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type HyperVJobCollectionIterator

type HyperVJobCollectionIterator struct {
	// contains filtered or unexported fields
}

HyperVJobCollectionIterator provides access to a complete listing of HyperVJob values.

func NewHyperVJobCollectionIterator

func NewHyperVJobCollectionIterator(page HyperVJobCollectionPage) HyperVJobCollectionIterator

Creates a new instance of the HyperVJobCollectionIterator type.

func (*HyperVJobCollectionIterator) Next

func (iter *HyperVJobCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*HyperVJobCollectionIterator) NextWithContext

func (iter *HyperVJobCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (HyperVJobCollectionIterator) NotDone

func (iter HyperVJobCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (HyperVJobCollectionIterator) Response

Response returns the raw server response from the last page request.

func (HyperVJobCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type HyperVJobCollectionPage

type HyperVJobCollectionPage struct {
	// contains filtered or unexported fields
}

HyperVJobCollectionPage contains a page of HyperVJob values.

func NewHyperVJobCollectionPage

func NewHyperVJobCollectionPage(getNextPage func(context.Context, HyperVJobCollection) (HyperVJobCollection, error)) HyperVJobCollectionPage

Creates a new instance of the HyperVJobCollectionPage type.

func (*HyperVJobCollectionPage) Next

func (page *HyperVJobCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*HyperVJobCollectionPage) NextWithContext

func (page *HyperVJobCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (HyperVJobCollectionPage) NotDone

func (page HyperVJobCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (HyperVJobCollectionPage) Response

Response returns the raw server response from the last page request.

func (HyperVJobCollectionPage) Values

func (page HyperVJobCollectionPage) Values() []HyperVJob

Values returns the slice of values for the current page or nil if there are no values.

type HyperVJobsClient

type HyperVJobsClient struct {
	BaseClient
}

HyperVJobsClient is the discover your workloads for Azure.

func NewHyperVJobsClient

func NewHyperVJobsClient() HyperVJobsClient

NewHyperVJobsClient creates an instance of the HyperVJobsClient client.

func NewHyperVJobsClientWithBaseURI

func NewHyperVJobsClientWithBaseURI(baseURI string) HyperVJobsClient

NewHyperVJobsClientWithBaseURI creates an instance of the HyperVJobsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (HyperVJobsClient) GetAllJobsInSite

func (client HyperVJobsClient) GetAllJobsInSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result HyperVJobCollectionPage, err error)

GetAllJobsInSite sends the get all jobs in site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. APIVersion - the API version to use for this operation.

func (HyperVJobsClient) GetAllJobsInSiteComplete

func (client HyperVJobsClient) GetAllJobsInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result HyperVJobCollectionIterator, err error)

GetAllJobsInSiteComplete enumerates all values, automatically crossing page boundaries as required.

func (HyperVJobsClient) GetAllJobsInSitePreparer

func (client HyperVJobsClient) GetAllJobsInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (*http.Request, error)

GetAllJobsInSitePreparer prepares the GetAllJobsInSite request.

func (HyperVJobsClient) GetAllJobsInSiteResponder

func (client HyperVJobsClient) GetAllJobsInSiteResponder(resp *http.Response) (result HyperVJobCollection, err error)

GetAllJobsInSiteResponder handles the response to the GetAllJobsInSite request. The method always closes the http.Response Body.

func (HyperVJobsClient) GetAllJobsInSiteSender

func (client HyperVJobsClient) GetAllJobsInSiteSender(req *http.Request) (*http.Response, error)

GetAllJobsInSiteSender sends the GetAllJobsInSite request. The method will close the http.Response Body if it receives an error.

func (HyperVJobsClient) GetJob

func (client HyperVJobsClient) GetJob(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, jobName string, APIVersion string) (result HyperVJob, err error)

GetJob sends the get job request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. jobName - job ARM name. APIVersion - the API version to use for this operation.

func (HyperVJobsClient) GetJobPreparer

func (client HyperVJobsClient) GetJobPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, jobName string, APIVersion string) (*http.Request, error)

GetJobPreparer prepares the GetJob request.

func (HyperVJobsClient) GetJobResponder

func (client HyperVJobsClient) GetJobResponder(resp *http.Response) (result HyperVJob, err error)

GetJobResponder handles the response to the GetJob request. The method always closes the http.Response Body.

func (HyperVJobsClient) GetJobSender

func (client HyperVJobsClient) GetJobSender(req *http.Request) (*http.Response, error)

GetJobSender sends the GetJob request. The method will close the http.Response Body if it receives an error.

type HyperVMachine

type HyperVMachine struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the Sites.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of resource. Type = Microsoft.OffAzure/HyperVSites/Machines.
	Type *string `json:"type,omitempty"`
	// Properties - READ-ONLY; Nested properties.
	Properties *HyperVMachineProperties `json:"properties,omitempty"`
}

HyperVMachine machine REST Resource.

type HyperVMachineCollection

type HyperVMachineCollection struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of machines.
	Value *[]HyperVMachine `json:"value,omitempty"`
	// NextLink - READ-ONLY; Value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

HyperVMachineCollection collection of Hyper-V machines.

func (HyperVMachineCollection) IsEmpty

func (hvmc HyperVMachineCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type HyperVMachineCollectionIterator

type HyperVMachineCollectionIterator struct {
	// contains filtered or unexported fields
}

HyperVMachineCollectionIterator provides access to a complete listing of HyperVMachine values.

func NewHyperVMachineCollectionIterator

func NewHyperVMachineCollectionIterator(page HyperVMachineCollectionPage) HyperVMachineCollectionIterator

Creates a new instance of the HyperVMachineCollectionIterator type.

func (*HyperVMachineCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*HyperVMachineCollectionIterator) NextWithContext

func (iter *HyperVMachineCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (HyperVMachineCollectionIterator) NotDone

func (iter HyperVMachineCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (HyperVMachineCollectionIterator) Response

Response returns the raw server response from the last page request.

func (HyperVMachineCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type HyperVMachineCollectionPage

type HyperVMachineCollectionPage struct {
	// contains filtered or unexported fields
}

HyperVMachineCollectionPage contains a page of HyperVMachine values.

func NewHyperVMachineCollectionPage

func NewHyperVMachineCollectionPage(getNextPage func(context.Context, HyperVMachineCollection) (HyperVMachineCollection, error)) HyperVMachineCollectionPage

Creates a new instance of the HyperVMachineCollectionPage type.

func (*HyperVMachineCollectionPage) Next

func (page *HyperVMachineCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*HyperVMachineCollectionPage) NextWithContext

func (page *HyperVMachineCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (HyperVMachineCollectionPage) NotDone

func (page HyperVMachineCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (HyperVMachineCollectionPage) Response

Response returns the raw server response from the last page request.

func (HyperVMachineCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type HyperVMachineProperties

type HyperVMachineProperties struct {
	// HostFqdn - READ-ONLY; Host FQDN/IPAddress.
	HostFqdn *string `json:"hostFqdn,omitempty"`
	// HostID - READ-ONLY; Host ARM ID.
	HostID *string `json:"hostId,omitempty"`
	// ClusterFqdn - READ-ONLY; Cluster FQDN/IPAddress.
	ClusterFqdn *string `json:"clusterFqdn,omitempty"`
	// ClusterID - READ-ONLY; Cluster ARM ID.
	ClusterID *string `json:"clusterId,omitempty"`
	// ManagementServerType - READ-ONLY; Management server type of the machine. It is either Host or Cluster.
	ManagementServerType *string `json:"managementServerType,omitempty"`
	// Generation - READ-ONLY; Generation of the virtual machine.
	Generation *int32 `json:"generation,omitempty"`
	// Version - READ-ONLY; VM version.
	Version *string `json:"version,omitempty"`
	// HighAvailability - READ-ONLY; Value indicating whether the VM is highly available. Possible values include: 'HighlyAvailableUnknown', 'HighlyAvailableNo', 'HighlyAvailableYes'
	HighAvailability HighlyAvailable `json:"highAvailability,omitempty"`
	// MaxMemoryMB - READ-ONLY; Max memory of the virtual machine in MB.
	MaxMemoryMB *int32 `json:"maxMemoryMB,omitempty"`
	// Firmware - READ-ONLY; Firmware of the machine.
	Firmware *string `json:"firmware,omitempty"`
	// IsDynamicMemoryEnabled - READ-ONLY; Value indicating whether dynamic memory is enabled for the VM.
	IsDynamicMemoryEnabled *bool `json:"isDynamicMemoryEnabled,omitempty"`
	// Disks - READ-ONLY; Disks attached to the machine.
	Disks *[]HyperVDisk `json:"disks,omitempty"`
	// AppsAndRoles - READ-ONLY; Apps and Roles of the VM.
	AppsAndRoles *AppsAndRoles `json:"appsAndRoles,omitempty"`
	// NetworkAdapters - READ-ONLY; Network adapters attached to the machine.
	NetworkAdapters *[]HyperVNetworkAdapter `json:"networkAdapters,omitempty"`
	// DisplayName - READ-ONLY; Display name of the machine.
	DisplayName *string `json:"displayName,omitempty"`
	// NumberOfProcessorCore - READ-ONLY; Number of Processor Cores allocated for the machine.
	NumberOfProcessorCore *int32 `json:"numberOfProcessorCore,omitempty"`
	// AllocatedMemoryInMB - READ-ONLY; Allocated Memory in MB.
	AllocatedMemoryInMB *float64 `json:"allocatedMemoryInMB,omitempty"`
	// VMConfigurationFileLocation - READ-ONLY; Root location of the VM configuration file.
	VMConfigurationFileLocation *string `json:"vmConfigurationFileLocation,omitempty"`
	// OperatingSystemDetails - READ-ONLY; Operating System Details installed on the machine.
	OperatingSystemDetails *OperatingSystem `json:"operatingSystemDetails,omitempty"`
	// GuestOSDetails - READ-ONLY; Operating System Details extracted from the guest by executing script inside the guest VM.
	GuestOSDetails *GuestOSDetails `json:"guestOSDetails,omitempty"`
	// NumberOfApplications - READ-ONLY; Number of applications installed in the guest VM.
	NumberOfApplications *int32 `json:"numberOfApplications,omitempty"`
	// GuestDetailsDiscoveryTimestamp - READ-ONLY; The last time at which the Guest Details of machine was discovered.
	GuestDetailsDiscoveryTimestamp *date.Time `json:"guestDetailsDiscoveryTimestamp,omitempty"`
	// IsGuestDetailsDiscoveryInProgress - READ-ONLY; Whether Refresh Fabric Layout Guest Details has been completed once. Portal will show discovery in progress, if this value is true.
	IsGuestDetailsDiscoveryInProgress *bool `json:"isGuestDetailsDiscoveryInProgress,omitempty"`
	// CreatedTimestamp - READ-ONLY; Timestamp marking machine creation.
	CreatedTimestamp *string `json:"createdTimestamp,omitempty"`
	// UpdatedTimestamp - READ-ONLY; Timestamp marking last updated on the machine.
	UpdatedTimestamp *string `json:"updatedTimestamp,omitempty"`
	// InstanceUUID - READ-ONLY; On-premise Instance UUID of the machine.
	InstanceUUID *string `json:"instanceUuid,omitempty"`
	// PowerStatus - READ-ONLY; Machine power status.
	PowerStatus *string `json:"powerStatus,omitempty"`
	// BiosSerialNumber - READ-ONLY; Machine BIOS serial number.
	BiosSerialNumber *string `json:"biosSerialNumber,omitempty"`
	// BiosGUID - READ-ONLY; Machine BIOS GUID.
	BiosGUID *string `json:"biosGuid,omitempty"`
	// VMFqdn - READ-ONLY; Machine FQDN.
	VMFqdn *string `json:"vmFqdn,omitempty"`
	// IsDeleted - READ-ONLY; Value indicating whether VM is deleted.
	IsDeleted *bool `json:"isDeleted,omitempty"`
	// Errors - READ-ONLY; Errors for machine.
	Errors *[]HealthErrorDetails `json:"errors,omitempty"`
}

HyperVMachineProperties class for machine properties.

type HyperVMachinesClient

type HyperVMachinesClient struct {
	BaseClient
}

HyperVMachinesClient is the discover your workloads for Azure.

func NewHyperVMachinesClient

func NewHyperVMachinesClient() HyperVMachinesClient

NewHyperVMachinesClient creates an instance of the HyperVMachinesClient client.

func NewHyperVMachinesClientWithBaseURI

func NewHyperVMachinesClientWithBaseURI(baseURI string) HyperVMachinesClient

NewHyperVMachinesClientWithBaseURI creates an instance of the HyperVMachinesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (HyperVMachinesClient) GetAllMachinesInSite

func (client HyperVMachinesClient) GetAllMachinesInSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string, filter string, top *int32, continuationToken string, totalRecordCount *int32) (result HyperVMachineCollectionPage, err error)

GetAllMachinesInSite sends the get all machines in site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. APIVersion - the API version to use for this operation. continuationToken - optional parameter for continuation token. totalRecordCount - total count of machines in the given site.

func (HyperVMachinesClient) GetAllMachinesInSiteComplete

func (client HyperVMachinesClient) GetAllMachinesInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string, filter string, top *int32, continuationToken string, totalRecordCount *int32) (result HyperVMachineCollectionIterator, err error)

GetAllMachinesInSiteComplete enumerates all values, automatically crossing page boundaries as required.

func (HyperVMachinesClient) GetAllMachinesInSitePreparer

func (client HyperVMachinesClient) GetAllMachinesInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string, filter string, top *int32, continuationToken string, totalRecordCount *int32) (*http.Request, error)

GetAllMachinesInSitePreparer prepares the GetAllMachinesInSite request.

func (HyperVMachinesClient) GetAllMachinesInSiteResponder

func (client HyperVMachinesClient) GetAllMachinesInSiteResponder(resp *http.Response) (result HyperVMachineCollection, err error)

GetAllMachinesInSiteResponder handles the response to the GetAllMachinesInSite request. The method always closes the http.Response Body.

func (HyperVMachinesClient) GetAllMachinesInSiteSender

func (client HyperVMachinesClient) GetAllMachinesInSiteSender(req *http.Request) (*http.Response, error)

GetAllMachinesInSiteSender sends the GetAllMachinesInSite request. The method will close the http.Response Body if it receives an error.

func (HyperVMachinesClient) GetMachine

func (client HyperVMachinesClient) GetMachine(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, machineName string, APIVersion string) (result HyperVMachine, err error)

GetMachine sends the get machine request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. machineName - machine ARM name. APIVersion - the API version to use for this operation.

func (HyperVMachinesClient) GetMachinePreparer

func (client HyperVMachinesClient) GetMachinePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, machineName string, APIVersion string) (*http.Request, error)

GetMachinePreparer prepares the GetMachine request.

func (HyperVMachinesClient) GetMachineResponder

func (client HyperVMachinesClient) GetMachineResponder(resp *http.Response) (result HyperVMachine, err error)

GetMachineResponder handles the response to the GetMachine request. The method always closes the http.Response Body.

func (HyperVMachinesClient) GetMachineSender

func (client HyperVMachinesClient) GetMachineSender(req *http.Request) (*http.Response, error)

GetMachineSender sends the GetMachine request. The method will close the http.Response Body if it receives an error.

type HyperVNetworkAdapter

type HyperVNetworkAdapter struct {
	// NetworkID - READ-ONLY; Network Id.
	NetworkID *string `json:"networkId,omitempty"`
	// SubnetName - READ-ONLY; Name of the VM subnet within the virtual network the NIC is attached to.
	SubnetName *string `json:"subnetName,omitempty"`
	// StaticIPAddress - READ-ONLY; Static IP address.
	StaticIPAddress *string `json:"staticIpAddress,omitempty"`
	// NicType - READ-ONLY; Mac address of the NIC.
	NicType *string `json:"nicType,omitempty"`
	// NicID - READ-ONLY; NIC Id.
	NicID *string `json:"nicId,omitempty"`
	// MacAddress - READ-ONLY; Mac address of the NIC.
	MacAddress *string `json:"macAddress,omitempty"`
	// IPAddressList - READ-ONLY; IP addresses for the machine.
	IPAddressList *[]string `json:"ipAddressList,omitempty"`
	// NetworkName - READ-ONLY; Network Name.
	NetworkName *string `json:"networkName,omitempty"`
	// IPAddressType - READ-ONLY; Type of the IP address.
	IPAddressType *string `json:"ipAddressType,omitempty"`
}

HyperVNetworkAdapter second level object represented in responses as part of Machine REST resource.

type HyperVOperationsStatusClient

type HyperVOperationsStatusClient struct {
	BaseClient
}

HyperVOperationsStatusClient is the discover your workloads for Azure.

func NewHyperVOperationsStatusClient

func NewHyperVOperationsStatusClient() HyperVOperationsStatusClient

NewHyperVOperationsStatusClient creates an instance of the HyperVOperationsStatusClient client.

func NewHyperVOperationsStatusClientWithBaseURI

func NewHyperVOperationsStatusClientWithBaseURI(baseURI string) HyperVOperationsStatusClient

NewHyperVOperationsStatusClientWithBaseURI creates an instance of the HyperVOperationsStatusClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (HyperVOperationsStatusClient) GetOperationStatus

func (client HyperVOperationsStatusClient) GetOperationStatus(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, operationStatusName string, APIVersion string) (result OperationStatus, err error)

GetOperationStatus sends the get operation status request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. operationStatusName - operation status ARM name. APIVersion - the API version to use for this operation.

func (HyperVOperationsStatusClient) GetOperationStatusPreparer

func (client HyperVOperationsStatusClient) GetOperationStatusPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, operationStatusName string, APIVersion string) (*http.Request, error)

GetOperationStatusPreparer prepares the GetOperationStatus request.

func (HyperVOperationsStatusClient) GetOperationStatusResponder

func (client HyperVOperationsStatusClient) GetOperationStatusResponder(resp *http.Response) (result OperationStatus, err error)

GetOperationStatusResponder handles the response to the GetOperationStatus request. The method always closes the http.Response Body.

func (HyperVOperationsStatusClient) GetOperationStatusSender

func (client HyperVOperationsStatusClient) GetOperationStatusSender(req *http.Request) (*http.Response, error)

GetOperationStatusSender sends the GetOperationStatus request. The method will close the http.Response Body if it receives an error.

type HyperVRunAsAccount

type HyperVRunAsAccount struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the Sites.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of resource. Type = Microsoft.OffAzure/HyperVSites/RunAsAccounts.
	Type *string `json:"type,omitempty"`
	// Properties - READ-ONLY; Nested properties of run as account.
	Properties *RunAsAccountProperties `json:"properties,omitempty"`
}

HyperVRunAsAccount run as account REST Resource.

type HyperVRunAsAccountCollection

type HyperVRunAsAccountCollection struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of run as accounts.
	Value *[]HyperVRunAsAccount `json:"value,omitempty"`
	// NextLink - READ-ONLY; Value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

HyperVRunAsAccountCollection collection of Hyper-V run as accounts.

func (HyperVRunAsAccountCollection) IsEmpty

func (hvraac HyperVRunAsAccountCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type HyperVRunAsAccountCollectionIterator

type HyperVRunAsAccountCollectionIterator struct {
	// contains filtered or unexported fields
}

HyperVRunAsAccountCollectionIterator provides access to a complete listing of HyperVRunAsAccount values.

func NewHyperVRunAsAccountCollectionIterator

func NewHyperVRunAsAccountCollectionIterator(page HyperVRunAsAccountCollectionPage) HyperVRunAsAccountCollectionIterator

Creates a new instance of the HyperVRunAsAccountCollectionIterator type.

func (*HyperVRunAsAccountCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*HyperVRunAsAccountCollectionIterator) NextWithContext

func (iter *HyperVRunAsAccountCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (HyperVRunAsAccountCollectionIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (HyperVRunAsAccountCollectionIterator) Response

Response returns the raw server response from the last page request.

func (HyperVRunAsAccountCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type HyperVRunAsAccountCollectionPage

type HyperVRunAsAccountCollectionPage struct {
	// contains filtered or unexported fields
}

HyperVRunAsAccountCollectionPage contains a page of HyperVRunAsAccount values.

func NewHyperVRunAsAccountCollectionPage

Creates a new instance of the HyperVRunAsAccountCollectionPage type.

func (*HyperVRunAsAccountCollectionPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*HyperVRunAsAccountCollectionPage) NextWithContext

func (page *HyperVRunAsAccountCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (HyperVRunAsAccountCollectionPage) NotDone

func (page HyperVRunAsAccountCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (HyperVRunAsAccountCollectionPage) Response

Response returns the raw server response from the last page request.

func (HyperVRunAsAccountCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type HyperVRunAsAccountsClient

type HyperVRunAsAccountsClient struct {
	BaseClient
}

HyperVRunAsAccountsClient is the discover your workloads for Azure.

func NewHyperVRunAsAccountsClient

func NewHyperVRunAsAccountsClient() HyperVRunAsAccountsClient

NewHyperVRunAsAccountsClient creates an instance of the HyperVRunAsAccountsClient client.

func NewHyperVRunAsAccountsClientWithBaseURI

func NewHyperVRunAsAccountsClientWithBaseURI(baseURI string) HyperVRunAsAccountsClient

NewHyperVRunAsAccountsClientWithBaseURI creates an instance of the HyperVRunAsAccountsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (HyperVRunAsAccountsClient) GetAllRunAsAccountsInSite

func (client HyperVRunAsAccountsClient) GetAllRunAsAccountsInSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result HyperVRunAsAccountCollectionPage, err error)

GetAllRunAsAccountsInSite sends the get all run as accounts in site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. APIVersion - the API version to use for this operation.

func (HyperVRunAsAccountsClient) GetAllRunAsAccountsInSiteComplete

func (client HyperVRunAsAccountsClient) GetAllRunAsAccountsInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result HyperVRunAsAccountCollectionIterator, err error)

GetAllRunAsAccountsInSiteComplete enumerates all values, automatically crossing page boundaries as required.

func (HyperVRunAsAccountsClient) GetAllRunAsAccountsInSitePreparer

func (client HyperVRunAsAccountsClient) GetAllRunAsAccountsInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (*http.Request, error)

GetAllRunAsAccountsInSitePreparer prepares the GetAllRunAsAccountsInSite request.

func (HyperVRunAsAccountsClient) GetAllRunAsAccountsInSiteResponder

func (client HyperVRunAsAccountsClient) GetAllRunAsAccountsInSiteResponder(resp *http.Response) (result HyperVRunAsAccountCollection, err error)

GetAllRunAsAccountsInSiteResponder handles the response to the GetAllRunAsAccountsInSite request. The method always closes the http.Response Body.

func (HyperVRunAsAccountsClient) GetAllRunAsAccountsInSiteSender

func (client HyperVRunAsAccountsClient) GetAllRunAsAccountsInSiteSender(req *http.Request) (*http.Response, error)

GetAllRunAsAccountsInSiteSender sends the GetAllRunAsAccountsInSite request. The method will close the http.Response Body if it receives an error.

func (HyperVRunAsAccountsClient) GetRunAsAccount

func (client HyperVRunAsAccountsClient) GetRunAsAccount(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, accountName string, APIVersion string) (result HyperVRunAsAccount, err error)

GetRunAsAccount sends the get run as account request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. accountName - run as account ARM name. APIVersion - the API version to use for this operation.

func (HyperVRunAsAccountsClient) GetRunAsAccountPreparer

func (client HyperVRunAsAccountsClient) GetRunAsAccountPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, accountName string, APIVersion string) (*http.Request, error)

GetRunAsAccountPreparer prepares the GetRunAsAccount request.

func (HyperVRunAsAccountsClient) GetRunAsAccountResponder

func (client HyperVRunAsAccountsClient) GetRunAsAccountResponder(resp *http.Response) (result HyperVRunAsAccount, err error)

GetRunAsAccountResponder handles the response to the GetRunAsAccount request. The method always closes the http.Response Body.

func (HyperVRunAsAccountsClient) GetRunAsAccountSender

func (client HyperVRunAsAccountsClient) GetRunAsAccountSender(req *http.Request) (*http.Response, error)

GetRunAsAccountSender sends the GetRunAsAccount request. The method will close the http.Response Body if it receives an error.

type HyperVSite

type HyperVSite struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - Name of the Hyper-V site.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of resource. Type = Microsoft.OffAzure/HyperVSites.
	Type *string            `json:"type,omitempty"`
	Tags map[string]*string `json:"tags"`
	// ETag - eTag for concurrency control.
	ETag *string `json:"eTag,omitempty"`
	// Location - Azure location in which Sites is created.
	Location *string `json:"location,omitempty"`
	// Properties - Nested properties of Hyper-V site.
	Properties *SiteProperties `json:"properties,omitempty"`
}

HyperVSite site REST Resource.

func (HyperVSite) MarshalJSON

func (hvs HyperVSite) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HyperVSite.

type HyperVSiteUsage

type HyperVSiteUsage struct {
	autorest.Response `json:"-"`
	// MachineCount - Number of machines discovered in the site.
	MachineCount *int32 `json:"machineCount,omitempty"`
	// RunAsAccountCount - Number of run as accounts in the site.
	RunAsAccountCount *int32 `json:"runAsAccountCount,omitempty"`
	// HostCount - Number of hosts part of the site.
	HostCount *int32 `json:"hostCount,omitempty"`
	// ClusterCount - Number of clusters part of the site.
	ClusterCount *int32 `json:"clusterCount,omitempty"`
}

HyperVSiteUsage hyper-V site usage.

type HyperVSitesClient

type HyperVSitesClient struct {
	BaseClient
}

HyperVSitesClient is the discover your workloads for Azure.

func NewHyperVSitesClient

func NewHyperVSitesClient() HyperVSitesClient

NewHyperVSitesClient creates an instance of the HyperVSitesClient client.

func NewHyperVSitesClientWithBaseURI

func NewHyperVSitesClientWithBaseURI(baseURI string) HyperVSitesClient

NewHyperVSitesClientWithBaseURI creates an instance of the HyperVSitesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (HyperVSitesClient) DeleteSite

func (client HyperVSitesClient) DeleteSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result autorest.Response, err error)

DeleteSite sends the delete site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. APIVersion - the API version to use for this operation.

func (HyperVSitesClient) DeleteSitePreparer

func (client HyperVSitesClient) DeleteSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (*http.Request, error)

DeleteSitePreparer prepares the DeleteSite request.

func (HyperVSitesClient) DeleteSiteResponder

func (client HyperVSitesClient) DeleteSiteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteSiteResponder handles the response to the DeleteSite request. The method always closes the http.Response Body.

func (HyperVSitesClient) DeleteSiteSender

func (client HyperVSitesClient) DeleteSiteSender(req *http.Request) (*http.Response, error)

DeleteSiteSender sends the DeleteSite request. The method will close the http.Response Body if it receives an error.

func (HyperVSitesClient) GetSite

func (client HyperVSitesClient) GetSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result HyperVSite, err error)

GetSite sends the get site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. APIVersion - the API version to use for this operation.

func (HyperVSitesClient) GetSiteHealthSummary

func (client HyperVSitesClient) GetSiteHealthSummary(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result SiteHealthSummaryCollectionPage, err error)

GetSiteHealthSummary sends the get site health summary request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. APIVersion - the API version to use for this operation.

func (HyperVSitesClient) GetSiteHealthSummaryComplete

func (client HyperVSitesClient) GetSiteHealthSummaryComplete(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result SiteHealthSummaryCollectionIterator, err error)

GetSiteHealthSummaryComplete enumerates all values, automatically crossing page boundaries as required.

func (HyperVSitesClient) GetSiteHealthSummaryPreparer

func (client HyperVSitesClient) GetSiteHealthSummaryPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (*http.Request, error)

GetSiteHealthSummaryPreparer prepares the GetSiteHealthSummary request.

func (HyperVSitesClient) GetSiteHealthSummaryResponder

func (client HyperVSitesClient) GetSiteHealthSummaryResponder(resp *http.Response) (result SiteHealthSummaryCollection, err error)

GetSiteHealthSummaryResponder handles the response to the GetSiteHealthSummary request. The method always closes the http.Response Body.

func (HyperVSitesClient) GetSiteHealthSummarySender

func (client HyperVSitesClient) GetSiteHealthSummarySender(req *http.Request) (*http.Response, error)

GetSiteHealthSummarySender sends the GetSiteHealthSummary request. The method will close the http.Response Body if it receives an error.

func (HyperVSitesClient) GetSitePreparer

func (client HyperVSitesClient) GetSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (*http.Request, error)

GetSitePreparer prepares the GetSite request.

func (HyperVSitesClient) GetSiteResponder

func (client HyperVSitesClient) GetSiteResponder(resp *http.Response) (result HyperVSite, err error)

GetSiteResponder handles the response to the GetSite request. The method always closes the http.Response Body.

func (HyperVSitesClient) GetSiteSender

func (client HyperVSitesClient) GetSiteSender(req *http.Request) (*http.Response, error)

GetSiteSender sends the GetSite request. The method will close the http.Response Body if it receives an error.

func (HyperVSitesClient) GetSiteUsage

func (client HyperVSitesClient) GetSiteUsage(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result HyperVSiteUsage, err error)

GetSiteUsage sends the get site usage request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name.

func (HyperVSitesClient) GetSiteUsagePreparer

func (client HyperVSitesClient) GetSiteUsagePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (*http.Request, error)

GetSiteUsagePreparer prepares the GetSiteUsage request.

func (HyperVSitesClient) GetSiteUsageResponder

func (client HyperVSitesClient) GetSiteUsageResponder(resp *http.Response) (result HyperVSiteUsage, err error)

GetSiteUsageResponder handles the response to the GetSiteUsage request. The method always closes the http.Response Body.

func (HyperVSitesClient) GetSiteUsageSender

func (client HyperVSitesClient) GetSiteUsageSender(req *http.Request) (*http.Response, error)

GetSiteUsageSender sends the GetSiteUsage request. The method will close the http.Response Body if it receives an error.

func (HyperVSitesClient) PatchSite

func (client HyperVSitesClient) PatchSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, body HyperVSite, APIVersion string) (result HyperVSite, err error)

PatchSite sends the patch site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. body - body with site details. APIVersion - the API version to use for this operation.

func (HyperVSitesClient) PatchSitePreparer

func (client HyperVSitesClient) PatchSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, body HyperVSite, APIVersion string) (*http.Request, error)

PatchSitePreparer prepares the PatchSite request.

func (HyperVSitesClient) PatchSiteResponder

func (client HyperVSitesClient) PatchSiteResponder(resp *http.Response) (result HyperVSite, err error)

PatchSiteResponder handles the response to the PatchSite request. The method always closes the http.Response Body.

func (HyperVSitesClient) PatchSiteSender

func (client HyperVSitesClient) PatchSiteSender(req *http.Request) (*http.Response, error)

PatchSiteSender sends the PatchSite request. The method will close the http.Response Body if it receives an error.

func (HyperVSitesClient) PutSite

func (client HyperVSitesClient) PutSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, body HyperVSite, APIVersion string) (result HyperVSite, err error)

PutSite sends the put site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. body - body with site details. APIVersion - the API version to use for this operation.

func (HyperVSitesClient) PutSitePreparer

func (client HyperVSitesClient) PutSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, body HyperVSite, APIVersion string) (*http.Request, error)

PutSitePreparer prepares the PutSite request.

func (HyperVSitesClient) PutSiteResponder

func (client HyperVSitesClient) PutSiteResponder(resp *http.Response) (result HyperVSite, err error)

PutSiteResponder handles the response to the PutSite request. The method always closes the http.Response Body.

func (HyperVSitesClient) PutSiteSender

func (client HyperVSitesClient) PutSiteSender(req *http.Request) (*http.Response, error)

PutSiteSender sends the PutSite request. The method will close the http.Response Body if it receives an error.

func (HyperVSitesClient) RefreshSite

func (client HyperVSitesClient) RefreshSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result autorest.Response, err error)

RefreshSite sends the refresh site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. APIVersion - the API version to use for this operation.

func (HyperVSitesClient) RefreshSitePreparer

func (client HyperVSitesClient) RefreshSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (*http.Request, error)

RefreshSitePreparer prepares the RefreshSite request.

func (HyperVSitesClient) RefreshSiteResponder

func (client HyperVSitesClient) RefreshSiteResponder(resp *http.Response) (result autorest.Response, err error)

RefreshSiteResponder handles the response to the RefreshSite request. The method always closes the http.Response Body.

func (HyperVSitesClient) RefreshSiteSender

func (client HyperVSitesClient) RefreshSiteSender(req *http.Request) (*http.Response, error)

RefreshSiteSender sends the RefreshSite request. The method will close the http.Response Body if it receives an error.

type HypervisorConfiguration

type HypervisorConfiguration struct {
	// HypervisorType - Possible values include: 'HypervisorTypeUnknown', 'HypervisorTypeHyperv'
	HypervisorType      HypervisorType `json:"hypervisorType,omitempty"`
	NativeHostMachineID *string        `json:"nativeHostMachineId,omitempty"`
}

HypervisorConfiguration ...

type HypervisorType

type HypervisorType string

HypervisorType enumerates the values for hypervisor type.

const (
	// HypervisorTypeHyperv ...
	HypervisorTypeHyperv HypervisorType = "hyperv"
	// HypervisorTypeUnknown ...
	HypervisorTypeUnknown HypervisorType = "unknown"
)

func PossibleHypervisorTypeValues

func PossibleHypervisorTypeValues() []HypervisorType

PossibleHypervisorTypeValues returns an array of possible values for the HypervisorType const type.

type Ipv4NetworkInterface

type Ipv4NetworkInterface struct {
	IPAddress  *string `json:"ipAddress,omitempty"`
	SubnetMask *string `json:"subnetMask,omitempty"`
}

Ipv4NetworkInterface ...

type Ipv6NetworkInterface

type Ipv6NetworkInterface struct {
	IPAddress *string `json:"ipAddress,omitempty"`
}

Ipv6NetworkInterface ...

type JobProperties

type JobProperties struct {
	// Status - READ-ONLY; Operation status.
	Status *string `json:"status,omitempty"`
	// StartTime - READ-ONLY; Operation start time.
	StartTime *string `json:"startTime,omitempty"`
	// EndTime - READ-ONLY; Operation end time.
	EndTime *string `json:"endTime,omitempty"`
	// DisplayName - READ-ONLY; Display name of the Job.
	DisplayName *string `json:"displayName,omitempty"`
	// ClientRequestID - READ-ONLY; Client request Id used in the operation execution context.
	ClientRequestID *string `json:"clientRequestId,omitempty"`
	// ActivityID - READ-ONLY; Activity Id used in the operation execution context.
	ActivityID *string `json:"activityId,omitempty"`
	// Errors - READ-ONLY; Errors.
	Errors *[]ErrorDetails `json:"errors,omitempty"`
}

JobProperties class for machine properties.

type JobsClient

type JobsClient struct {
	BaseClient
}

JobsClient is the discover your workloads for Azure.

func NewJobsClient

func NewJobsClient() JobsClient

NewJobsClient creates an instance of the JobsClient client.

func NewJobsClientWithBaseURI

func NewJobsClientWithBaseURI(baseURI string) JobsClient

NewJobsClientWithBaseURI creates an instance of the JobsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (JobsClient) GetAllJobsInSite

func (client JobsClient) GetAllJobsInSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result VMwareJobCollectionPage, err error)

GetAllJobsInSite sends the get all jobs in site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. APIVersion - the API version to use for this operation.

func (JobsClient) GetAllJobsInSiteComplete

func (client JobsClient) GetAllJobsInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result VMwareJobCollectionIterator, err error)

GetAllJobsInSiteComplete enumerates all values, automatically crossing page boundaries as required.

func (JobsClient) GetAllJobsInSitePreparer

func (client JobsClient) GetAllJobsInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (*http.Request, error)

GetAllJobsInSitePreparer prepares the GetAllJobsInSite request.

func (JobsClient) GetAllJobsInSiteResponder

func (client JobsClient) GetAllJobsInSiteResponder(resp *http.Response) (result VMwareJobCollection, err error)

GetAllJobsInSiteResponder handles the response to the GetAllJobsInSite request. The method always closes the http.Response Body.

func (JobsClient) GetAllJobsInSiteSender

func (client JobsClient) GetAllJobsInSiteSender(req *http.Request) (*http.Response, error)

GetAllJobsInSiteSender sends the GetAllJobsInSite request. The method will close the http.Response Body if it receives an error.

func (JobsClient) GetJob

func (client JobsClient) GetJob(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, jobName string, APIVersion string) (result VMwareJob, err error)

GetJob sends the get job request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. jobName - job ARM name. APIVersion - the API version to use for this operation.

func (JobsClient) GetJobPreparer

func (client JobsClient) GetJobPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, jobName string, APIVersion string) (*http.Request, error)

GetJobPreparer prepares the GetJob request.

func (JobsClient) GetJobResponder

func (client JobsClient) GetJobResponder(resp *http.Response) (result VMwareJob, err error)

GetJobResponder handles the response to the GetJob request. The method always closes the http.Response Body.

func (JobsClient) GetJobSender

func (client JobsClient) GetJobSender(req *http.Request) (*http.Response, error)

GetJobSender sends the GetJob request. The method will close the http.Response Body if it receives an error.

type Machine

type Machine struct {
	PropertiesTimestamp *date.Time `json:"properties.timestamp,omitempty"`
	// PropertiesMonitoringState - Possible values include: 'Monitored', 'Discovered'
	PropertiesMonitoringState PropertiesMonitoringState `json:"properties.monitoringState,omitempty"`
	// PropertiesVirtualizationState - Possible values include: 'PropertiesVirtualizationStateUnknown', 'PropertiesVirtualizationStatePhysical', 'PropertiesVirtualizationStateVirtual', 'PropertiesVirtualizationStateHypervisor'
	PropertiesVirtualizationState      PropertiesVirtualizationState  `json:"properties.virtualizationState,omitempty"`
	PropertiesDisplayName              *string                        `json:"properties.displayName,omitempty"`
	PropertiesComputerName             *string                        `json:"properties.computerName,omitempty"`
	PropertiesFullyQualifiedDomainName *string                        `json:"properties.fullyQualifiedDomainName,omitempty"`
	PropertiesBootTime                 *date.Time                     `json:"properties.bootTime,omitempty"`
	PropertiesTimezone                 *Timezone                      `json:"properties.timezone,omitempty"`
	PropertiesAgent                    *AgentConfiguration            `json:"properties.agent,omitempty"`
	PropertiesResources                *MachineResourcesConfiguration `json:"properties.resources,omitempty"`
	PropertiesNetworking               *NetworkConfiguration          `json:"properties.networking,omitempty"`
	PropertiesOperatingSystem          *OperatingSystemConfiguration  `json:"properties.operatingSystem,omitempty"`
	PropertiesVirtualMachine           *VirtualMachineConfiguration   `json:"properties.virtualMachine,omitempty"`
	PropertiesHypervisor               *HypervisorConfiguration       `json:"properties.hypervisor,omitempty"`
	PropertiesHosting                  *HostingConfiguration          `json:"properties.hosting,omitempty"`
	Etag                               *string                        `json:"etag,omitempty"`
	ID                                 *string                        `json:"id,omitempty"`
	Type                               *string                        `json:"type,omitempty"`
	Name                               *string                        `json:"name,omitempty"`
}

Machine ...

type MachineResourcesConfiguration

type MachineResourcesConfiguration struct {
	PhysicalMemory *int32 `json:"physicalMemory,omitempty"`
	Cpus           *int32 `json:"cpus,omitempty"`
	CPUSpeed       *int32 `json:"cpuSpeed,omitempty"`
	// CPUSpeedAccuracy - Possible values include: 'Actual', 'Estimated'
	CPUSpeedAccuracy CPUSpeedAccuracy `json:"cpuSpeedAccuracy,omitempty"`
}

MachineResourcesConfiguration ...

type MachinesClient

type MachinesClient struct {
	BaseClient
}

MachinesClient is the discover your workloads for Azure.

func NewMachinesClient

func NewMachinesClient() MachinesClient

NewMachinesClient creates an instance of the MachinesClient client.

func NewMachinesClientWithBaseURI

func NewMachinesClientWithBaseURI(baseURI string) MachinesClient

NewMachinesClientWithBaseURI creates an instance of the MachinesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (MachinesClient) GetAllMachinesInSite

func (client MachinesClient) GetAllMachinesInSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string, filter string, top *int32, continuationToken string, totalRecordCount *int32) (result VMwareMachineCollectionPage, err error)

GetAllMachinesInSite sends the get all machines in site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. APIVersion - the API version to use for this operation. continuationToken - optional parameter for continuation token. totalRecordCount - total count of machines in the given site.

func (MachinesClient) GetAllMachinesInSiteComplete

func (client MachinesClient) GetAllMachinesInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string, filter string, top *int32, continuationToken string, totalRecordCount *int32) (result VMwareMachineCollectionIterator, err error)

GetAllMachinesInSiteComplete enumerates all values, automatically crossing page boundaries as required.

func (MachinesClient) GetAllMachinesInSitePreparer

func (client MachinesClient) GetAllMachinesInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string, filter string, top *int32, continuationToken string, totalRecordCount *int32) (*http.Request, error)

GetAllMachinesInSitePreparer prepares the GetAllMachinesInSite request.

func (MachinesClient) GetAllMachinesInSiteResponder

func (client MachinesClient) GetAllMachinesInSiteResponder(resp *http.Response) (result VMwareMachineCollection, err error)

GetAllMachinesInSiteResponder handles the response to the GetAllMachinesInSite request. The method always closes the http.Response Body.

func (MachinesClient) GetAllMachinesInSiteSender

func (client MachinesClient) GetAllMachinesInSiteSender(req *http.Request) (*http.Response, error)

GetAllMachinesInSiteSender sends the GetAllMachinesInSite request. The method will close the http.Response Body if it receives an error.

func (MachinesClient) GetMachine

func (client MachinesClient) GetMachine(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, machineName string, APIVersion string) (result VMwareMachine, err error)

GetMachine sends the get machine request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. machineName - machine ARM name. APIVersion - the API version to use for this operation.

func (MachinesClient) GetMachinePreparer

func (client MachinesClient) GetMachinePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, machineName string, APIVersion string) (*http.Request, error)

GetMachinePreparer prepares the GetMachine request.

func (MachinesClient) GetMachineResponder

func (client MachinesClient) GetMachineResponder(resp *http.Response) (result VMwareMachine, err error)

GetMachineResponder handles the response to the GetMachine request. The method always closes the http.Response Body.

func (MachinesClient) GetMachineSender

func (client MachinesClient) GetMachineSender(req *http.Request) (*http.Response, error)

GetMachineSender sends the GetMachine request. The method will close the http.Response Body if it receives an error.

func (MachinesClient) StartMachine

func (client MachinesClient) StartMachine(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, machineName string, APIVersion string) (result autorest.Response, err error)

StartMachine sends the start machine request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. machineName - machine ARM name. APIVersion - the API version to use for this operation.

func (MachinesClient) StartMachinePreparer

func (client MachinesClient) StartMachinePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, machineName string, APIVersion string) (*http.Request, error)

StartMachinePreparer prepares the StartMachine request.

func (MachinesClient) StartMachineResponder

func (client MachinesClient) StartMachineResponder(resp *http.Response) (result autorest.Response, err error)

StartMachineResponder handles the response to the StartMachine request. The method always closes the http.Response Body.

func (MachinesClient) StartMachineSender

func (client MachinesClient) StartMachineSender(req *http.Request) (*http.Response, error)

StartMachineSender sends the StartMachine request. The method will close the http.Response Body if it receives an error.

func (MachinesClient) StopMachine

func (client MachinesClient) StopMachine(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, machineName string, APIVersion string) (result autorest.Response, err error)

StopMachine sends the stop machine request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. machineName - machine ARM name. APIVersion - the API version to use for this operation.

func (MachinesClient) StopMachinePreparer

func (client MachinesClient) StopMachinePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, machineName string, APIVersion string) (*http.Request, error)

StopMachinePreparer prepares the StopMachine request.

func (MachinesClient) StopMachineResponder

func (client MachinesClient) StopMachineResponder(resp *http.Response) (result autorest.Response, err error)

StopMachineResponder handles the response to the StopMachine request. The method always closes the http.Response Body.

func (MachinesClient) StopMachineSender

func (client MachinesClient) StopMachineSender(req *http.Request) (*http.Response, error)

StopMachineSender sends the StopMachine request. The method will close the http.Response Body if it receives an error.

type NetworkConfiguration

type NetworkConfiguration struct {
	Ipv4Interfaces      *[]Ipv4NetworkInterface `json:"ipv4Interfaces,omitempty"`
	Ipv6Interfaces      *[]Ipv6NetworkInterface `json:"ipv6Interfaces,omitempty"`
	DefaultIpv4Gateways *[]string               `json:"defaultIpv4Gateways,omitempty"`
	MacAddresses        *[]string               `json:"macAddresses,omitempty"`
	DNSNames            *[]string               `json:"dnsNames,omitempty"`
	DNSQuestions        *[]string               `json:"dnsQuestions,omitempty"`
	DNSCanonicalNames   *[]string               `json:"dnsCanonicalNames,omitempty"`
}

NetworkConfiguration ...

type OperatingSystem

type OperatingSystem struct {
	// OsType - READ-ONLY; Type of the operating system.
	OsType *string `json:"osType,omitempty"`
	// OsName - READ-ONLY; Name of the operating system.
	OsName *string `json:"osName,omitempty"`
	// OsVersion - READ-ONLY; Version of the operating system.
	OsVersion *string `json:"osVersion,omitempty"`
}

OperatingSystem second level object returned as part of Machine REST resource.

type OperatingSystemConfiguration

type OperatingSystemConfiguration struct {
	// Family - Possible values include: 'Unknown', 'Windows', 'Linux', 'Solaris', 'Aix'
	Family   Family  `json:"family,omitempty"`
	FullName *string `json:"fullName,omitempty"`
	// Bitness - Possible values include: 'ThreeTwobit', 'SixFourbit'
	Bitness Bitness `json:"bitness,omitempty"`
}

OperatingSystemConfiguration ...

type Operation

type Operation struct {
	// Name - READ-ONLY; Name of the operation.
	Name *string `json:"name,omitempty"`
	// Display - Displayable properties of the operation.
	Display *OperationDisplay `json:"display,omitempty"`
	// Origin - READ-ONLY; Origin of the operation.
	Origin *string `json:"origin,omitempty"`
}

Operation a REST API operation supported by the provider.

func (Operation) MarshalJSON

func (o Operation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Operation.

type OperationDisplay

type OperationDisplay struct {
	// Provider - READ-ONLY; Provider of the operation.
	Provider *string `json:"provider,omitempty"`
	// Resource - READ-ONLY; Resource operated on by the operation.
	Resource *string `json:"resource,omitempty"`
	// Operation - READ-ONLY; Operation Type.
	Operation *string `json:"operation,omitempty"`
	// Description - READ-ONLY; Description of the operation.
	Description *string `json:"description,omitempty"`
}

OperationDisplay displayable properties of the operation.

type OperationResultList

type OperationResultList struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of operations.
	Value *[]Operation `json:"value,omitempty"`
	// NextLink - READ-ONLY; Value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationResultList list of API operations.

func (OperationResultList) IsEmpty

func (orl OperationResultList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationResultListIterator

type OperationResultListIterator struct {
	// contains filtered or unexported fields
}

OperationResultListIterator provides access to a complete listing of Operation values.

func NewOperationResultListIterator

func NewOperationResultListIterator(page OperationResultListPage) OperationResultListIterator

Creates a new instance of the OperationResultListIterator type.

func (*OperationResultListIterator) Next

func (iter *OperationResultListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationResultListIterator) NextWithContext

func (iter *OperationResultListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationResultListIterator) NotDone

func (iter OperationResultListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationResultListIterator) Response

Response returns the raw server response from the last page request.

func (OperationResultListIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationResultListPage

type OperationResultListPage struct {
	// contains filtered or unexported fields
}

OperationResultListPage contains a page of Operation values.

func NewOperationResultListPage

func NewOperationResultListPage(getNextPage func(context.Context, OperationResultList) (OperationResultList, error)) OperationResultListPage

Creates a new instance of the OperationResultListPage type.

func (*OperationResultListPage) Next

func (page *OperationResultListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationResultListPage) NextWithContext

func (page *OperationResultListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationResultListPage) NotDone

func (page OperationResultListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationResultListPage) Response

Response returns the raw server response from the last page request.

func (OperationResultListPage) Values

func (page OperationResultListPage) Values() []Operation

Values returns the slice of values for the current page or nil if there are no values.

type OperationStatus

type OperationStatus struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Operation name.
	Name *string `json:"name,omitempty"`
	// Status - READ-ONLY; Status of the operation. ARM expects the terminal status to be one of Succeeded/ Failed/ Canceled. All other values imply that the operation is still running.
	Status *string `json:"status,omitempty"`
	// StartTime - READ-ONLY; Start time.
	StartTime *string `json:"startTime,omitempty"`
	// EndTime - READ-ONLY; End time.
	EndTime *string `json:"endTime,omitempty"`
	// Error - READ-ONLY; Error stating all error details for the operation.
	Error *OperationStatusError `json:"error,omitempty"`
	// Properties - READ-ONLY; Custom data.
	Properties *OperationStatusProperties `json:"properties,omitempty"`
}

OperationStatus operation status REST resource.

type OperationStatusError

type OperationStatusError struct {
	// Code - READ-ONLY; Error code.
	Code *string `json:"code,omitempty"`
	// Message - READ-ONLY; Error message.
	Message *string `json:"message,omitempty"`
}

OperationStatusError class for operation status errors.

type OperationStatusProperties

type OperationStatusProperties struct {
	// Result - Result or output of the workflow.
	Result *string `json:"result,omitempty"`
}

OperationStatusProperties class for operation result properties.

type OperationsClient

type OperationsClient struct {
	BaseClient
}

OperationsClient is the discover your workloads for Azure.

func NewOperationsClient

func NewOperationsClient() OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI

func NewOperationsClientWithBaseURI(baseURI string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (OperationsClient) List

func (client OperationsClient) List(ctx context.Context, APIVersion string) (result OperationResultListPage, err error)

List sends the list request. Parameters: APIVersion - the API version to use for this operation.

func (OperationsClient) ListComplete

func (client OperationsClient) ListComplete(ctx context.Context, APIVersion string) (result OperationResultListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer

func (client OperationsClient) ListPreparer(ctx context.Context, APIVersion string) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationResultList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type OtherDatabase

type OtherDatabase struct {
	// DatabaseType - READ-ONLY; DatabaseType of the OtherDatabase.
	DatabaseType *string `json:"databaseType,omitempty"`
	// Instance - READ-ONLY; Instance of the OtherDatabase.
	Instance *string `json:"instance,omitempty"`
	// Version - READ-ONLY; Version of the OtherDatabase.
	Version *string `json:"version,omitempty"`
}

OtherDatabase otherDatabase in the guest virtual machine.

type PropertiesMonitoringState

type PropertiesMonitoringState string

PropertiesMonitoringState enumerates the values for properties monitoring state.

const (
	// Discovered ...
	Discovered PropertiesMonitoringState = "discovered"
	// Monitored ...
	Monitored PropertiesMonitoringState = "monitored"
)

func PossiblePropertiesMonitoringStateValues

func PossiblePropertiesMonitoringStateValues() []PropertiesMonitoringState

PossiblePropertiesMonitoringStateValues returns an array of possible values for the PropertiesMonitoringState const type.

type PropertiesVirtualizationState

type PropertiesVirtualizationState string

PropertiesVirtualizationState enumerates the values for properties virtualization state.

const (
	// PropertiesVirtualizationStateHypervisor ...
	PropertiesVirtualizationStateHypervisor PropertiesVirtualizationState = "hypervisor"
	// PropertiesVirtualizationStatePhysical ...
	PropertiesVirtualizationStatePhysical PropertiesVirtualizationState = "physical"
	// PropertiesVirtualizationStateUnknown ...
	PropertiesVirtualizationStateUnknown PropertiesVirtualizationState = "unknown"
	// PropertiesVirtualizationStateVirtual ...
	PropertiesVirtualizationStateVirtual PropertiesVirtualizationState = "virtual"
)

func PossiblePropertiesVirtualizationStateValues

func PossiblePropertiesVirtualizationStateValues() []PropertiesVirtualizationState

PossiblePropertiesVirtualizationStateValues returns an array of possible values for the PropertiesVirtualizationState const type.

type RebootStatus

type RebootStatus string

RebootStatus enumerates the values for reboot status.

const (
	// RebootStatusNotRebooted ...
	RebootStatusNotRebooted RebootStatus = "notRebooted"
	// RebootStatusRebooted ...
	RebootStatusRebooted RebootStatus = "rebooted"
	// RebootStatusUnknown ...
	RebootStatusUnknown RebootStatus = "unknown"
)

func PossibleRebootStatusValues

func PossibleRebootStatusValues() []RebootStatus

PossibleRebootStatusValues returns an array of possible values for the RebootStatus const type.

type RunAsAccountProperties

type RunAsAccountProperties struct {
	// DisplayName - READ-ONLY; Display name of the run as account.
	DisplayName *string `json:"displayName,omitempty"`
	// CredentialType - READ-ONLY; Credential type of the run as account. Possible values include: 'VMwareFabric', 'HyperVFabric', 'LinuxGuest', 'WindowsGuest', 'LinuxServer', 'WindowsServer'
	CredentialType CredentialType `json:"credentialType,omitempty"`
	// CreatedTimestamp - READ-ONLY; Timestamp marking run as account creation.
	CreatedTimestamp *string `json:"createdTimestamp,omitempty"`
	// UpdatedTimestamp - READ-ONLY; Timestamp marking last updated on the run as account.
	UpdatedTimestamp *string `json:"updatedTimestamp,omitempty"`
}

RunAsAccountProperties class for run as account properties.

type RunAsAccountsClient

type RunAsAccountsClient struct {
	BaseClient
}

RunAsAccountsClient is the discover your workloads for Azure.

func NewRunAsAccountsClient

func NewRunAsAccountsClient() RunAsAccountsClient

NewRunAsAccountsClient creates an instance of the RunAsAccountsClient client.

func NewRunAsAccountsClientWithBaseURI

func NewRunAsAccountsClientWithBaseURI(baseURI string) RunAsAccountsClient

NewRunAsAccountsClientWithBaseURI creates an instance of the RunAsAccountsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (RunAsAccountsClient) GetAllRunAsAccountsInSite

func (client RunAsAccountsClient) GetAllRunAsAccountsInSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result VMwareRunAsAccountCollectionPage, err error)

GetAllRunAsAccountsInSite sends the get all run as accounts in site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. APIVersion - the API version to use for this operation.

func (RunAsAccountsClient) GetAllRunAsAccountsInSiteComplete

func (client RunAsAccountsClient) GetAllRunAsAccountsInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result VMwareRunAsAccountCollectionIterator, err error)

GetAllRunAsAccountsInSiteComplete enumerates all values, automatically crossing page boundaries as required.

func (RunAsAccountsClient) GetAllRunAsAccountsInSitePreparer

func (client RunAsAccountsClient) GetAllRunAsAccountsInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (*http.Request, error)

GetAllRunAsAccountsInSitePreparer prepares the GetAllRunAsAccountsInSite request.

func (RunAsAccountsClient) GetAllRunAsAccountsInSiteResponder

func (client RunAsAccountsClient) GetAllRunAsAccountsInSiteResponder(resp *http.Response) (result VMwareRunAsAccountCollection, err error)

GetAllRunAsAccountsInSiteResponder handles the response to the GetAllRunAsAccountsInSite request. The method always closes the http.Response Body.

func (RunAsAccountsClient) GetAllRunAsAccountsInSiteSender

func (client RunAsAccountsClient) GetAllRunAsAccountsInSiteSender(req *http.Request) (*http.Response, error)

GetAllRunAsAccountsInSiteSender sends the GetAllRunAsAccountsInSite request. The method will close the http.Response Body if it receives an error.

func (RunAsAccountsClient) GetRunAsAccount

func (client RunAsAccountsClient) GetRunAsAccount(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, accountName string, APIVersion string) (result VMwareRunAsAccount, err error)

GetRunAsAccount sends the get run as account request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. accountName - run as account ARM name. APIVersion - the API version to use for this operation.

func (RunAsAccountsClient) GetRunAsAccountPreparer

func (client RunAsAccountsClient) GetRunAsAccountPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, accountName string, APIVersion string) (*http.Request, error)

GetRunAsAccountPreparer prepares the GetRunAsAccount request.

func (RunAsAccountsClient) GetRunAsAccountResponder

func (client RunAsAccountsClient) GetRunAsAccountResponder(resp *http.Response) (result VMwareRunAsAccount, err error)

GetRunAsAccountResponder handles the response to the GetRunAsAccount request. The method always closes the http.Response Body.

func (RunAsAccountsClient) GetRunAsAccountSender

func (client RunAsAccountsClient) GetRunAsAccountSender(req *http.Request) (*http.Response, error)

GetRunAsAccountSender sends the GetRunAsAccount request. The method will close the http.Response Body if it receives an error.

type SQLServer

type SQLServer struct {
	// Name - READ-ONLY; Name of the SQLServer.
	Name *string `json:"name,omitempty"`
	// Edition - READ-ONLY; Edition of the SQLServer.
	Edition *string `json:"edition,omitempty"`
	// ServicePack - READ-ONLY; ServicePack of the SQLServer.
	ServicePack *string `json:"servicePack,omitempty"`
	// Version - READ-ONLY; Version of the SQLServer.
	Version *string `json:"version,omitempty"`
	// Clustered - READ-ONLY; Clustered of the SQLServer.
	Clustered *string `json:"clustered,omitempty"`
	// ClusterName - READ-ONLY; ClusterName of the SQLServer.
	ClusterName *string `json:"clusterName,omitempty"`
}

SQLServer sQLServer in the guest virtual machine.

type SharePointServer

type SharePointServer struct {
	// ProductName - READ-ONLY; ProductName of the SharePointServer.
	ProductName *string `json:"productName,omitempty"`
	// IsEnterprise - READ-ONLY; Value indicating whether the SharePointServer is Enterprise.
	IsEnterprise *bool `json:"isEnterprise,omitempty"`
	// Status - READ-ONLY; Status of the SharePointServer.
	Status *string `json:"status,omitempty"`
	// Version - READ-ONLY; Version of the SharePointServer.
	Version *string `json:"version,omitempty"`
}

SharePointServer sharePointServer in the guest virtual machine.

type SiteAgentProperties

type SiteAgentProperties struct {
	// ID - READ-ONLY; ID of the agent.
	ID *string `json:"id,omitempty"`
	// Version - READ-ONLY; Version of the agent.
	Version *string `json:"version,omitempty"`
	// LastHeartBeatUtc - READ-ONLY; Last heartbeat time of the agent in UTC.
	LastHeartBeatUtc *date.Time `json:"lastHeartBeatUtc,omitempty"`
	// KeyVaultURI - Key vault URI.
	KeyVaultURI *string `json:"keyVaultUri,omitempty"`
	// KeyVaultID - Key vault ARM Id.
	KeyVaultID *string `json:"keyVaultId,omitempty"`
}

SiteAgentProperties class for site agent properties.

func (SiteAgentProperties) MarshalJSON

func (sap SiteAgentProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SiteAgentProperties.

type SiteHealthSummary

type SiteHealthSummary struct {
	// ApplianceName - READ-ONLY; Appliance name.
	ApplianceName *string `json:"applianceName,omitempty"`
	// ErrorMessage - READ-ONLY; Error message.
	ErrorMessage *string `json:"errorMessage,omitempty"`
	// SummaryMessage - READ-ONLY; Summary message.
	SummaryMessage *string `json:"summaryMessage,omitempty"`
	// ErrorID - READ-ONLY; Error Id.
	ErrorID *int64 `json:"errorId,omitempty"`
	// ErrorCode - READ-ONLY; Error code.
	ErrorCode *string `json:"errorCode,omitempty"`
	// AffectedObjectsCount - Count of affected objects.
	AffectedObjectsCount *int64 `json:"affectedObjectsCount,omitempty"`
	// HitCount - Hit count of the error.
	HitCount *int64 `json:"hitCount,omitempty"`
	// Severity - READ-ONLY; Severity of error.
	Severity *string `json:"severity,omitempty"`
	// RemediationGuidance - READ-ONLY; Remediation guidance.
	RemediationGuidance *string `json:"remediationGuidance,omitempty"`
	// AffectedResourceType - READ-ONLY; Affected resource type.
	AffectedResourceType *string `json:"affectedResourceType,omitempty"`
	// AffectedResources - Affected resources.
	AffectedResources *[]string `json:"affectedResources,omitempty"`
}

SiteHealthSummary site health summary model.

func (SiteHealthSummary) MarshalJSON

func (shs SiteHealthSummary) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SiteHealthSummary.

type SiteHealthSummaryCollection

type SiteHealthSummaryCollection struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of SiteHealthSummary.
	Value *[]SiteHealthSummary `json:"value,omitempty"`
	// NextLink - READ-ONLY; Value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

SiteHealthSummaryCollection collection of SiteHealthSummary.

func (SiteHealthSummaryCollection) IsEmpty

func (shsc SiteHealthSummaryCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type SiteHealthSummaryCollectionIterator

type SiteHealthSummaryCollectionIterator struct {
	// contains filtered or unexported fields
}

SiteHealthSummaryCollectionIterator provides access to a complete listing of SiteHealthSummary values.

func NewSiteHealthSummaryCollectionIterator

func NewSiteHealthSummaryCollectionIterator(page SiteHealthSummaryCollectionPage) SiteHealthSummaryCollectionIterator

Creates a new instance of the SiteHealthSummaryCollectionIterator type.

func (*SiteHealthSummaryCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SiteHealthSummaryCollectionIterator) NextWithContext

func (iter *SiteHealthSummaryCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (SiteHealthSummaryCollectionIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (SiteHealthSummaryCollectionIterator) Response

Response returns the raw server response from the last page request.

func (SiteHealthSummaryCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type SiteHealthSummaryCollectionPage

type SiteHealthSummaryCollectionPage struct {
	// contains filtered or unexported fields
}

SiteHealthSummaryCollectionPage contains a page of SiteHealthSummary values.

func NewSiteHealthSummaryCollectionPage

func NewSiteHealthSummaryCollectionPage(getNextPage func(context.Context, SiteHealthSummaryCollection) (SiteHealthSummaryCollection, error)) SiteHealthSummaryCollectionPage

Creates a new instance of the SiteHealthSummaryCollectionPage type.

func (*SiteHealthSummaryCollectionPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*SiteHealthSummaryCollectionPage) NextWithContext

func (page *SiteHealthSummaryCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (SiteHealthSummaryCollectionPage) NotDone

func (page SiteHealthSummaryCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (SiteHealthSummaryCollectionPage) Response

Response returns the raw server response from the last page request.

func (SiteHealthSummaryCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type SiteProperties

type SiteProperties struct {
	// ServicePrincipalIdentityDetails - Service principal identity details used by agent for communication to the service.
	ServicePrincipalIdentityDetails *SiteSpnProperties `json:"servicePrincipalIdentityDetails,omitempty"`
	// AgentDetails - On-premises agent details.
	AgentDetails *SiteAgentProperties `json:"agentDetails,omitempty"`
	// ServiceEndpoint - READ-ONLY; Service endpoint.
	ServiceEndpoint *string `json:"serviceEndpoint,omitempty"`
	// DiscoverySolutionID - ARM ID of migration hub solution for SDS.
	DiscoverySolutionID *string `json:"discoverySolutionId,omitempty"`
	// ApplianceName - Appliance Name.
	ApplianceName *string `json:"applianceName,omitempty"`
}

SiteProperties class for site properties.

func (SiteProperties) MarshalJSON

func (sp SiteProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SiteProperties.

type SiteSpnProperties

type SiteSpnProperties struct {
	// TenantID - Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
	TenantID *string `json:"tenantId,omitempty"`
	// ApplicationID - Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services.
	ApplicationID *string `json:"applicationId,omitempty"`
	// ObjectID - Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services.
	ObjectID *string `json:"objectId,omitempty"`
	// Audience - Intended audience for the service principal.
	Audience *string `json:"audience,omitempty"`
	// AadAuthority - AAD Authority URL which was used to request the token for the service principal.
	AadAuthority *string `json:"aadAuthority,omitempty"`
	// RawCertData - Raw certificate data for building certificate expiry flows.
	RawCertData *string `json:"rawCertData,omitempty"`
}

SiteSpnProperties class for site properties.

type SitesClient

type SitesClient struct {
	BaseClient
}

SitesClient is the discover your workloads for Azure.

func NewSitesClient

func NewSitesClient() SitesClient

NewSitesClient creates an instance of the SitesClient client.

func NewSitesClientWithBaseURI

func NewSitesClientWithBaseURI(baseURI string) SitesClient

NewSitesClientWithBaseURI creates an instance of the SitesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (SitesClient) DeleteSite

func (client SitesClient) DeleteSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result autorest.Response, err error)

DeleteSite sends the delete site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. APIVersion - the API version to use for this operation.

func (SitesClient) DeleteSitePreparer

func (client SitesClient) DeleteSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (*http.Request, error)

DeleteSitePreparer prepares the DeleteSite request.

func (SitesClient) DeleteSiteResponder

func (client SitesClient) DeleteSiteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteSiteResponder handles the response to the DeleteSite request. The method always closes the http.Response Body.

func (SitesClient) DeleteSiteSender

func (client SitesClient) DeleteSiteSender(req *http.Request) (*http.Response, error)

DeleteSiteSender sends the DeleteSite request. The method will close the http.Response Body if it receives an error.

func (SitesClient) GetSite

func (client SitesClient) GetSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result VMwareSite, err error)

GetSite sends the get site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. APIVersion - the API version to use for this operation.

func (SitesClient) GetSiteHealthSummary

func (client SitesClient) GetSiteHealthSummary(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result SiteHealthSummaryCollectionPage, err error)

GetSiteHealthSummary sends the get site health summary request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. APIVersion - the API version to use for this operation.

func (SitesClient) GetSiteHealthSummaryComplete

func (client SitesClient) GetSiteHealthSummaryComplete(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result SiteHealthSummaryCollectionIterator, err error)

GetSiteHealthSummaryComplete enumerates all values, automatically crossing page boundaries as required.

func (SitesClient) GetSiteHealthSummaryPreparer

func (client SitesClient) GetSiteHealthSummaryPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (*http.Request, error)

GetSiteHealthSummaryPreparer prepares the GetSiteHealthSummary request.

func (SitesClient) GetSiteHealthSummaryResponder

func (client SitesClient) GetSiteHealthSummaryResponder(resp *http.Response) (result SiteHealthSummaryCollection, err error)

GetSiteHealthSummaryResponder handles the response to the GetSiteHealthSummary request. The method always closes the http.Response Body.

func (SitesClient) GetSiteHealthSummarySender

func (client SitesClient) GetSiteHealthSummarySender(req *http.Request) (*http.Response, error)

GetSiteHealthSummarySender sends the GetSiteHealthSummary request. The method will close the http.Response Body if it receives an error.

func (SitesClient) GetSitePreparer

func (client SitesClient) GetSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (*http.Request, error)

GetSitePreparer prepares the GetSite request.

func (SitesClient) GetSiteResponder

func (client SitesClient) GetSiteResponder(resp *http.Response) (result VMwareSite, err error)

GetSiteResponder handles the response to the GetSite request. The method always closes the http.Response Body.

func (SitesClient) GetSiteSender

func (client SitesClient) GetSiteSender(req *http.Request) (*http.Response, error)

GetSiteSender sends the GetSite request. The method will close the http.Response Body if it receives an error.

func (SitesClient) GetSiteUsage

func (client SitesClient) GetSiteUsage(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result VMwareSiteUsage, err error)

GetSiteUsage sends the get site usage request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name.

func (SitesClient) GetSiteUsagePreparer

func (client SitesClient) GetSiteUsagePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (*http.Request, error)

GetSiteUsagePreparer prepares the GetSiteUsage request.

func (SitesClient) GetSiteUsageResponder

func (client SitesClient) GetSiteUsageResponder(resp *http.Response) (result VMwareSiteUsage, err error)

GetSiteUsageResponder handles the response to the GetSiteUsage request. The method always closes the http.Response Body.

func (SitesClient) GetSiteUsageSender

func (client SitesClient) GetSiteUsageSender(req *http.Request) (*http.Response, error)

GetSiteUsageSender sends the GetSiteUsage request. The method will close the http.Response Body if it receives an error.

func (SitesClient) PatchSite

func (client SitesClient) PatchSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, body VMwareSite, APIVersion string) (result VMwareSite, err error)

PatchSite sends the patch site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. body - body with site details. APIVersion - the API version to use for this operation.

func (SitesClient) PatchSitePreparer

func (client SitesClient) PatchSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, body VMwareSite, APIVersion string) (*http.Request, error)

PatchSitePreparer prepares the PatchSite request.

func (SitesClient) PatchSiteResponder

func (client SitesClient) PatchSiteResponder(resp *http.Response) (result VMwareSite, err error)

PatchSiteResponder handles the response to the PatchSite request. The method always closes the http.Response Body.

func (SitesClient) PatchSiteSender

func (client SitesClient) PatchSiteSender(req *http.Request) (*http.Response, error)

PatchSiteSender sends the PatchSite request. The method will close the http.Response Body if it receives an error.

func (SitesClient) PutSite

func (client SitesClient) PutSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, body VMwareSite, APIVersion string) (result VMwareSite, err error)

PutSite sends the put site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. body - body with site details. APIVersion - the API version to use for this operation.

func (SitesClient) PutSitePreparer

func (client SitesClient) PutSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, body VMwareSite, APIVersion string) (*http.Request, error)

PutSitePreparer prepares the PutSite request.

func (SitesClient) PutSiteResponder

func (client SitesClient) PutSiteResponder(resp *http.Response) (result VMwareSite, err error)

PutSiteResponder handles the response to the PutSite request. The method always closes the http.Response Body.

func (SitesClient) PutSiteSender

func (client SitesClient) PutSiteSender(req *http.Request) (*http.Response, error)

PutSiteSender sends the PutSite request. The method will close the http.Response Body if it receives an error.

func (SitesClient) RefreshSite

func (client SitesClient) RefreshSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (result autorest.Response, err error)

RefreshSite sends the refresh site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. APIVersion - the API version to use for this operation.

func (SitesClient) RefreshSitePreparer

func (client SitesClient) RefreshSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string) (*http.Request, error)

RefreshSitePreparer prepares the RefreshSite request.

func (SitesClient) RefreshSiteResponder

func (client SitesClient) RefreshSiteResponder(resp *http.Response) (result autorest.Response, err error)

RefreshSiteResponder handles the response to the RefreshSite request. The method always closes the http.Response Body.

func (SitesClient) RefreshSiteSender

func (client SitesClient) RefreshSiteSender(req *http.Request) (*http.Response, error)

RefreshSiteSender sends the RefreshSite request. The method will close the http.Response Body if it receives an error.

type SystemCenter

type SystemCenter struct {
	// ProductName - READ-ONLY; ProductName of the SystemCenter.
	ProductName *string `json:"productName,omitempty"`
	// Status - READ-ONLY; Status of the SystemCenter.
	Status *string `json:"status,omitempty"`
	// Version - READ-ONLY; Version of the SystemCenter.
	Version *string `json:"version,omitempty"`
}

SystemCenter systemCenter in the guest virtual machine.

type Timezone

type Timezone struct {
	FullName *string `json:"fullName,omitempty"`
}

Timezone ...

type VCenter

type VCenter struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - Name of the vCenter.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of resource. Type = Microsoft.OffAzure/VMWareSites/VCenters.
	Type *string `json:"type,omitempty"`
	// Properties - vCenter nested properties.
	Properties *VCenterProperties `json:"properties,omitempty"`
}

VCenter vCenter REST Resource.

func (VCenter) MarshalJSON

func (vc VCenter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VCenter.

type VCenterClient

type VCenterClient struct {
	BaseClient
}

VCenterClient is the discover your workloads for Azure.

func NewVCenterClient

func NewVCenterClient() VCenterClient

NewVCenterClient creates an instance of the VCenterClient client.

func NewVCenterClientWithBaseURI

func NewVCenterClientWithBaseURI(baseURI string) VCenterClient

NewVCenterClientWithBaseURI creates an instance of the VCenterClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VCenterClient) DeleteVCenter

func (client VCenterClient) DeleteVCenter(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, vcenterName string, APIVersion string) (result autorest.Response, err error)

DeleteVCenter sends the delete v center request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. vcenterName - vCenter ARM name. APIVersion - the API version to use for this operation.

func (VCenterClient) DeleteVCenterPreparer

func (client VCenterClient) DeleteVCenterPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, vcenterName string, APIVersion string) (*http.Request, error)

DeleteVCenterPreparer prepares the DeleteVCenter request.

func (VCenterClient) DeleteVCenterResponder

func (client VCenterClient) DeleteVCenterResponder(resp *http.Response) (result autorest.Response, err error)

DeleteVCenterResponder handles the response to the DeleteVCenter request. The method always closes the http.Response Body.

func (VCenterClient) DeleteVCenterSender

func (client VCenterClient) DeleteVCenterSender(req *http.Request) (*http.Response, error)

DeleteVCenterSender sends the DeleteVCenter request. The method will close the http.Response Body if it receives an error.

func (VCenterClient) GetAllVCentersInSite

func (client VCenterClient) GetAllVCentersInSite(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string, filter string) (result VCenterCollectionPage, err error)

GetAllVCentersInSite sends the get all v centers in site request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. APIVersion - the API version to use for this operation.

func (VCenterClient) GetAllVCentersInSiteComplete

func (client VCenterClient) GetAllVCentersInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string, filter string) (result VCenterCollectionIterator, err error)

GetAllVCentersInSiteComplete enumerates all values, automatically crossing page boundaries as required.

func (VCenterClient) GetAllVCentersInSitePreparer

func (client VCenterClient) GetAllVCentersInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, APIVersion string, filter string) (*http.Request, error)

GetAllVCentersInSitePreparer prepares the GetAllVCentersInSite request.

func (VCenterClient) GetAllVCentersInSiteResponder

func (client VCenterClient) GetAllVCentersInSiteResponder(resp *http.Response) (result VCenterCollection, err error)

GetAllVCentersInSiteResponder handles the response to the GetAllVCentersInSite request. The method always closes the http.Response Body.

func (VCenterClient) GetAllVCentersInSiteSender

func (client VCenterClient) GetAllVCentersInSiteSender(req *http.Request) (*http.Response, error)

GetAllVCentersInSiteSender sends the GetAllVCentersInSite request. The method will close the http.Response Body if it receives an error.

func (VCenterClient) GetVCenter

func (client VCenterClient) GetVCenter(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, vcenterName string, APIVersion string) (result VCenter, err error)

GetVCenter sends the get v center request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. vcenterName - vCenter ARM name. APIVersion - the API version to use for this operation.

func (VCenterClient) GetVCenterPreparer

func (client VCenterClient) GetVCenterPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, vcenterName string, APIVersion string) (*http.Request, error)

GetVCenterPreparer prepares the GetVCenter request.

func (VCenterClient) GetVCenterResponder

func (client VCenterClient) GetVCenterResponder(resp *http.Response) (result VCenter, err error)

GetVCenterResponder handles the response to the GetVCenter request. The method always closes the http.Response Body.

func (VCenterClient) GetVCenterSender

func (client VCenterClient) GetVCenterSender(req *http.Request) (*http.Response, error)

GetVCenterSender sends the GetVCenter request. The method will close the http.Response Body if it receives an error.

func (VCenterClient) PutVCenter

func (client VCenterClient) PutVCenter(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, vcenterName string, body VCenter, APIVersion string) (result autorest.Response, err error)

PutVCenter sends the put v center request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. vcenterName - vCenter ARM name. body - put vCenter body. APIVersion - the API version to use for this operation.

func (VCenterClient) PutVCenterPreparer

func (client VCenterClient) PutVCenterPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, vcenterName string, body VCenter, APIVersion string) (*http.Request, error)

PutVCenterPreparer prepares the PutVCenter request.

func (VCenterClient) PutVCenterResponder

func (client VCenterClient) PutVCenterResponder(resp *http.Response) (result autorest.Response, err error)

PutVCenterResponder handles the response to the PutVCenter request. The method always closes the http.Response Body.

func (VCenterClient) PutVCenterSender

func (client VCenterClient) PutVCenterSender(req *http.Request) (*http.Response, error)

PutVCenterSender sends the PutVCenter request. The method will close the http.Response Body if it receives an error.

type VCenterCollection

type VCenterCollection struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of vCenter.
	Value *[]VCenter `json:"value,omitempty"`
	// NextLink - READ-ONLY; Value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

VCenterCollection collection of vCenter.

func (VCenterCollection) IsEmpty

func (vcc VCenterCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VCenterCollectionIterator

type VCenterCollectionIterator struct {
	// contains filtered or unexported fields
}

VCenterCollectionIterator provides access to a complete listing of VCenter values.

func NewVCenterCollectionIterator

func NewVCenterCollectionIterator(page VCenterCollectionPage) VCenterCollectionIterator

Creates a new instance of the VCenterCollectionIterator type.

func (*VCenterCollectionIterator) Next

func (iter *VCenterCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VCenterCollectionIterator) NextWithContext

func (iter *VCenterCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VCenterCollectionIterator) NotDone

func (iter VCenterCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VCenterCollectionIterator) Response

Response returns the raw server response from the last page request.

func (VCenterCollectionIterator) Value

func (iter VCenterCollectionIterator) Value() VCenter

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VCenterCollectionPage

type VCenterCollectionPage struct {
	// contains filtered or unexported fields
}

VCenterCollectionPage contains a page of VCenter values.

func NewVCenterCollectionPage

func NewVCenterCollectionPage(getNextPage func(context.Context, VCenterCollection) (VCenterCollection, error)) VCenterCollectionPage

Creates a new instance of the VCenterCollectionPage type.

func (*VCenterCollectionPage) Next

func (page *VCenterCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VCenterCollectionPage) NextWithContext

func (page *VCenterCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VCenterCollectionPage) NotDone

func (page VCenterCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VCenterCollectionPage) Response

func (page VCenterCollectionPage) Response() VCenterCollection

Response returns the raw server response from the last page request.

func (VCenterCollectionPage) Values

func (page VCenterCollectionPage) Values() []VCenter

Values returns the slice of values for the current page or nil if there are no values.

type VCenterProperties

type VCenterProperties struct {
	// CreatedTimestamp - READ-ONLY; Timestamp marking vCenter creation.
	CreatedTimestamp *string `json:"createdTimestamp,omitempty"`
	// UpdatedTimestamp - READ-ONLY; Timestamp marking last updated on the vCenter.
	UpdatedTimestamp *string `json:"updatedTimestamp,omitempty"`
	// Fqdn - FQDN/IPAddress of the vCenter.
	Fqdn *string `json:"fqdn,omitempty"`
	// Port - Port of the vCenter.
	Port *string `json:"port,omitempty"`
	// RunAsAccountID - Run as account ID of the vCenter.
	RunAsAccountID *string `json:"runAsAccountId,omitempty"`
	// Version - READ-ONLY; Version of the vCenter.
	Version *string `json:"version,omitempty"`
	// PerfStatisticsLevel - READ-ONLY; Performance statistics enabled on the vCenter.
	PerfStatisticsLevel *string `json:"perfStatisticsLevel,omitempty"`
	// InstanceUUID - READ-ONLY; Instance UUID of the vCenter.
	InstanceUUID *string `json:"instanceUuid,omitempty"`
	// Errors - READ-ONLY; Error details.
	Errors *[]HealthErrorDetails `json:"errors,omitempty"`
}

VCenterProperties class for vCenter properties.

func (VCenterProperties) MarshalJSON

func (vcp VCenterProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VCenterProperties.

type VMwareDisk

type VMwareDisk struct {
	// UUID - READ-ONLY; Disk UUID.
	UUID *string `json:"uuid,omitempty"`
	// Label - READ-ONLY; Label of the disk.
	Label *string `json:"label,omitempty"`
	// DiskProvisioningPolicy - READ-ONLY; The provisioning policy of the disk. It is Thin or Thick or Unknown for the VMWare.
	DiskProvisioningPolicy *string `json:"diskProvisioningPolicy,omitempty"`
	// DiskScrubbingPolicy - READ-ONLY; The scrubbing policy of disks which can be eagerly zeroed or lazily zeroed.
	DiskScrubbingPolicy *string `json:"diskScrubbingPolicy,omitempty"`
	// DiskMode - READ-ONLY; Disk mode property used for identifying independent disks. Possible values include: 'Persistent', 'IndependentPersistent', 'IndependentNonpersistent', 'Nonpersistent', 'Undoable', 'Append'
	DiskMode VirtualDiskMode `json:"diskMode,omitempty"`
	// MaxSizeInBytes - READ-ONLY; Bytes allocated for the disk.
	MaxSizeInBytes *int64 `json:"maxSizeInBytes,omitempty"`
	// Name - READ-ONLY; Name of the disk.
	Name *string `json:"name,omitempty"`
	// DiskType - READ-ONLY; Type of the disk.
	DiskType *string `json:"diskType,omitempty"`
	// Lun - READ-ONLY; LUN of the disk.
	Lun *int32 `json:"lun,omitempty"`
	// Path - READ-ONLY; Path of the disk.
	Path *string `json:"path,omitempty"`
}

VMwareDisk second level object returned as part of Machine REST resource.

type VMwareJob

type VMwareJob struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the job.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of resource. Type = Microsoft.OffAzure/VMWareSites/Jobs.
	Type *string `json:"type,omitempty"`
	// Properties - READ-ONLY; Nested properties of job.
	Properties *JobProperties `json:"properties,omitempty"`
}

VMwareJob job REST Resource.

type VMwareJobCollection

type VMwareJobCollection struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of jobs.
	Value *[]VMwareJob `json:"value,omitempty"`
	// NextLink - READ-ONLY; Value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

VMwareJobCollection collection of VMware jobs.

func (VMwareJobCollection) IsEmpty

func (vmjc VMwareJobCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VMwareJobCollectionIterator

type VMwareJobCollectionIterator struct {
	// contains filtered or unexported fields
}

VMwareJobCollectionIterator provides access to a complete listing of VMwareJob values.

func NewVMwareJobCollectionIterator

func NewVMwareJobCollectionIterator(page VMwareJobCollectionPage) VMwareJobCollectionIterator

Creates a new instance of the VMwareJobCollectionIterator type.

func (*VMwareJobCollectionIterator) Next

func (iter *VMwareJobCollectionIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VMwareJobCollectionIterator) NextWithContext

func (iter *VMwareJobCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VMwareJobCollectionIterator) NotDone

func (iter VMwareJobCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VMwareJobCollectionIterator) Response

Response returns the raw server response from the last page request.

func (VMwareJobCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VMwareJobCollectionPage

type VMwareJobCollectionPage struct {
	// contains filtered or unexported fields
}

VMwareJobCollectionPage contains a page of VMwareJob values.

func NewVMwareJobCollectionPage

func NewVMwareJobCollectionPage(getNextPage func(context.Context, VMwareJobCollection) (VMwareJobCollection, error)) VMwareJobCollectionPage

Creates a new instance of the VMwareJobCollectionPage type.

func (*VMwareJobCollectionPage) Next

func (page *VMwareJobCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VMwareJobCollectionPage) NextWithContext

func (page *VMwareJobCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VMwareJobCollectionPage) NotDone

func (page VMwareJobCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VMwareJobCollectionPage) Response

Response returns the raw server response from the last page request.

func (VMwareJobCollectionPage) Values

func (page VMwareJobCollectionPage) Values() []VMwareJob

Values returns the slice of values for the current page or nil if there are no values.

type VMwareMachine

type VMwareMachine struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the Sites.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of resource. Type = Microsoft.OffAzure/VMWareSites/Machines.
	Type *string `json:"type,omitempty"`
	// Properties - READ-ONLY; Nested properties.
	Properties *VMwareMachineProperties `json:"properties,omitempty"`
}

VMwareMachine machine REST Resource.

type VMwareMachineCollection

type VMwareMachineCollection struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of machines.
	Value *[]VMwareMachine `json:"value,omitempty"`
	// NextLink - READ-ONLY; Value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

VMwareMachineCollection collection of VMware machines.

func (VMwareMachineCollection) IsEmpty

func (vmmc VMwareMachineCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VMwareMachineCollectionIterator

type VMwareMachineCollectionIterator struct {
	// contains filtered or unexported fields
}

VMwareMachineCollectionIterator provides access to a complete listing of VMwareMachine values.

func NewVMwareMachineCollectionIterator

func NewVMwareMachineCollectionIterator(page VMwareMachineCollectionPage) VMwareMachineCollectionIterator

Creates a new instance of the VMwareMachineCollectionIterator type.

func (*VMwareMachineCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VMwareMachineCollectionIterator) NextWithContext

func (iter *VMwareMachineCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VMwareMachineCollectionIterator) NotDone

func (iter VMwareMachineCollectionIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (VMwareMachineCollectionIterator) Response

Response returns the raw server response from the last page request.

func (VMwareMachineCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VMwareMachineCollectionPage

type VMwareMachineCollectionPage struct {
	// contains filtered or unexported fields
}

VMwareMachineCollectionPage contains a page of VMwareMachine values.

func NewVMwareMachineCollectionPage

func NewVMwareMachineCollectionPage(getNextPage func(context.Context, VMwareMachineCollection) (VMwareMachineCollection, error)) VMwareMachineCollectionPage

Creates a new instance of the VMwareMachineCollectionPage type.

func (*VMwareMachineCollectionPage) Next

func (page *VMwareMachineCollectionPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VMwareMachineCollectionPage) NextWithContext

func (page *VMwareMachineCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VMwareMachineCollectionPage) NotDone

func (page VMwareMachineCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VMwareMachineCollectionPage) Response

Response returns the raw server response from the last page request.

func (VMwareMachineCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VMwareMachineProperties

type VMwareMachineProperties struct {
	// DataCenterScope - READ-ONLY; Scope of the data center.
	DataCenterScope *string `json:"dataCenterScope,omitempty"`
	// Firmware - READ-ONLY; Firmware of the machine.
	Firmware *string `json:"firmware,omitempty"`
	// Description - READ-ONLY; User description of the machine.
	Description *string `json:"description,omitempty"`
	// VCenterFQDN - READ-ONLY; VCenter FQDN/IPAddress.
	VCenterFQDN *string `json:"vCenterFQDN,omitempty"`
	// VCenterID - READ-ONLY; VCenter ARM ID.
	VCenterID *string `json:"vCenterId,omitempty"`
	// VMwareToolsStatus - READ-ONLY; VMware tools status.
	VMwareToolsStatus *string `json:"vMwareToolsStatus,omitempty"`
	// ChangeTrackingSupported - READ-ONLY; Value indicating whether change tracking is supported.
	ChangeTrackingSupported *bool `json:"changeTrackingSupported,omitempty"`
	// ChangeTrackingEnabled - READ-ONLY; Value indicating whether change tracking is enabled.
	ChangeTrackingEnabled *bool `json:"changeTrackingEnabled,omitempty"`
	// MaxSnapshots - READ-ONLY; Maximum number of snapshots for the VM. Default value is -1.
	MaxSnapshots *int32 `json:"maxSnapshots,omitempty"`
	// Disks - READ-ONLY; Disks attached to the machine.
	Disks *[]VMwareDisk `json:"disks,omitempty"`
	// AppsAndRoles - READ-ONLY; Apps And Roles of the VM.
	AppsAndRoles *AppsAndRoles `json:"appsAndRoles,omitempty"`
	// HostInMaintenanceMode - READ-ONLY; Indicates whether the host is in maintenance mode.
	HostInMaintenanceMode *bool `json:"hostInMaintenanceMode,omitempty"`
	// HostName - READ-ONLY; The host name.
	HostName *string `json:"hostName,omitempty"`
	// HostPowerState - READ-ONLY; The host power state.
	HostPowerState *string `json:"hostPowerState,omitempty"`
	// HostVersion - READ-ONLY; The host version.
	HostVersion *string `json:"hostVersion,omitempty"`
	// NetworkAdapters - READ-ONLY; Network adapters attached to the machine.
	NetworkAdapters *[]VMwareNetworkAdapter `json:"networkAdapters,omitempty"`
	// DependencyMapping - READ-ONLY; If dependency mapping feature is enabled or not for the VM.
	DependencyMapping *string `json:"dependencyMapping,omitempty"`
	// DependencyMappingStartTime - READ-ONLY; When dependency mapping collection is last started.
	DependencyMappingStartTime *date.Time `json:"dependencyMappingStartTime,omitempty"`
	// DisplayName - READ-ONLY; Display name of the machine.
	DisplayName *string `json:"displayName,omitempty"`
	// NumberOfProcessorCore - READ-ONLY; Number of Processor Cores allocated for the machine.
	NumberOfProcessorCore *int32 `json:"numberOfProcessorCore,omitempty"`
	// AllocatedMemoryInMB - READ-ONLY; Allocated Memory in MB.
	AllocatedMemoryInMB *float64 `json:"allocatedMemoryInMB,omitempty"`
	// VMConfigurationFileLocation - READ-ONLY; Root location of the VM configuration file.
	VMConfigurationFileLocation *string `json:"vmConfigurationFileLocation,omitempty"`
	// OperatingSystemDetails - READ-ONLY; Operating System Details installed on the machine.
	OperatingSystemDetails *OperatingSystem `json:"operatingSystemDetails,omitempty"`
	// GuestOSDetails - READ-ONLY; Operating System Details extracted from the guest bu executing script inside the guest VM.
	GuestOSDetails *GuestOSDetails `json:"guestOSDetails,omitempty"`
	// NumberOfApplications - READ-ONLY; Number of applications installed in the guest VM.
	NumberOfApplications *int32 `json:"numberOfApplications,omitempty"`
	// GuestDetailsDiscoveryTimestamp - READ-ONLY; The last time at which the Guest Details was discovered or the error while discovering guest details based discovery of the machine.
	GuestDetailsDiscoveryTimestamp *date.Time `json:"guestDetailsDiscoveryTimestamp,omitempty"`
	// IsGuestDetailsDiscoveryInProgress - READ-ONLY; Whether Refresh Fabric Layout Guest Details has been completed once. Portal will show discovery in progress, if this value is true.
	IsGuestDetailsDiscoveryInProgress *bool `json:"isGuestDetailsDiscoveryInProgress,omitempty"`
	// CreatedTimestamp - READ-ONLY; Timestamp marking machine creation.
	CreatedTimestamp *string `json:"createdTimestamp,omitempty"`
	// UpdatedTimestamp - READ-ONLY; Timestamp marking last updated on the machine.
	UpdatedTimestamp *string `json:"updatedTimestamp,omitempty"`
	// InstanceUUID - READ-ONLY; On-premise Instance UUID of the machine.
	InstanceUUID *string `json:"instanceUuid,omitempty"`
	// PowerStatus - READ-ONLY; Machine power status.
	PowerStatus *string `json:"powerStatus,omitempty"`
	// BiosSerialNumber - READ-ONLY; Machine BIOS serial number.
	BiosSerialNumber *string `json:"biosSerialNumber,omitempty"`
	// BiosGUID - READ-ONLY; BIOS GUID.
	BiosGUID *string `json:"biosGuid,omitempty"`
	// VMFqdn - READ-ONLY; Machine FQDN.
	VMFqdn *string `json:"vmFqdn,omitempty"`
	// IsDeleted - READ-ONLY; Value indicating whether VM is deleted.
	IsDeleted *bool `json:"isDeleted,omitempty"`
	// Errors - READ-ONLY; Errors for machine.
	Errors *[]HealthErrorDetails `json:"errors,omitempty"`
}

VMwareMachineProperties class for machine properties.

type VMwareNetworkAdapter

type VMwareNetworkAdapter struct {
	// Label - READ-ONLY; Label of the NIC.
	Label *string `json:"label,omitempty"`
	// NicID - READ-ONLY; NIC Id.
	NicID *string `json:"nicId,omitempty"`
	// MacAddress - READ-ONLY; Mac address of the NIC.
	MacAddress *string `json:"macAddress,omitempty"`
	// IPAddressList - READ-ONLY; IP addresses for the machine.
	IPAddressList *[]string `json:"ipAddressList,omitempty"`
	// NetworkName - READ-ONLY; Network Name.
	NetworkName *string `json:"networkName,omitempty"`
	// IPAddressType - READ-ONLY; Type of the IP address.
	IPAddressType *string `json:"ipAddressType,omitempty"`
}

VMwareNetworkAdapter second level object represented in responses as part of Machine REST resource.

type VMwareOperationsStatusClient

type VMwareOperationsStatusClient struct {
	BaseClient
}

VMwareOperationsStatusClient is the discover your workloads for Azure.

func NewVMwareOperationsStatusClient

func NewVMwareOperationsStatusClient() VMwareOperationsStatusClient

NewVMwareOperationsStatusClient creates an instance of the VMwareOperationsStatusClient client.

func NewVMwareOperationsStatusClientWithBaseURI

func NewVMwareOperationsStatusClientWithBaseURI(baseURI string) VMwareOperationsStatusClient

NewVMwareOperationsStatusClientWithBaseURI creates an instance of the VMwareOperationsStatusClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (VMwareOperationsStatusClient) GetOperationStatus

func (client VMwareOperationsStatusClient) GetOperationStatus(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, operationStatusName string, APIVersion string) (result OperationStatus, err error)

GetOperationStatus sends the get operation status request. Parameters: subscriptionID - the ID of the target subscription. resourceGroupName - the name of the resource group. The name is case insensitive. siteName - site name. operationStatusName - operation status ARM name. APIVersion - the API version to use for this operation.

func (VMwareOperationsStatusClient) GetOperationStatusPreparer

func (client VMwareOperationsStatusClient) GetOperationStatusPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, siteName string, operationStatusName string, APIVersion string) (*http.Request, error)

GetOperationStatusPreparer prepares the GetOperationStatus request.

func (VMwareOperationsStatusClient) GetOperationStatusResponder

func (client VMwareOperationsStatusClient) GetOperationStatusResponder(resp *http.Response) (result OperationStatus, err error)

GetOperationStatusResponder handles the response to the GetOperationStatus request. The method always closes the http.Response Body.

func (VMwareOperationsStatusClient) GetOperationStatusSender

func (client VMwareOperationsStatusClient) GetOperationStatusSender(req *http.Request) (*http.Response, error)

GetOperationStatusSender sends the GetOperationStatus request. The method will close the http.Response Body if it receives an error.

type VMwareRunAsAccount

type VMwareRunAsAccount struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; Name of the Run as account.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of resource. Type = Microsoft.OffAzure/VMWareSites/RunAsAccounts.
	Type *string `json:"type,omitempty"`
	// Properties - READ-ONLY; Nested properties of Run as account.
	Properties *RunAsAccountProperties `json:"properties,omitempty"`
}

VMwareRunAsAccount run as account REST Resource.

type VMwareRunAsAccountCollection

type VMwareRunAsAccountCollection struct {
	autorest.Response `json:"-"`
	// Value - READ-ONLY; List of run as accounts.
	Value *[]VMwareRunAsAccount `json:"value,omitempty"`
	// NextLink - READ-ONLY; Value of next link.
	NextLink *string `json:"nextLink,omitempty"`
}

VMwareRunAsAccountCollection collection of VMware run as accounts.

func (VMwareRunAsAccountCollection) IsEmpty

func (vmraac VMwareRunAsAccountCollection) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type VMwareRunAsAccountCollectionIterator

type VMwareRunAsAccountCollectionIterator struct {
	// contains filtered or unexported fields
}

VMwareRunAsAccountCollectionIterator provides access to a complete listing of VMwareRunAsAccount values.

func NewVMwareRunAsAccountCollectionIterator

func NewVMwareRunAsAccountCollectionIterator(page VMwareRunAsAccountCollectionPage) VMwareRunAsAccountCollectionIterator

Creates a new instance of the VMwareRunAsAccountCollectionIterator type.

func (*VMwareRunAsAccountCollectionIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VMwareRunAsAccountCollectionIterator) NextWithContext

func (iter *VMwareRunAsAccountCollectionIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (VMwareRunAsAccountCollectionIterator) NotDone

NotDone returns true if the enumeration should be started or is not yet complete.

func (VMwareRunAsAccountCollectionIterator) Response

Response returns the raw server response from the last page request.

func (VMwareRunAsAccountCollectionIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type VMwareRunAsAccountCollectionPage

type VMwareRunAsAccountCollectionPage struct {
	// contains filtered or unexported fields
}

VMwareRunAsAccountCollectionPage contains a page of VMwareRunAsAccount values.

func NewVMwareRunAsAccountCollectionPage

Creates a new instance of the VMwareRunAsAccountCollectionPage type.

func (*VMwareRunAsAccountCollectionPage) Next

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*VMwareRunAsAccountCollectionPage) NextWithContext

func (page *VMwareRunAsAccountCollectionPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (VMwareRunAsAccountCollectionPage) NotDone

func (page VMwareRunAsAccountCollectionPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (VMwareRunAsAccountCollectionPage) Response

Response returns the raw server response from the last page request.

func (VMwareRunAsAccountCollectionPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type VMwareSite

type VMwareSite struct {
	autorest.Response `json:"-"`
	// ID - READ-ONLY; Resource Id.
	ID *string `json:"id,omitempty"`
	// Name - Name of the VMware site.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; Type of resource. Type = Microsoft.OffAzure/VMWareSites.
	Type *string            `json:"type,omitempty"`
	Tags map[string]*string `json:"tags"`
	// ETag - eTag for concurrency control.
	ETag *string `json:"eTag,omitempty"`
	// Location - Azure location in which Sites is created.
	Location *string `json:"location,omitempty"`
	// Properties - Nested properties of VMWare site.
	Properties *SiteProperties `json:"properties,omitempty"`
}

VMwareSite site REST Resource.

func (VMwareSite) MarshalJSON

func (vms VMwareSite) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for VMwareSite.

type VMwareSiteUsage

type VMwareSiteUsage struct {
	autorest.Response `json:"-"`
	// MachineCount - Number of machines discovered in the site.
	MachineCount *int32 `json:"machineCount,omitempty"`
	// RunAsAccountCount - Number of run as accounts in the site.
	RunAsAccountCount *int32 `json:"runAsAccountCount,omitempty"`
	// VCenterCount - Number of vCenters part of the site.
	VCenterCount *int32 `json:"vCenterCount,omitempty"`
}

VMwareSiteUsage vMware site usage.

type VirtualDiskMode

type VirtualDiskMode string

VirtualDiskMode enumerates the values for virtual disk mode.

const (
	// Append ...
	Append VirtualDiskMode = "append"
	// IndependentNonpersistent ...
	IndependentNonpersistent VirtualDiskMode = "independent_nonpersistent"
	// IndependentPersistent ...
	IndependentPersistent VirtualDiskMode = "independent_persistent"
	// Nonpersistent ...
	Nonpersistent VirtualDiskMode = "nonpersistent"
	// Persistent ...
	Persistent VirtualDiskMode = "persistent"
	// Undoable ...
	Undoable VirtualDiskMode = "undoable"
)

func PossibleVirtualDiskModeValues

func PossibleVirtualDiskModeValues() []VirtualDiskMode

PossibleVirtualDiskModeValues returns an array of possible values for the VirtualDiskMode const type.

type VirtualMachineConfiguration

type VirtualMachineConfiguration struct {
	// VirtualMachineType - Possible values include: 'VirtualMachineTypeUnknown', 'VirtualMachineTypeHyperv', 'VirtualMachineTypeLdom', 'VirtualMachineTypeLpar', 'VirtualMachineTypeVmware', 'VirtualMachineTypeVirtualPc', 'VirtualMachineTypeXen'
	VirtualMachineType  VirtualMachineType `json:"virtualMachineType,omitempty"`
	NativeMachineID     *string            `json:"nativeMachineId,omitempty"`
	VirtualMachineName  *string            `json:"virtualMachineName,omitempty"`
	NativeHostMachineID *string            `json:"nativeHostMachineId,omitempty"`
}

VirtualMachineConfiguration ...

type VirtualMachineType

type VirtualMachineType string

VirtualMachineType enumerates the values for virtual machine type.

const (
	// VirtualMachineTypeHyperv ...
	VirtualMachineTypeHyperv VirtualMachineType = "hyperv"
	// VirtualMachineTypeLdom ...
	VirtualMachineTypeLdom VirtualMachineType = "ldom"
	// VirtualMachineTypeLpar ...
	VirtualMachineTypeLpar VirtualMachineType = "lpar"
	// VirtualMachineTypeUnknown ...
	VirtualMachineTypeUnknown VirtualMachineType = "unknown"
	// VirtualMachineTypeVirtualPc ...
	VirtualMachineTypeVirtualPc VirtualMachineType = "virtualPc"
	// VirtualMachineTypeVmware ...
	VirtualMachineTypeVmware VirtualMachineType = "vmware"
	// VirtualMachineTypeXen ...
	VirtualMachineTypeXen VirtualMachineType = "xen"
)

func PossibleVirtualMachineTypeValues

func PossibleVirtualMachineTypeValues() []VirtualMachineType

PossibleVirtualMachineTypeValues returns an array of possible values for the VirtualMachineType const type.

type WebApplication

type WebApplication struct {
	// Name - READ-ONLY; Name of the WebApplication.
	Name *string `json:"name,omitempty"`
	// Status - READ-ONLY; Status of the WebApplication.
	Status *string `json:"status,omitempty"`
	// Platform - READ-ONLY; Platform of the WebApplication.
	Platform *string `json:"platform,omitempty"`
	// GroupName - READ-ONLY; GroupName of the WebApplication.
	GroupName *string `json:"groupName,omitempty"`
	// WebServer - READ-ONLY; WebServer of the WebApplication.
	WebServer *string `json:"webServer,omitempty"`
	// ApplicationPool - READ-ONLY; ApplicationPool of the WebApplication.
	ApplicationPool *string `json:"applicationPool,omitempty"`
}

WebApplication webApplication in the guest virtual machine.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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