Documentation ¶
Index ¶
- func PossibleValuesForHighlyAvailable() []string
- func ValidateHyperVSiteID(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 HighlyAvailable
- type HyperVDisk
- type HyperVMachine
- type HyperVMachineOperationPredicate
- type HyperVMachineProperties
- type HyperVMachinesClient
- func (c HyperVMachinesClient) GetAllMachinesInSite(ctx context.Context, id HyperVSiteId, ...) (result GetAllMachinesInSiteOperationResponse, err error)
- func (c HyperVMachinesClient) GetAllMachinesInSiteComplete(ctx context.Context, id HyperVSiteId, ...) (GetAllMachinesInSiteCompleteResult, error)
- func (c HyperVMachinesClient) GetAllMachinesInSiteCompleteMatchingPredicate(ctx context.Context, id HyperVSiteId, ...) (result GetAllMachinesInSiteCompleteResult, err error)
- func (c HyperVMachinesClient) GetMachine(ctx context.Context, id commonids.HyperVSiteMachineId) (result GetMachineOperationResponse, err error)
- type HyperVNetworkAdapter
- type HyperVSiteId
- type OperatingSystem
- type OtherDatabase
- type SQLServer
- type SharePointServer
- type SystemCenter
- type WebApplication
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForHighlyAvailable ¶
func PossibleValuesForHighlyAvailable() []string
func ValidateHyperVSiteID ¶
ValidateHyperVSiteID checks that 'input' can be parsed as a Hyper V 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 []HyperVMachine
}
type GetAllMachinesInSiteOperationOptions ¶
type GetAllMachinesInSiteOperationOptions struct { ContinuationToken *string Filter *string Top *int64 TotalRecordCount *int64 }
func DefaultGetAllMachinesInSiteOperationOptions ¶
func DefaultGetAllMachinesInSiteOperationOptions() GetAllMachinesInSiteOperationOptions
func (GetAllMachinesInSiteOperationOptions) ToHeaders ¶
func (o GetAllMachinesInSiteOperationOptions) ToHeaders() *client.Headers
func (GetAllMachinesInSiteOperationOptions) ToOData ¶
func (o GetAllMachinesInSiteOperationOptions) ToOData() *odata.Query
func (GetAllMachinesInSiteOperationOptions) ToQuery ¶
func (o GetAllMachinesInSiteOperationOptions) ToQuery() *client.QueryParams
type GetAllMachinesInSiteOperationResponse ¶
type GetAllMachinesInSiteOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]HyperVMachine }
type GetMachineOperationResponse ¶
type GetMachineOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *HyperVMachine }
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 HighlyAvailable ¶
type HighlyAvailable string
const ( HighlyAvailableNo HighlyAvailable = "No" HighlyAvailableUnknown HighlyAvailable = "Unknown" HighlyAvailableYes HighlyAvailable = "Yes" )
func (*HighlyAvailable) UnmarshalJSON ¶
func (s *HighlyAvailable) UnmarshalJSON(bytes []byte) error
type HyperVDisk ¶
type HyperVDisk struct { DiskType *string `json:"diskType,omitempty"` InstanceId *string `json:"instanceId,omitempty"` Lun *int64 `json:"lun,omitempty"` MaxSizeInBytes *int64 `json:"maxSizeInBytes,omitempty"` Name *string `json:"name,omitempty"` Path *string `json:"path,omitempty"` VhdId *string `json:"vhdId,omitempty"` }
type HyperVMachine ¶
type HyperVMachine struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *HyperVMachineProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type HyperVMachineOperationPredicate ¶
func (HyperVMachineOperationPredicate) Matches ¶
func (p HyperVMachineOperationPredicate) Matches(input HyperVMachine) bool
type HyperVMachineProperties ¶
type HyperVMachineProperties struct { AllocatedMemoryInMB *float64 `json:"allocatedMemoryInMB,omitempty"` AppsAndRoles *AppsAndRoles `json:"appsAndRoles,omitempty"` BiosGuid *string `json:"biosGuid,omitempty"` BiosSerialNumber *string `json:"biosSerialNumber,omitempty"` ClusterFqdn *string `json:"clusterFqdn,omitempty"` ClusterId *string `json:"clusterId,omitempty"` CreatedTimestamp *string `json:"createdTimestamp,omitempty"` Disks *[]HyperVDisk `json:"disks,omitempty"` DisplayName *string `json:"displayName,omitempty"` Errors *[]HealthErrorDetails `json:"errors,omitempty"` Firmware *string `json:"firmware,omitempty"` Generation *int64 `json:"generation,omitempty"` GuestDetailsDiscoveryTimestamp *string `json:"guestDetailsDiscoveryTimestamp,omitempty"` GuestOSDetails *GuestOSDetails `json:"guestOSDetails,omitempty"` HighAvailability *HighlyAvailable `json:"highAvailability,omitempty"` HostFqdn *string `json:"hostFqdn,omitempty"` HostId *string `json:"hostId,omitempty"` InstanceUuid *string `json:"instanceUuid,omitempty"` IsDeleted *bool `json:"isDeleted,omitempty"` IsDynamicMemoryEnabled *bool `json:"isDynamicMemoryEnabled,omitempty"` IsGuestDetailsDiscoveryInProgress *bool `json:"isGuestDetailsDiscoveryInProgress,omitempty"` ManagementServerType *string `json:"managementServerType,omitempty"` MaxMemoryMB *int64 `json:"maxMemoryMB,omitempty"` NetworkAdapters *[]HyperVNetworkAdapter `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"` VMConfigurationFileLocation *string `json:"vmConfigurationFileLocation,omitempty"` VMFqdn *string `json:"vmFqdn,omitempty"` Version *string `json:"version,omitempty"` }
func (*HyperVMachineProperties) GetGuestDetailsDiscoveryTimestampAsTime ¶
func (o *HyperVMachineProperties) GetGuestDetailsDiscoveryTimestampAsTime() (*time.Time, error)
func (*HyperVMachineProperties) SetGuestDetailsDiscoveryTimestampAsTime ¶
func (o *HyperVMachineProperties) SetGuestDetailsDiscoveryTimestampAsTime(input time.Time)
type HyperVMachinesClient ¶
type HyperVMachinesClient struct {
Client *resourcemanager.Client
}
func NewHyperVMachinesClientWithBaseURI ¶
func NewHyperVMachinesClientWithBaseURI(api environments.Api) (*HyperVMachinesClient, error)
func (HyperVMachinesClient) GetAllMachinesInSite ¶
func (c HyperVMachinesClient) GetAllMachinesInSite(ctx context.Context, id HyperVSiteId, options GetAllMachinesInSiteOperationOptions) (result GetAllMachinesInSiteOperationResponse, err error)
GetAllMachinesInSite ...
func (HyperVMachinesClient) GetAllMachinesInSiteComplete ¶
func (c HyperVMachinesClient) GetAllMachinesInSiteComplete(ctx context.Context, id HyperVSiteId, options GetAllMachinesInSiteOperationOptions) (GetAllMachinesInSiteCompleteResult, error)
GetAllMachinesInSiteComplete retrieves all the results into a single object
func (HyperVMachinesClient) GetAllMachinesInSiteCompleteMatchingPredicate ¶
func (c HyperVMachinesClient) GetAllMachinesInSiteCompleteMatchingPredicate(ctx context.Context, id HyperVSiteId, options GetAllMachinesInSiteOperationOptions, predicate HyperVMachineOperationPredicate) (result GetAllMachinesInSiteCompleteResult, err error)
GetAllMachinesInSiteCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (HyperVMachinesClient) GetMachine ¶
func (c HyperVMachinesClient) GetMachine(ctx context.Context, id commonids.HyperVSiteMachineId) (result GetMachineOperationResponse, err error)
GetMachine ...
type HyperVNetworkAdapter ¶
type HyperVNetworkAdapter struct { IPAddressList *[]string `json:"ipAddressList,omitempty"` IPAddressType *string `json:"ipAddressType,omitempty"` MacAddress *string `json:"macAddress,omitempty"` NetworkId *string `json:"networkId,omitempty"` NetworkName *string `json:"networkName,omitempty"` NicId *string `json:"nicId,omitempty"` NicType *string `json:"nicType,omitempty"` StaticIPAddress *string `json:"staticIpAddress,omitempty"` SubnetName *string `json:"subnetName,omitempty"` }
type HyperVSiteId ¶
HyperVSiteId is a struct representing the Resource ID for a Hyper V Site
func NewHyperVSiteID ¶
func NewHyperVSiteID(subscriptionId string, resourceGroupName string, hyperVSiteName string) HyperVSiteId
NewHyperVSiteID returns a new HyperVSiteId struct
func ParseHyperVSiteID ¶
func ParseHyperVSiteID(input string) (*HyperVSiteId, error)
ParseHyperVSiteID parses 'input' into a HyperVSiteId
func ParseHyperVSiteIDInsensitively ¶
func ParseHyperVSiteIDInsensitively(input string) (*HyperVSiteId, error)
ParseHyperVSiteIDInsensitively parses 'input' case-insensitively into a HyperVSiteId note: this method should only be used for API response data and not user input
func (HyperVSiteId) ID ¶
func (id HyperVSiteId) ID() string
ID returns the formatted Hyper V Site ID
func (HyperVSiteId) Segments ¶
func (id HyperVSiteId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Hyper V Site ID
func (HyperVSiteId) String ¶
func (id HyperVSiteId) String() string
String returns a human-readable description of this Hyper V Site ID
type OperatingSystem ¶
type OtherDatabase ¶
type SharePointServer ¶
type SharePointServer struct {}
type SystemCenter ¶
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_hypervsite.go
- method_getallmachinesinsite.go
- method_getmachine.go
- model_application.go
- model_appsandroles.go
- model_biztalkserver.go
- model_exchangeserver.go
- model_feature.go
- model_guestosdetails.go
- model_healtherrordetails.go
- model_hypervdisk.go
- model_hypervmachine.go
- model_hypervmachineproperties.go
- model_hypervnetworkadapter.go
- model_operatingsystem.go
- model_otherdatabase.go
- model_sharepointserver.go
- model_sqlserver.go
- model_systemcenter.go
- model_webapplication.go
- predicates.go
- version.go