Documentation ¶
Overview ¶
Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrate/armmigrate(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrate/armmigrate). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.
Package migrate implements the Azure ARM Migrate service API version 2020-01-01.
Discover your workloads for Azure.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AgentConfiguration
- type Application
- type AppsAndRoles
- type BaseClient
- type Bitness
- type BizTalkServer
- type CPUSpeedAccuracy
- type CredentialType
- type ErrorDetails
- type ExchangeServer
- type Family
- type Feature
- type GuestOSDetails
- type HealthErrorDetails
- type HighlyAvailable
- type HostingConfiguration
- type HyperVCluster
- type HyperVClusterClient
- func (client HyperVClusterClient) GetAllClustersInSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVClusterCollectionPage, err error)
- func (client HyperVClusterClient) GetAllClustersInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVClusterCollectionIterator, err error)
- func (client HyperVClusterClient) GetAllClustersInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVClusterClient) GetAllClustersInSiteResponder(resp *http.Response) (result HyperVClusterCollection, err error)
- func (client HyperVClusterClient) GetAllClustersInSiteSender(req *http.Request) (*http.Response, error)
- func (client HyperVClusterClient) GetCluster(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVCluster, err error)
- func (client HyperVClusterClient) GetClusterPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVClusterClient) GetClusterResponder(resp *http.Response) (result HyperVCluster, err error)
- func (client HyperVClusterClient) GetClusterSender(req *http.Request) (*http.Response, error)
- func (client HyperVClusterClient) PutCluster(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result autorest.Response, err error)
- func (client HyperVClusterClient) PutClusterPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVClusterClient) PutClusterResponder(resp *http.Response) (result autorest.Response, err error)
- func (client HyperVClusterClient) PutClusterSender(req *http.Request) (*http.Response, error)
- type HyperVClusterCollection
- type HyperVClusterCollectionIterator
- func (iter *HyperVClusterCollectionIterator) Next() error
- func (iter *HyperVClusterCollectionIterator) NextWithContext(ctx context.Context) (err error)
- func (iter HyperVClusterCollectionIterator) NotDone() bool
- func (iter HyperVClusterCollectionIterator) Response() HyperVClusterCollection
- func (iter HyperVClusterCollectionIterator) Value() HyperVCluster
- type HyperVClusterCollectionPage
- func (page *HyperVClusterCollectionPage) Next() error
- func (page *HyperVClusterCollectionPage) NextWithContext(ctx context.Context) (err error)
- func (page HyperVClusterCollectionPage) NotDone() bool
- func (page HyperVClusterCollectionPage) Response() HyperVClusterCollection
- func (page HyperVClusterCollectionPage) Values() []HyperVCluster
- type HyperVClusterProperties
- type HyperVDisk
- type HyperVHost
- type HyperVHostClient
- func (client HyperVHostClient) GetAllHostsInSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVHostCollectionPage, err error)
- func (client HyperVHostClient) GetAllHostsInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVHostCollectionIterator, err error)
- func (client HyperVHostClient) GetAllHostsInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVHostClient) GetAllHostsInSiteResponder(resp *http.Response) (result HyperVHostCollection, err error)
- func (client HyperVHostClient) GetAllHostsInSiteSender(req *http.Request) (*http.Response, error)
- func (client HyperVHostClient) GetHost(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVHost, err error)
- func (client HyperVHostClient) GetHostPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVHostClient) GetHostResponder(resp *http.Response) (result HyperVHost, err error)
- func (client HyperVHostClient) GetHostSender(req *http.Request) (*http.Response, error)
- func (client HyperVHostClient) PutHost(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result autorest.Response, err error)
- func (client HyperVHostClient) PutHostPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVHostClient) PutHostResponder(resp *http.Response) (result autorest.Response, err error)
- func (client HyperVHostClient) PutHostSender(req *http.Request) (*http.Response, error)
- type HyperVHostCollection
- type HyperVHostCollectionIterator
- func (iter *HyperVHostCollectionIterator) Next() error
- func (iter *HyperVHostCollectionIterator) NextWithContext(ctx context.Context) (err error)
- func (iter HyperVHostCollectionIterator) NotDone() bool
- func (iter HyperVHostCollectionIterator) Response() HyperVHostCollection
- func (iter HyperVHostCollectionIterator) Value() HyperVHost
- type HyperVHostCollectionPage
- func (page *HyperVHostCollectionPage) Next() error
- func (page *HyperVHostCollectionPage) NextWithContext(ctx context.Context) (err error)
- func (page HyperVHostCollectionPage) NotDone() bool
- func (page HyperVHostCollectionPage) Response() HyperVHostCollection
- func (page HyperVHostCollectionPage) Values() []HyperVHost
- type HyperVHostProperties
- type HyperVJob
- type HyperVJobCollection
- type HyperVJobCollectionIterator
- func (iter *HyperVJobCollectionIterator) Next() error
- func (iter *HyperVJobCollectionIterator) NextWithContext(ctx context.Context) (err error)
- func (iter HyperVJobCollectionIterator) NotDone() bool
- func (iter HyperVJobCollectionIterator) Response() HyperVJobCollection
- func (iter HyperVJobCollectionIterator) Value() HyperVJob
- type HyperVJobCollectionPage
- func (page *HyperVJobCollectionPage) Next() error
- func (page *HyperVJobCollectionPage) NextWithContext(ctx context.Context) (err error)
- func (page HyperVJobCollectionPage) NotDone() bool
- func (page HyperVJobCollectionPage) Response() HyperVJobCollection
- func (page HyperVJobCollectionPage) Values() []HyperVJob
- type HyperVJobsClient
- func (client HyperVJobsClient) GetAllJobsInSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVJobCollectionPage, err error)
- func (client HyperVJobsClient) GetAllJobsInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVJobCollectionIterator, err error)
- func (client HyperVJobsClient) GetAllJobsInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVJobsClient) GetAllJobsInSiteResponder(resp *http.Response) (result HyperVJobCollection, err error)
- func (client HyperVJobsClient) GetAllJobsInSiteSender(req *http.Request) (*http.Response, error)
- func (client HyperVJobsClient) GetJob(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVJob, err error)
- func (client HyperVJobsClient) GetJobPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVJobsClient) GetJobResponder(resp *http.Response) (result HyperVJob, err error)
- func (client HyperVJobsClient) GetJobSender(req *http.Request) (*http.Response, error)
- type HyperVMachine
- type HyperVMachineCollection
- type HyperVMachineCollectionIterator
- func (iter *HyperVMachineCollectionIterator) Next() error
- func (iter *HyperVMachineCollectionIterator) NextWithContext(ctx context.Context) (err error)
- func (iter HyperVMachineCollectionIterator) NotDone() bool
- func (iter HyperVMachineCollectionIterator) Response() HyperVMachineCollection
- func (iter HyperVMachineCollectionIterator) Value() HyperVMachine
- type HyperVMachineCollectionPage
- func (page *HyperVMachineCollectionPage) Next() error
- func (page *HyperVMachineCollectionPage) NextWithContext(ctx context.Context) (err error)
- func (page HyperVMachineCollectionPage) NotDone() bool
- func (page HyperVMachineCollectionPage) Response() HyperVMachineCollection
- func (page HyperVMachineCollectionPage) Values() []HyperVMachine
- type HyperVMachineProperties
- type HyperVMachinesClient
- func (client HyperVMachinesClient) GetAllMachinesInSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVMachineCollectionPage, err error)
- func (client HyperVMachinesClient) GetAllMachinesInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVMachineCollectionIterator, err error)
- func (client HyperVMachinesClient) GetAllMachinesInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVMachinesClient) GetAllMachinesInSiteResponder(resp *http.Response) (result HyperVMachineCollection, err error)
- func (client HyperVMachinesClient) GetAllMachinesInSiteSender(req *http.Request) (*http.Response, error)
- func (client HyperVMachinesClient) GetMachine(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVMachine, err error)
- func (client HyperVMachinesClient) GetMachinePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVMachinesClient) GetMachineResponder(resp *http.Response) (result HyperVMachine, err error)
- func (client HyperVMachinesClient) GetMachineSender(req *http.Request) (*http.Response, error)
- type HyperVNetworkAdapter
- type HyperVOperationsStatusClient
- func (client HyperVOperationsStatusClient) GetOperationStatus(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result OperationStatus, err error)
- func (client HyperVOperationsStatusClient) GetOperationStatusPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVOperationsStatusClient) GetOperationStatusResponder(resp *http.Response) (result OperationStatus, err error)
- func (client HyperVOperationsStatusClient) GetOperationStatusSender(req *http.Request) (*http.Response, error)
- type HyperVRunAsAccount
- type HyperVRunAsAccountCollection
- type HyperVRunAsAccountCollectionIterator
- func (iter *HyperVRunAsAccountCollectionIterator) Next() error
- func (iter *HyperVRunAsAccountCollectionIterator) NextWithContext(ctx context.Context) (err error)
- func (iter HyperVRunAsAccountCollectionIterator) NotDone() bool
- func (iter HyperVRunAsAccountCollectionIterator) Response() HyperVRunAsAccountCollection
- func (iter HyperVRunAsAccountCollectionIterator) Value() HyperVRunAsAccount
- type HyperVRunAsAccountCollectionPage
- func (page *HyperVRunAsAccountCollectionPage) Next() error
- func (page *HyperVRunAsAccountCollectionPage) NextWithContext(ctx context.Context) (err error)
- func (page HyperVRunAsAccountCollectionPage) NotDone() bool
- func (page HyperVRunAsAccountCollectionPage) Response() HyperVRunAsAccountCollection
- func (page HyperVRunAsAccountCollectionPage) Values() []HyperVRunAsAccount
- type HyperVRunAsAccountsClient
- func (client HyperVRunAsAccountsClient) GetAllRunAsAccountsInSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVRunAsAccountCollectionPage, err error)
- func (client HyperVRunAsAccountsClient) GetAllRunAsAccountsInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVRunAsAccountCollectionIterator, err error)
- func (client HyperVRunAsAccountsClient) GetAllRunAsAccountsInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVRunAsAccountsClient) GetAllRunAsAccountsInSiteResponder(resp *http.Response) (result HyperVRunAsAccountCollection, err error)
- func (client HyperVRunAsAccountsClient) GetAllRunAsAccountsInSiteSender(req *http.Request) (*http.Response, error)
- func (client HyperVRunAsAccountsClient) GetRunAsAccount(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVRunAsAccount, err error)
- func (client HyperVRunAsAccountsClient) GetRunAsAccountPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVRunAsAccountsClient) GetRunAsAccountResponder(resp *http.Response) (result HyperVRunAsAccount, err error)
- func (client HyperVRunAsAccountsClient) GetRunAsAccountSender(req *http.Request) (*http.Response, error)
- type HyperVSite
- type HyperVSiteUsage
- type HyperVSitesClient
- func (client HyperVSitesClient) DeleteSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result autorest.Response, err error)
- func (client HyperVSitesClient) DeleteSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVSitesClient) DeleteSiteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client HyperVSitesClient) DeleteSiteSender(req *http.Request) (*http.Response, error)
- func (client HyperVSitesClient) GetSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVSite, err error)
- func (client HyperVSitesClient) GetSiteHealthSummary(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result SiteHealthSummaryCollectionPage, err error)
- func (client HyperVSitesClient) GetSiteHealthSummaryComplete(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result SiteHealthSummaryCollectionIterator, err error)
- func (client HyperVSitesClient) GetSiteHealthSummaryPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVSitesClient) GetSiteHealthSummaryResponder(resp *http.Response) (result SiteHealthSummaryCollection, err error)
- func (client HyperVSitesClient) GetSiteHealthSummarySender(req *http.Request) (*http.Response, error)
- func (client HyperVSitesClient) GetSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVSitesClient) GetSiteResponder(resp *http.Response) (result HyperVSite, err error)
- func (client HyperVSitesClient) GetSiteSender(req *http.Request) (*http.Response, error)
- func (client HyperVSitesClient) GetSiteUsage(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVSiteUsage, err error)
- func (client HyperVSitesClient) GetSiteUsagePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVSitesClient) GetSiteUsageResponder(resp *http.Response) (result HyperVSiteUsage, err error)
- func (client HyperVSitesClient) GetSiteUsageSender(req *http.Request) (*http.Response, error)
- func (client HyperVSitesClient) PatchSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVSite, err error)
- func (client HyperVSitesClient) PatchSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVSitesClient) PatchSiteResponder(resp *http.Response) (result HyperVSite, err error)
- func (client HyperVSitesClient) PatchSiteSender(req *http.Request) (*http.Response, error)
- func (client HyperVSitesClient) PutSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result HyperVSite, err error)
- func (client HyperVSitesClient) PutSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVSitesClient) PutSiteResponder(resp *http.Response) (result HyperVSite, err error)
- func (client HyperVSitesClient) PutSiteSender(req *http.Request) (*http.Response, error)
- func (client HyperVSitesClient) RefreshSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result autorest.Response, err error)
- func (client HyperVSitesClient) RefreshSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client HyperVSitesClient) RefreshSiteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client HyperVSitesClient) RefreshSiteSender(req *http.Request) (*http.Response, error)
- type HypervisorConfiguration
- type HypervisorType
- type Ipv4NetworkInterface
- type Ipv6NetworkInterface
- type JobProperties
- type JobsClient
- func (client JobsClient) GetAllJobsInSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result VMwareJobCollectionPage, err error)
- func (client JobsClient) GetAllJobsInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result VMwareJobCollectionIterator, err error)
- func (client JobsClient) GetAllJobsInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client JobsClient) GetAllJobsInSiteResponder(resp *http.Response) (result VMwareJobCollection, err error)
- func (client JobsClient) GetAllJobsInSiteSender(req *http.Request) (*http.Response, error)
- func (client JobsClient) GetJob(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result VMwareJob, err error)
- func (client JobsClient) GetJobPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client JobsClient) GetJobResponder(resp *http.Response) (result VMwareJob, err error)
- func (client JobsClient) GetJobSender(req *http.Request) (*http.Response, error)
- type Machine
- type MachineResourcesConfiguration
- type MachinesClient
- func (client MachinesClient) GetAllMachinesInSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result VMwareMachineCollectionPage, err error)
- func (client MachinesClient) GetAllMachinesInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result VMwareMachineCollectionIterator, err error)
- func (client MachinesClient) GetAllMachinesInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client MachinesClient) GetAllMachinesInSiteResponder(resp *http.Response) (result VMwareMachineCollection, err error)
- func (client MachinesClient) GetAllMachinesInSiteSender(req *http.Request) (*http.Response, error)
- func (client MachinesClient) GetMachine(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result VMwareMachine, err error)
- func (client MachinesClient) GetMachinePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client MachinesClient) GetMachineResponder(resp *http.Response) (result VMwareMachine, err error)
- func (client MachinesClient) GetMachineSender(req *http.Request) (*http.Response, error)
- func (client MachinesClient) StartMachine(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result autorest.Response, err error)
- func (client MachinesClient) StartMachinePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client MachinesClient) StartMachineResponder(resp *http.Response) (result autorest.Response, err error)
- func (client MachinesClient) StartMachineSender(req *http.Request) (*http.Response, error)
- func (client MachinesClient) StopMachine(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result autorest.Response, err error)
- func (client MachinesClient) StopMachinePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client MachinesClient) StopMachineResponder(resp *http.Response) (result autorest.Response, err error)
- func (client MachinesClient) StopMachineSender(req *http.Request) (*http.Response, error)
- type NetworkConfiguration
- type OperatingSystem
- type OperatingSystemConfiguration
- type Operation
- type OperationDisplay
- type OperationResultList
- type OperationResultListIterator
- func (iter *OperationResultListIterator) Next() error
- func (iter *OperationResultListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OperationResultListIterator) NotDone() bool
- func (iter OperationResultListIterator) Response() OperationResultList
- func (iter OperationResultListIterator) Value() Operation
- type OperationResultListPage
- func (page *OperationResultListPage) Next() error
- func (page *OperationResultListPage) NextWithContext(ctx context.Context) (err error)
- func (page OperationResultListPage) NotDone() bool
- func (page OperationResultListPage) Response() OperationResultList
- func (page OperationResultListPage) Values() []Operation
- type OperationStatus
- type OperationStatusError
- type OperationStatusProperties
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context, APIVersion string) (result OperationResultListPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context, APIVersion string) (result OperationResultListIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context, APIVersion string) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationResultList, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type OtherDatabase
- type PropertiesMonitoringState
- type PropertiesVirtualizationState
- type RebootStatus
- type RunAsAccountProperties
- type RunAsAccountsClient
- func (client RunAsAccountsClient) GetAllRunAsAccountsInSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result VMwareRunAsAccountCollectionPage, err error)
- func (client RunAsAccountsClient) GetAllRunAsAccountsInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result VMwareRunAsAccountCollectionIterator, err error)
- func (client RunAsAccountsClient) GetAllRunAsAccountsInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client RunAsAccountsClient) GetAllRunAsAccountsInSiteResponder(resp *http.Response) (result VMwareRunAsAccountCollection, err error)
- func (client RunAsAccountsClient) GetAllRunAsAccountsInSiteSender(req *http.Request) (*http.Response, error)
- func (client RunAsAccountsClient) GetRunAsAccount(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result VMwareRunAsAccount, err error)
- func (client RunAsAccountsClient) GetRunAsAccountPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client RunAsAccountsClient) GetRunAsAccountResponder(resp *http.Response) (result VMwareRunAsAccount, err error)
- func (client RunAsAccountsClient) GetRunAsAccountSender(req *http.Request) (*http.Response, error)
- type SQLServer
- type SharePointServer
- type SiteAgentProperties
- type SiteHealthSummary
- type SiteHealthSummaryCollection
- type SiteHealthSummaryCollectionIterator
- func (iter *SiteHealthSummaryCollectionIterator) Next() error
- func (iter *SiteHealthSummaryCollectionIterator) NextWithContext(ctx context.Context) (err error)
- func (iter SiteHealthSummaryCollectionIterator) NotDone() bool
- func (iter SiteHealthSummaryCollectionIterator) Response() SiteHealthSummaryCollection
- func (iter SiteHealthSummaryCollectionIterator) Value() SiteHealthSummary
- type SiteHealthSummaryCollectionPage
- func (page *SiteHealthSummaryCollectionPage) Next() error
- func (page *SiteHealthSummaryCollectionPage) NextWithContext(ctx context.Context) (err error)
- func (page SiteHealthSummaryCollectionPage) NotDone() bool
- func (page SiteHealthSummaryCollectionPage) Response() SiteHealthSummaryCollection
- func (page SiteHealthSummaryCollectionPage) Values() []SiteHealthSummary
- type SiteProperties
- type SiteSpnProperties
- type SitesClient
- func (client SitesClient) DeleteSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result autorest.Response, err error)
- func (client SitesClient) DeleteSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client SitesClient) DeleteSiteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SitesClient) DeleteSiteSender(req *http.Request) (*http.Response, error)
- func (client SitesClient) GetSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result VMwareSite, err error)
- func (client SitesClient) GetSiteHealthSummary(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result SiteHealthSummaryCollectionPage, err error)
- func (client SitesClient) GetSiteHealthSummaryComplete(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result SiteHealthSummaryCollectionIterator, err error)
- func (client SitesClient) GetSiteHealthSummaryPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client SitesClient) GetSiteHealthSummaryResponder(resp *http.Response) (result SiteHealthSummaryCollection, err error)
- func (client SitesClient) GetSiteHealthSummarySender(req *http.Request) (*http.Response, error)
- func (client SitesClient) GetSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client SitesClient) GetSiteResponder(resp *http.Response) (result VMwareSite, err error)
- func (client SitesClient) GetSiteSender(req *http.Request) (*http.Response, error)
- func (client SitesClient) GetSiteUsage(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result VMwareSiteUsage, err error)
- func (client SitesClient) GetSiteUsagePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client SitesClient) GetSiteUsageResponder(resp *http.Response) (result VMwareSiteUsage, err error)
- func (client SitesClient) GetSiteUsageSender(req *http.Request) (*http.Response, error)
- func (client SitesClient) PatchSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result VMwareSite, err error)
- func (client SitesClient) PatchSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client SitesClient) PatchSiteResponder(resp *http.Response) (result VMwareSite, err error)
- func (client SitesClient) PatchSiteSender(req *http.Request) (*http.Response, error)
- func (client SitesClient) PutSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result VMwareSite, err error)
- func (client SitesClient) PutSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client SitesClient) PutSiteResponder(resp *http.Response) (result VMwareSite, err error)
- func (client SitesClient) PutSiteSender(req *http.Request) (*http.Response, error)
- func (client SitesClient) RefreshSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result autorest.Response, err error)
- func (client SitesClient) RefreshSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client SitesClient) RefreshSiteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client SitesClient) RefreshSiteSender(req *http.Request) (*http.Response, error)
- type SystemCenter
- type Timezone
- type VCenter
- type VCenterClient
- func (client VCenterClient) DeleteVCenter(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result autorest.Response, err error)
- func (client VCenterClient) DeleteVCenterPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client VCenterClient) DeleteVCenterResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VCenterClient) DeleteVCenterSender(req *http.Request) (*http.Response, error)
- func (client VCenterClient) GetAllVCentersInSite(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result VCenterCollectionPage, err error)
- func (client VCenterClient) GetAllVCentersInSiteComplete(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result VCenterCollectionIterator, err error)
- func (client VCenterClient) GetAllVCentersInSitePreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client VCenterClient) GetAllVCentersInSiteResponder(resp *http.Response) (result VCenterCollection, err error)
- func (client VCenterClient) GetAllVCentersInSiteSender(req *http.Request) (*http.Response, error)
- func (client VCenterClient) GetVCenter(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result VCenter, err error)
- func (client VCenterClient) GetVCenterPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client VCenterClient) GetVCenterResponder(resp *http.Response) (result VCenter, err error)
- func (client VCenterClient) GetVCenterSender(req *http.Request) (*http.Response, error)
- func (client VCenterClient) PutVCenter(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result autorest.Response, err error)
- func (client VCenterClient) PutVCenterPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client VCenterClient) PutVCenterResponder(resp *http.Response) (result autorest.Response, err error)
- func (client VCenterClient) PutVCenterSender(req *http.Request) (*http.Response, error)
- type VCenterCollection
- type VCenterCollectionIterator
- func (iter *VCenterCollectionIterator) Next() error
- func (iter *VCenterCollectionIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VCenterCollectionIterator) NotDone() bool
- func (iter VCenterCollectionIterator) Response() VCenterCollection
- func (iter VCenterCollectionIterator) Value() VCenter
- type VCenterCollectionPage
- type VCenterProperties
- type VMwareDisk
- type VMwareJob
- type VMwareJobCollection
- type VMwareJobCollectionIterator
- func (iter *VMwareJobCollectionIterator) Next() error
- func (iter *VMwareJobCollectionIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VMwareJobCollectionIterator) NotDone() bool
- func (iter VMwareJobCollectionIterator) Response() VMwareJobCollection
- func (iter VMwareJobCollectionIterator) Value() VMwareJob
- type VMwareJobCollectionPage
- func (page *VMwareJobCollectionPage) Next() error
- func (page *VMwareJobCollectionPage) NextWithContext(ctx context.Context) (err error)
- func (page VMwareJobCollectionPage) NotDone() bool
- func (page VMwareJobCollectionPage) Response() VMwareJobCollection
- func (page VMwareJobCollectionPage) Values() []VMwareJob
- type VMwareMachine
- type VMwareMachineCollection
- type VMwareMachineCollectionIterator
- func (iter *VMwareMachineCollectionIterator) Next() error
- func (iter *VMwareMachineCollectionIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VMwareMachineCollectionIterator) NotDone() bool
- func (iter VMwareMachineCollectionIterator) Response() VMwareMachineCollection
- func (iter VMwareMachineCollectionIterator) Value() VMwareMachine
- type VMwareMachineCollectionPage
- func (page *VMwareMachineCollectionPage) Next() error
- func (page *VMwareMachineCollectionPage) NextWithContext(ctx context.Context) (err error)
- func (page VMwareMachineCollectionPage) NotDone() bool
- func (page VMwareMachineCollectionPage) Response() VMwareMachineCollection
- func (page VMwareMachineCollectionPage) Values() []VMwareMachine
- type VMwareMachineProperties
- type VMwareNetworkAdapter
- type VMwareOperationsStatusClient
- func (client VMwareOperationsStatusClient) GetOperationStatus(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (result OperationStatus, err error)
- func (client VMwareOperationsStatusClient) GetOperationStatusPreparer(ctx context.Context, subscriptionID string, resourceGroupName string, ...) (*http.Request, error)
- func (client VMwareOperationsStatusClient) GetOperationStatusResponder(resp *http.Response) (result OperationStatus, err error)
- func (client VMwareOperationsStatusClient) GetOperationStatusSender(req *http.Request) (*http.Response, error)
- type VMwareRunAsAccount
- type VMwareRunAsAccountCollection
- type VMwareRunAsAccountCollectionIterator
- func (iter *VMwareRunAsAccountCollectionIterator) Next() error
- func (iter *VMwareRunAsAccountCollectionIterator) NextWithContext(ctx context.Context) (err error)
- func (iter VMwareRunAsAccountCollectionIterator) NotDone() bool
- func (iter VMwareRunAsAccountCollectionIterator) Response() VMwareRunAsAccountCollection
- func (iter VMwareRunAsAccountCollectionIterator) Value() VMwareRunAsAccount
- type VMwareRunAsAccountCollectionPage
- func (page *VMwareRunAsAccountCollectionPage) Next() error
- func (page *VMwareRunAsAccountCollectionPage) NextWithContext(ctx context.Context) (err error)
- func (page VMwareRunAsAccountCollectionPage) NotDone() bool
- func (page VMwareRunAsAccountCollectionPage) Response() VMwareRunAsAccountCollection
- func (page VMwareRunAsAccountCollectionPage) Values() []VMwareRunAsAccount
- type VMwareSite
- type VMwareSiteUsage
- type VirtualDiskMode
- type VirtualMachineConfiguration
- type VirtualMachineType
- type WebApplication
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Migrate
DefaultBaseURI = "https://management.azure.com"
)
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.
func (Application) MarshalJSON ¶
func (a Application) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for Application.
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 *[]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.
func (AppsAndRoles) MarshalJSON ¶
func (aar AppsAndRoles) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for AppsAndRoles.
type BaseClient ¶
BaseClient is the base client for Migrate.
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.
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.
func (BizTalkServer) MarshalJSON ¶
func (bts BizTalkServer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BizTalkServer.
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.
func (ErrorDetails) MarshalJSON ¶
func (ed ErrorDetails) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ErrorDetails.
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.
func (ExchangeServer) MarshalJSON ¶
func (es ExchangeServer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ExchangeServer.
type Family ¶
type Family string
Family enumerates the values for family.
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.
func (Feature) MarshalJSON ¶
MarshalJSON is the custom marshaler for Feature.
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 ¶
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 ¶
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.
func (HyperVClusterCollection) MarshalJSON ¶
func (hvcc HyperVClusterCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HyperVClusterCollection.
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 ¶
func (iter *HyperVClusterCollectionIterator) 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 (*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 ¶
func (iter HyperVClusterCollectionIterator) Response() HyperVClusterCollection
Response returns the raw server response from the last page request.
func (HyperVClusterCollectionIterator) Value ¶
func (iter HyperVClusterCollectionIterator) Value() HyperVCluster
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(cur HyperVClusterCollection, 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 ¶
func (page HyperVClusterCollectionPage) Response() HyperVClusterCollection
Response returns the raw server response from the last page request.
func (HyperVClusterCollectionPage) Values ¶
func (page HyperVClusterCollectionPage) Values() []HyperVCluster
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.
func (HyperVDisk) MarshalJSON ¶
func (hvd HyperVDisk) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HyperVDisk.
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 ¶
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 ¶
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 ¶
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.
func (HyperVHostCollection) MarshalJSON ¶
func (hvhc HyperVHostCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HyperVHostCollection.
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 ¶
func (iter HyperVHostCollectionIterator) Response() HyperVHostCollection
Response returns the raw server response from the last page request.
func (HyperVHostCollectionIterator) Value ¶
func (iter HyperVHostCollectionIterator) Value() HyperVHost
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(cur HyperVHostCollection, 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 ¶
func (page HyperVHostCollectionPage) Response() HyperVHostCollection
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.
func (HyperVJob) MarshalJSON ¶
MarshalJSON is the custom marshaler for HyperVJob.
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.
func (HyperVJobCollection) MarshalJSON ¶
func (hvjc HyperVJobCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HyperVJobCollection.
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 ¶
func (iter HyperVJobCollectionIterator) Response() HyperVJobCollection
Response returns the raw server response from the last page request.
func (HyperVJobCollectionIterator) Value ¶
func (iter HyperVJobCollectionIterator) Value() HyperVJob
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(cur HyperVJobCollection, 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 ¶
func (page HyperVJobCollectionPage) Response() HyperVJobCollection
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 ¶
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 ¶
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.
func (HyperVMachine) MarshalJSON ¶
func (hvm HyperVMachine) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HyperVMachine.
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.
func (HyperVMachineCollection) MarshalJSON ¶
func (hvmc HyperVMachineCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HyperVMachineCollection.
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 ¶
func (iter *HyperVMachineCollectionIterator) 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 (*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 ¶
func (iter HyperVMachineCollectionIterator) Response() HyperVMachineCollection
Response returns the raw server response from the last page request.
func (HyperVMachineCollectionIterator) Value ¶
func (iter HyperVMachineCollectionIterator) Value() HyperVMachine
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(cur HyperVMachineCollection, 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 ¶
func (page HyperVMachineCollectionPage) Response() HyperVMachineCollection
Response returns the raw server response from the last page request.
func (HyperVMachineCollectionPage) Values ¶
func (page HyperVMachineCollectionPage) Values() []HyperVMachine
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.
func (HyperVMachineProperties) MarshalJSON ¶
func (hvmp HyperVMachineProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HyperVMachineProperties.
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 ¶
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.
func (HyperVNetworkAdapter) MarshalJSON ¶
func (hvna HyperVNetworkAdapter) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HyperVNetworkAdapter.
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.
func (HyperVRunAsAccount) MarshalJSON ¶
func (hvraa HyperVRunAsAccount) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HyperVRunAsAccount.
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.
func (HyperVRunAsAccountCollection) MarshalJSON ¶
func (hvraac HyperVRunAsAccountCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for HyperVRunAsAccountCollection.
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 ¶
func (iter *HyperVRunAsAccountCollectionIterator) 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 (*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 ¶
func (iter HyperVRunAsAccountCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (HyperVRunAsAccountCollectionIterator) Response ¶
func (iter HyperVRunAsAccountCollectionIterator) Response() HyperVRunAsAccountCollection
Response returns the raw server response from the last page request.
func (HyperVRunAsAccountCollectionIterator) Value ¶
func (iter HyperVRunAsAccountCollectionIterator) Value() HyperVRunAsAccount
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 ¶
func NewHyperVRunAsAccountCollectionPage(cur HyperVRunAsAccountCollection, getNextPage func(context.Context, HyperVRunAsAccountCollection) (HyperVRunAsAccountCollection, error)) HyperVRunAsAccountCollectionPage
Creates a new instance of the HyperVRunAsAccountCollectionPage type.
func (*HyperVRunAsAccountCollectionPage) Next ¶
func (page *HyperVRunAsAccountCollectionPage) 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 (*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 ¶
func (page HyperVRunAsAccountCollectionPage) Response() HyperVRunAsAccountCollection
Response returns the raw server response from the last page request.
func (HyperVRunAsAccountCollectionPage) Values ¶
func (page HyperVRunAsAccountCollectionPage) Values() []HyperVRunAsAccount
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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.
func (JobProperties) MarshalJSON ¶
func (jp JobProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for JobProperties.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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.
func (OperatingSystem) MarshalJSON ¶
func (osVar OperatingSystem) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperatingSystem.
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 ¶
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.
func (OperationDisplay) MarshalJSON ¶
func (od OperationDisplay) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationDisplay.
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.
func (OperationResultList) MarshalJSON ¶
func (orl OperationResultList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationResultList.
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 ¶
func (iter OperationResultListIterator) Response() OperationResultList
Response returns the raw server response from the last page request.
func (OperationResultListIterator) Value ¶
func (iter OperationResultListIterator) Value() Operation
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(cur OperationResultList, 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 ¶
func (page OperationResultListPage) Response() OperationResultList
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.
func (OperationStatus) MarshalJSON ¶
func (osVar OperationStatus) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationStatus.
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.
func (OperationStatusError) MarshalJSON ¶
func (ose OperationStatusError) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OperationStatusError.
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 ¶
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.
func (OtherDatabase) MarshalJSON ¶
func (od OtherDatabase) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for OtherDatabase.
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.
func (RunAsAccountProperties) MarshalJSON ¶
func (raap RunAsAccountProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for RunAsAccountProperties.
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 ¶
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.
func (SQLServer) MarshalJSON ¶
MarshalJSON is the custom marshaler for SQLServer.
type SharePointServer ¶
type SharePointServer struct { string `json:"productName,omitempty"` IsEnterprise *bool `json:"isEnterprise,omitempty"` Status *string `json:"status,omitempty"` Version *string `json:"version,omitempty"` }ProductName *
SharePointServer sharePointServer in the guest virtual machine.
func (SharePointServer) MarshalJSON ¶
func (sps SharePointServer) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SharePointServer.
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.
func (SiteHealthSummaryCollection) MarshalJSON ¶
func (shsc SiteHealthSummaryCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SiteHealthSummaryCollection.
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 ¶
func (iter *SiteHealthSummaryCollectionIterator) 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 (*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 ¶
func (iter SiteHealthSummaryCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (SiteHealthSummaryCollectionIterator) Response ¶
func (iter SiteHealthSummaryCollectionIterator) Response() SiteHealthSummaryCollection
Response returns the raw server response from the last page request.
func (SiteHealthSummaryCollectionIterator) Value ¶
func (iter SiteHealthSummaryCollectionIterator) Value() SiteHealthSummary
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(cur SiteHealthSummaryCollection, getNextPage func(context.Context, SiteHealthSummaryCollection) (SiteHealthSummaryCollection, error)) SiteHealthSummaryCollectionPage
Creates a new instance of the SiteHealthSummaryCollectionPage type.
func (*SiteHealthSummaryCollectionPage) Next ¶
func (page *SiteHealthSummaryCollectionPage) 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 (*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 ¶
func (page SiteHealthSummaryCollectionPage) Response() SiteHealthSummaryCollection
Response returns the raw server response from the last page request.
func (SiteHealthSummaryCollectionPage) Values ¶
func (page SiteHealthSummaryCollectionPage) Values() []SiteHealthSummary
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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.
func (SystemCenter) MarshalJSON ¶
func (sc SystemCenter) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SystemCenter.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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.
func (VCenterCollection) MarshalJSON ¶
func (vcc VCenterCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VCenterCollection.
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 ¶
func (iter VCenterCollectionIterator) Response() VCenterCollection
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(cur VCenterCollection, 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.
func (VMwareDisk) MarshalJSON ¶
func (vmd VMwareDisk) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VMwareDisk.
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.
func (VMwareJob) MarshalJSON ¶
MarshalJSON is the custom marshaler for VMwareJob.
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.
func (VMwareJobCollection) MarshalJSON ¶
func (vmjc VMwareJobCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VMwareJobCollection.
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 ¶
func (iter VMwareJobCollectionIterator) Response() VMwareJobCollection
Response returns the raw server response from the last page request.
func (VMwareJobCollectionIterator) Value ¶
func (iter VMwareJobCollectionIterator) Value() VMwareJob
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(cur VMwareJobCollection, 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 ¶
func (page VMwareJobCollectionPage) Response() VMwareJobCollection
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.
func (VMwareMachine) MarshalJSON ¶
func (vmm VMwareMachine) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VMwareMachine.
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.
func (VMwareMachineCollection) MarshalJSON ¶
func (vmmc VMwareMachineCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VMwareMachineCollection.
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 ¶
func (iter *VMwareMachineCollectionIterator) 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 (*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 ¶
func (iter VMwareMachineCollectionIterator) Response() VMwareMachineCollection
Response returns the raw server response from the last page request.
func (VMwareMachineCollectionIterator) Value ¶
func (iter VMwareMachineCollectionIterator) Value() VMwareMachine
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(cur VMwareMachineCollection, 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 ¶
func (page VMwareMachineCollectionPage) Response() VMwareMachineCollection
Response returns the raw server response from the last page request.
func (VMwareMachineCollectionPage) Values ¶
func (page VMwareMachineCollectionPage) Values() []VMwareMachine
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.
func (VMwareMachineProperties) MarshalJSON ¶
func (vmmp VMwareMachineProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VMwareMachineProperties.
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.
func (VMwareNetworkAdapter) MarshalJSON ¶
func (vmna VMwareNetworkAdapter) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VMwareNetworkAdapter.
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.
func (VMwareRunAsAccount) MarshalJSON ¶
func (vmraa VMwareRunAsAccount) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VMwareRunAsAccount.
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.
func (VMwareRunAsAccountCollection) MarshalJSON ¶
func (vmraac VMwareRunAsAccountCollection) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for VMwareRunAsAccountCollection.
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 ¶
func (iter *VMwareRunAsAccountCollectionIterator) 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 (*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 ¶
func (iter VMwareRunAsAccountCollectionIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (VMwareRunAsAccountCollectionIterator) Response ¶
func (iter VMwareRunAsAccountCollectionIterator) Response() VMwareRunAsAccountCollection
Response returns the raw server response from the last page request.
func (VMwareRunAsAccountCollectionIterator) Value ¶
func (iter VMwareRunAsAccountCollectionIterator) Value() VMwareRunAsAccount
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 ¶
func NewVMwareRunAsAccountCollectionPage(cur VMwareRunAsAccountCollection, getNextPage func(context.Context, VMwareRunAsAccountCollection) (VMwareRunAsAccountCollection, error)) VMwareRunAsAccountCollectionPage
Creates a new instance of the VMwareRunAsAccountCollectionPage type.
func (*VMwareRunAsAccountCollectionPage) Next ¶
func (page *VMwareRunAsAccountCollectionPage) 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 (*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 ¶
func (page VMwareRunAsAccountCollectionPage) Response() VMwareRunAsAccountCollection
Response returns the raw server response from the last page request.
func (VMwareRunAsAccountCollectionPage) Values ¶
func (page VMwareRunAsAccountCollectionPage) Values() []VMwareRunAsAccount
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.
func (WebApplication) MarshalJSON ¶
func (wa WebApplication) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WebApplication.