Documentation ¶
Index ¶
- func PossibleValuesForVirtualDiskMode() []string
- func ValidateVMwareSiteID(input interface{}, key string) (warnings []string, errors []error)
- type Application
- type AppsAndRoles
- type BizTalkServer
- type ExchangeServer
- type Feature
- type GetAllMachinesInSiteCompleteResult
- type GetAllMachinesInSiteOperationOptions
- type GetAllMachinesInSiteOperationResponse
- type GetMachineOperationResponse
- type GuestOSDetails
- type HealthErrorDetails
- type MachinesClient
- func (c MachinesClient) GetAllMachinesInSite(ctx context.Context, id VMwareSiteId, ...) (result GetAllMachinesInSiteOperationResponse, err error)
- func (c MachinesClient) GetAllMachinesInSiteComplete(ctx context.Context, id VMwareSiteId, ...) (GetAllMachinesInSiteCompleteResult, error)
- func (c MachinesClient) GetAllMachinesInSiteCompleteMatchingPredicate(ctx context.Context, id VMwareSiteId, ...) (result GetAllMachinesInSiteCompleteResult, err error)
- func (c MachinesClient) GetMachine(ctx context.Context, id commonids.VMwareSiteMachineId) (result GetMachineOperationResponse, err error)
- func (c MachinesClient) StartMachine(ctx context.Context, id commonids.VMwareSiteMachineId) (result StartMachineOperationResponse, err error)
- func (c MachinesClient) StopMachine(ctx context.Context, id commonids.VMwareSiteMachineId) (result StopMachineOperationResponse, err error)
- type OperatingSystem
- type OtherDatabase
- type SQLServer
- type SharePointServer
- type StartMachineOperationResponse
- type StopMachineOperationResponse
- type SystemCenter
- type VMwareDisk
- type VMwareMachine
- type VMwareMachineOperationPredicate
- type VMwareMachineProperties
- func (o *VMwareMachineProperties) GetDependencyMappingStartTimeAsTime() (*time.Time, error)
- func (o *VMwareMachineProperties) GetGuestDetailsDiscoveryTimestampAsTime() (*time.Time, error)
- func (o *VMwareMachineProperties) SetDependencyMappingStartTimeAsTime(input time.Time)
- func (o *VMwareMachineProperties) SetGuestDetailsDiscoveryTimestampAsTime(input time.Time)
- type VMwareNetworkAdapter
- type VMwareSiteId
- type VirtualDiskMode
- type WebApplication
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForVirtualDiskMode ¶
func PossibleValuesForVirtualDiskMode() []string
func ValidateVMwareSiteID ¶
ValidateVMwareSiteID checks that 'input' can be parsed as a V Mware Site ID
Types ¶
type Application ¶
type AppsAndRoles ¶
type AppsAndRoles struct { Applications *[]Application `json:"applications,omitempty"` BizTalkServers *[]BizTalkServer `json:"bizTalkServers,omitempty"` ExchangeServers *[]ExchangeServer `json:"exchangeServers,omitempty"` Features *[]Feature `json:"features,omitempty"` OtherDatabases *[]OtherDatabase `json:"otherDatabases,omitempty"` SqlServers *[]SQLServer `json:"sqlServers,omitempty"` SystemCenters *[]SystemCenter `json:"systemCenters,omitempty"` WebApplications *[]WebApplication `json:"webApplications,omitempty"` }
type BizTalkServer ¶
type ExchangeServer ¶
type GetAllMachinesInSiteCompleteResult ¶
type GetAllMachinesInSiteCompleteResult struct {
Items []VMwareMachine
}
type GetAllMachinesInSiteOperationOptions ¶
type GetAllMachinesInSiteOperationOptions struct { ContinuationToken *string Filter *string Top *int64 TotalRecordCount *int64 }
func DefaultGetAllMachinesInSiteOperationOptions ¶
func DefaultGetAllMachinesInSiteOperationOptions() GetAllMachinesInSiteOperationOptions
func (GetAllMachinesInSiteOperationOptions) ToHeaders ¶ added in v0.20230516.1215417
func (o GetAllMachinesInSiteOperationOptions) ToHeaders() *client.Headers
func (GetAllMachinesInSiteOperationOptions) ToOData ¶ added in v0.20230516.1215417
func (o GetAllMachinesInSiteOperationOptions) ToOData() *odata.Query
func (GetAllMachinesInSiteOperationOptions) ToQuery ¶ added in v0.20230516.1215417
func (o GetAllMachinesInSiteOperationOptions) ToQuery() *client.QueryParams
type GetAllMachinesInSiteOperationResponse ¶
type GetAllMachinesInSiteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]VMwareMachine }
type GetMachineOperationResponse ¶
type GetMachineOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *VMwareMachine }
type GuestOSDetails ¶
type HealthErrorDetails ¶
type HealthErrorDetails struct { Code *string `json:"code,omitempty"` Id *int64 `json:"id,omitempty"` Message *string `json:"message,omitempty"` MessageParameters *map[string]string `json:"messageParameters,omitempty"` PossibleCauses *string `json:"possibleCauses,omitempty"` RecommendedAction *string `json:"recommendedAction,omitempty"` Severity *string `json:"severity,omitempty"` Source *string `json:"source,omitempty"` SummaryMessage *string `json:"summaryMessage,omitempty"` }
type MachinesClient ¶
type MachinesClient struct {
Client *resourcemanager.Client
}
func NewMachinesClientWithBaseURI ¶
func NewMachinesClientWithBaseURI(sdkApi sdkEnv.Api) (*MachinesClient, error)
func (MachinesClient) GetAllMachinesInSite ¶
func (c MachinesClient) GetAllMachinesInSite(ctx context.Context, id VMwareSiteId, options GetAllMachinesInSiteOperationOptions) (result GetAllMachinesInSiteOperationResponse, err error)
GetAllMachinesInSite ...
func (MachinesClient) GetAllMachinesInSiteComplete ¶
func (c MachinesClient) GetAllMachinesInSiteComplete(ctx context.Context, id VMwareSiteId, options GetAllMachinesInSiteOperationOptions) (GetAllMachinesInSiteCompleteResult, error)
GetAllMachinesInSiteComplete retrieves all the results into a single object
func (MachinesClient) GetAllMachinesInSiteCompleteMatchingPredicate ¶
func (c MachinesClient) GetAllMachinesInSiteCompleteMatchingPredicate(ctx context.Context, id VMwareSiteId, options GetAllMachinesInSiteOperationOptions, predicate VMwareMachineOperationPredicate) (result GetAllMachinesInSiteCompleteResult, err error)
GetAllMachinesInSiteCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MachinesClient) GetMachine ¶
func (c MachinesClient) GetMachine(ctx context.Context, id commonids.VMwareSiteMachineId) (result GetMachineOperationResponse, err error)
GetMachine ...
func (MachinesClient) StartMachine ¶
func (c MachinesClient) StartMachine(ctx context.Context, id commonids.VMwareSiteMachineId) (result StartMachineOperationResponse, err error)
StartMachine ...
func (MachinesClient) StopMachine ¶
func (c MachinesClient) StopMachine(ctx context.Context, id commonids.VMwareSiteMachineId) (result StopMachineOperationResponse, err error)
StopMachine ...
type OperatingSystem ¶
type OtherDatabase ¶
type SharePointServer ¶
type SharePointServer struct {}
type SystemCenter ¶
type VMwareDisk ¶
type VMwareDisk struct { DiskMode *VirtualDiskMode `json:"diskMode,omitempty"` DiskProvisioningPolicy *string `json:"diskProvisioningPolicy,omitempty"` DiskScrubbingPolicy *string `json:"diskScrubbingPolicy,omitempty"` DiskType *string `json:"diskType,omitempty"` Label *string `json:"label,omitempty"` Lun *int64 `json:"lun,omitempty"` MaxSizeInBytes *int64 `json:"maxSizeInBytes,omitempty"` Name *string `json:"name,omitempty"` Path *string `json:"path,omitempty"` Uuid *string `json:"uuid,omitempty"` }
type VMwareMachine ¶
type VMwareMachine struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *VMwareMachineProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type VMwareMachineOperationPredicate ¶
func (VMwareMachineOperationPredicate) Matches ¶
func (p VMwareMachineOperationPredicate) Matches(input VMwareMachine) bool
type VMwareMachineProperties ¶
type VMwareMachineProperties struct { AllocatedMemoryInMB *float64 `json:"allocatedMemoryInMB,omitempty"` AppsAndRoles *AppsAndRoles `json:"appsAndRoles,omitempty"` BiosGuid *string `json:"biosGuid,omitempty"` BiosSerialNumber *string `json:"biosSerialNumber,omitempty"` ChangeTrackingEnabled *bool `json:"changeTrackingEnabled,omitempty"` ChangeTrackingSupported *bool `json:"changeTrackingSupported,omitempty"` CreatedTimestamp *string `json:"createdTimestamp,omitempty"` DataCenterScope *string `json:"dataCenterScope,omitempty"` DependencyMapping *string `json:"dependencyMapping,omitempty"` DependencyMappingStartTime *string `json:"dependencyMappingStartTime,omitempty"` Description *string `json:"description,omitempty"` Disks *[]VMwareDisk `json:"disks,omitempty"` DisplayName *string `json:"displayName,omitempty"` Errors *[]HealthErrorDetails `json:"errors,omitempty"` Firmware *string `json:"firmware,omitempty"` GuestDetailsDiscoveryTimestamp *string `json:"guestDetailsDiscoveryTimestamp,omitempty"` GuestOSDetails *GuestOSDetails `json:"guestOSDetails,omitempty"` HostInMaintenanceMode *bool `json:"hostInMaintenanceMode,omitempty"` HostName *string `json:"hostName,omitempty"` HostPowerState *string `json:"hostPowerState,omitempty"` HostVersion *string `json:"hostVersion,omitempty"` InstanceUuid *string `json:"instanceUuid,omitempty"` IsDeleted *bool `json:"isDeleted,omitempty"` IsGuestDetailsDiscoveryInProgress *bool `json:"isGuestDetailsDiscoveryInProgress,omitempty"` MaxSnapshots *int64 `json:"maxSnapshots,omitempty"` NetworkAdapters *[]VMwareNetworkAdapter `json:"networkAdapters,omitempty"` NumberOfApplications *int64 `json:"numberOfApplications,omitempty"` NumberOfProcessorCore *int64 `json:"numberOfProcessorCore,omitempty"` OperatingSystemDetails *OperatingSystem `json:"operatingSystemDetails,omitempty"` PowerStatus *string `json:"powerStatus,omitempty"` UpdatedTimestamp *string `json:"updatedTimestamp,omitempty"` VCenterFQDN *string `json:"vCenterFQDN,omitempty"` VCenterId *string `json:"vCenterId,omitempty"` VMConfigurationFileLocation *string `json:"vmConfigurationFileLocation,omitempty"` VMFqdn *string `json:"vmFqdn,omitempty"` VMwareToolsStatus *string `json:"vMwareToolsStatus,omitempty"` }
func (*VMwareMachineProperties) GetDependencyMappingStartTimeAsTime ¶
func (o *VMwareMachineProperties) GetDependencyMappingStartTimeAsTime() (*time.Time, error)
func (*VMwareMachineProperties) GetGuestDetailsDiscoveryTimestampAsTime ¶
func (o *VMwareMachineProperties) GetGuestDetailsDiscoveryTimestampAsTime() (*time.Time, error)
func (*VMwareMachineProperties) SetDependencyMappingStartTimeAsTime ¶
func (o *VMwareMachineProperties) SetDependencyMappingStartTimeAsTime(input time.Time)
func (*VMwareMachineProperties) SetGuestDetailsDiscoveryTimestampAsTime ¶
func (o *VMwareMachineProperties) SetGuestDetailsDiscoveryTimestampAsTime(input time.Time)
type VMwareNetworkAdapter ¶
type VMwareNetworkAdapter struct { IPAddressList *[]string `json:"ipAddressList,omitempty"` IPAddressType *string `json:"ipAddressType,omitempty"` Label *string `json:"label,omitempty"` MacAddress *string `json:"macAddress,omitempty"` NetworkName *string `json:"networkName,omitempty"` NicId *string `json:"nicId,omitempty"` }
type VMwareSiteId ¶
VMwareSiteId is a struct representing the Resource ID for a V Mware Site
func NewVMwareSiteID ¶
func NewVMwareSiteID(subscriptionId string, resourceGroupName string, vmwareSiteName string) VMwareSiteId
NewVMwareSiteID returns a new VMwareSiteId struct
func ParseVMwareSiteID ¶
func ParseVMwareSiteID(input string) (*VMwareSiteId, error)
ParseVMwareSiteID parses 'input' into a VMwareSiteId
func ParseVMwareSiteIDInsensitively ¶
func ParseVMwareSiteIDInsensitively(input string) (*VMwareSiteId, error)
ParseVMwareSiteIDInsensitively parses 'input' case-insensitively into a VMwareSiteId note: this method should only be used for API response data and not user input
func (VMwareSiteId) ID ¶
func (id VMwareSiteId) ID() string
ID returns the formatted V Mware Site ID
func (VMwareSiteId) Segments ¶
func (id VMwareSiteId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this V Mware Site ID
func (VMwareSiteId) String ¶
func (id VMwareSiteId) String() string
String returns a human-readable description of this V Mware Site ID
type VirtualDiskMode ¶
type VirtualDiskMode string
const ( VirtualDiskModeAppend VirtualDiskMode = "append" VirtualDiskModeIndependentNonpersistent VirtualDiskMode = "independent_nonpersistent" VirtualDiskModeIndependentPersistent VirtualDiskMode = "independent_persistent" VirtualDiskModeNonpersistent VirtualDiskMode = "nonpersistent" VirtualDiskModePersistent VirtualDiskMode = "persistent" VirtualDiskModeUndoable VirtualDiskMode = "undoable" )
func (*VirtualDiskMode) UnmarshalJSON ¶ added in v0.20230516.1215417
func (s *VirtualDiskMode) UnmarshalJSON(bytes []byte) error
type WebApplication ¶
type WebApplication struct { ApplicationPool *string `json:"applicationPool,omitempty"` GroupName *string `json:"groupName,omitempty"` Name *string `json:"name,omitempty"` Platform *string `json:"platform,omitempty"` Status *string `json:"status,omitempty"` WebServer *string `json:"webServer,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_vmwaresite.go
- method_getallmachinesinsite.go
- method_getmachine.go
- method_startmachine.go
- method_stopmachine.go
- model_application.go
- model_appsandroles.go
- model_biztalkserver.go
- model_exchangeserver.go
- model_feature.go
- model_guestosdetails.go
- model_healtherrordetails.go
- model_operatingsystem.go
- model_otherdatabase.go
- model_sharepointserver.go
- model_sqlserver.go
- model_systemcenter.go
- model_vmwaredisk.go
- model_vmwaremachine.go
- model_vmwaremachineproperties.go
- model_vmwarenetworkadapter.go
- model_webapplication.go
- predicates.go
- version.go