mirror of
https://github.com/Oxalide/vsphere-influxdb-go.git
synced 2023-10-10 13:36:51 +02:00
79 lines
3.5 KiB
Go
79 lines
3.5 KiB
Go
/*
|
|
Copyright (c) 2015 VMware, Inc. All Rights Reserved.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
package ovf
|
|
|
|
/*
|
|
Source: http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2.24.0/CIM_VirtualSystemSettingData.xsd
|
|
*/
|
|
|
|
type CIMVirtualSystemSettingData struct {
|
|
ElementName string `xml:"ElementName"`
|
|
InstanceID string `xml:"InstanceID"`
|
|
|
|
AutomaticRecoveryAction *uint8 `xml:"AutomaticRecoveryAction"`
|
|
AutomaticShutdownAction *uint8 `xml:"AutomaticShutdownAction"`
|
|
AutomaticStartupAction *uint8 `xml:"AutomaticStartupAction"`
|
|
AutomaticStartupActionDelay *string `xml:"AutomaticStartupActionDelay>Interval"`
|
|
AutomaticStartupActionSequenceNumber *uint16 `xml:"AutomaticStartupActionSequenceNumber"`
|
|
Caption *string `xml:"Caption"`
|
|
ConfigurationDataRoot *string `xml:"ConfigurationDataRoot"`
|
|
ConfigurationFile *string `xml:"ConfigurationFile"`
|
|
ConfigurationID *string `xml:"ConfigurationID"`
|
|
CreationTime *string `xml:"CreationTime"`
|
|
Description *string `xml:"Description"`
|
|
LogDataRoot *string `xml:"LogDataRoot"`
|
|
Notes []string `xml:"Notes"`
|
|
RecoveryFile *string `xml:"RecoveryFile"`
|
|
SnapshotDataRoot *string `xml:"SnapshotDataRoot"`
|
|
SuspendDataRoot *string `xml:"SuspendDataRoot"`
|
|
SwapFileDataRoot *string `xml:"SwapFileDataRoot"`
|
|
VirtualSystemIdentifier *string `xml:"VirtualSystemIdentifier"`
|
|
VirtualSystemType *string `xml:"VirtualSystemType"`
|
|
}
|
|
|
|
/*
|
|
Source: http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2.24.0/CIM_ResourceAllocationSettingData.xsd
|
|
*/
|
|
|
|
type CIMResourceAllocationSettingData struct {
|
|
ElementName string `xml:"ElementName"`
|
|
InstanceID string `xml:"InstanceID"`
|
|
|
|
ResourceType *uint16 `xml:"ResourceType"`
|
|
OtherResourceType *string `xml:"OtherResourceType"`
|
|
ResourceSubType *string `xml:"ResourceSubType"`
|
|
|
|
AddressOnParent *string `xml:"AddressOnParent"`
|
|
Address *string `xml:"Address"`
|
|
AllocationUnits *string `xml:"AllocationUnits"`
|
|
AutomaticAllocation *bool `xml:"AutomaticAllocation"`
|
|
AutomaticDeallocation *bool `xml:"AutomaticDeallocation"`
|
|
Caption *string `xml:"Caption"`
|
|
Connection []string `xml:"Connection"`
|
|
ConsumerVisibility *uint16 `xml:"ConsumerVisibility"`
|
|
Description *string `xml:"Description"`
|
|
HostResource []string `xml:"HostResource"`
|
|
Limit *uint64 `xml:"Limit"`
|
|
MappingBehavior *uint `xml:"MappingBehavior"`
|
|
Parent *string `xml:"Parent"`
|
|
PoolID *string `xml:"PoolID"`
|
|
Reservation *uint64 `xml:"Reservation"`
|
|
VirtualQuantity *uint `xml:"VirtualQuantity"`
|
|
VirtualQuantityUnits *string `xml:"VirtualQuantityUnits"`
|
|
Weight *uint `xml:"Weight"`
|
|
}
|