Documentation ¶
Index ¶
- type ASN
- type AvailableIp
- type Cable
- type CableLengthUnit
- type CableStatus
- type Cluster
- type ClusterStatus
- type CreateAvailablePrefixRequest
- type Device
- type DeviceAirflow
- type DeviceFace
- type DeviceRole
- type DeviceStatus
- type DeviceType
- type Interface
- type InterfaceMode
- type InterfaceType
- type IpAddress
- type IpAddressStatus
- type IpamRole
- type LengthUnit
- type ListCablesRequest
- type ListCablesResponse
- type ListClusterRequest
- type ListClusterResponse
- type ListDeviceRolesRequest
- type ListDeviceRolesResponse
- type ListDeviceTypesRequest
- type ListDeviceTypesResponse
- type ListDevicesRequest
- type ListDevicesResponse
- type ListInterfacesRequest
- type ListInterfacesResponse
- type ListIpAddressesRequest
- type ListIpAddressesResponse
- type ListPlatformsRequest
- type ListPlatformsResponse
- type ListPrefixesReponse
- type ListPrefixesRequest
- type ListRacksRequest
- type ListRacksResponse
- type ListRegionsRequest
- type ListRegionsResponse
- type ListRolesRequest
- type ListRolesResponse
- type ListSiteGroupsRequest
- type ListSiteGroupsResponse
- type ListSitesRequest
- type ListSitesResponse
- type ListTagsRequest
- type ListTagsResponse
- type ListTenantGroupsRequest
- type ListTenantGroupsResponse
- type ListTenantsRequest
- type ListTenantsResponse
- type ListVMInterfacesRequest
- type ListVMInterfacesResponse
- type ListVRFsRequest
- type ListVRFsResponse
- type ListVirtualMachinesRequest
- type ListVirtualMachinesResponse
- type ListVlanRequest
- type ListVlanResponse
- type Location
- type LocationStatus
- type NestedASN
- type NestedCable
- type NestedCluster
- type NestedClusterGroup
- type NestedClusterType
- type NestedDevice
- type NestedDeviceRole
- type NestedDeviceType
- type NestedInterface
- type NestedIpAddress
- type NestedLocation
- type NestedManufacturer
- type NestedPlatform
- type NestedRack
- type NestedRegion
- type NestedSite
- type NestedSiteGroup
- type NestedTag
- type NestedTenant
- type NestedTenantGroup
- type NestedVLAN
- type NestedVMInterface
- type NestedVRF
- type NestedVirtualChassis
- type NestedVirtualMachine
- type Platform
- type Prefix
- type Rack
- type RackRole
- type Region
- type Role
- type Site
- type SiteGroup
- type SiteStatus
- type Status
- type Tag
- type Tenant
- type TenantGroup
- type Termination
- type VMInterface
- type VRF
- type VirtualChassis
- type VirtualMachine
- type VirtualMachineStatus
- type Vlan
- type WritableDeviceWithConfigContext
- type WritableInterface
- type WritableVMInterface
- type WriteableCable
- type WriteableIpAddress
- type WriteablePrefix
- type WriteableVirtualMachine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ASN ¶
type ASN struct { Asn int `json:"asn"` Comments string `json:"comments,omitempty"` Created strfmt.DateTime `json:"created,omitempty"` CustomFields interface{} `json:"custom_fields,omitempty"` Description string `json:"description,omitempty"` Display string `json:"display,omitempty"` Id int `json:"id,omitempty"` LastUpdated strfmt.DateTime `json:"last_updated,omitempty"` ProviderCount int `json:"provider_count,omitempty"` Rir int `json:"rir"` SiteCount int `json:"site_count,omitempty"` Tags []NestedTag `json:"tags,omitempty"` Tenant NestedTenant `json:"tenant,omitempty"` URL strfmt.URI `json:"url,omitempty"` }
type AvailableIp ¶
type Cable ¶
type Cable struct { Color string `json:"color,omitempty"` Comments string `json:"comments,omitempty"` Created strfmt.DateTime `json:"created,omitempty"` CustomFields interface{} `json:"custom_fields,omitempty"` Description string `json:"description,omitempty"` Display string `json:"display,omitempty"` Id int `json:"id,omitempty"` Label string `json:"label,omitempty"` LastUpdated strfmt.DateTime `json:"last_updated,omitempty"` Length float64 `json:"length,omitempty"` LengthUnit CableLengthUnit `json:"length_unit,omitempty"` Status CableStatus `json:"status,omitempty"` Tags []NestedTag `json:"tags,omitempty"` Tenant NestedTenant `json:"tenant,omitempty"` Type string `json:"type,omitempty"` Url strfmt.URI `json:"url,omitempty"` Aterminations []Termination Bterminations []Termination AssignedObjectType string }
func (*Cable) UnmarshalJSON ¶
type CableLengthUnit ¶
type CableStatus ¶
type Cluster ¶
type Cluster struct { Comments string `json:"comments,omitempty"` Created strfmt.DateTime `json:"created,omitempty"` CustomFields interface{} `json:"custom_fields,omitempty"` Description string `json:"description,omitempty"` DeviceCount int `json:"device_count,omitempty"` Display string `json:"display,omitempty"` Group NestedClusterGroup `json:"group,omitempty"` Id int `json:"id,omitempty"` LastUpdated strfmt.DateTime `json:"last_updated,omitempty"` Name string `json:"name"` Site NestedSite `json:"site,omitempty"` Status ClusterStatus `json:"status,omitempty"` Tags []NestedTag `json:"tags,omitempty"` Tenant NestedTenant `json:"tenant,omitempty"` Type NestedClusterType `json:"type"` URL strfmt.URI `json:"url,omitempty"` VirtualmachineCount int `json:"virtualmachine_count,omitempty"` }
type ClusterStatus ¶
type CreateAvailablePrefixRequest ¶
type CreateAvailablePrefixRequest struct {
PrefixLength int `json:"prefix_length"`
}
type Device ¶
type Device struct { NestedDevice Airflow *DeviceAirflow `json:"airflow,omitempty"` AssetTag string `json:"asset_tag,omitempty"` Cluster *NestedCluster `json:"cluster,omitempty"` Comments string `json:"comments,omitempty"` ConfigContext interface{} `json:"config_context"` Created strfmt.DateTime `json:"created,omitempty"` CustomFields interface{} `json:"custom_fields,omitempty"` Description string `json:"description,omitempty"` DeviceRole NestedDeviceRole `json:"device_role"` DeviceType NestedDeviceType `json:"device_type"` Display string `json:"display,omitempty"` Face DeviceFace `json:"face"` Id int `json:"id,omitempty"` LastUpdated strfmt.DateTime `json:"last_updated,omitempty"` LocalContextData interface{} `json:"local_context_data"` Location NestedLocation `json:"location,omitempty"` Name string `json:"name,omitempty"` ParentDevice NestedDevice `json:"parent_device"` Platform NestedPlatform `json:"platform"` Position float64 `json:"position"` PrimaryIp NestedIpAddress `json:"primary_ip"` PrimaryIp4 NestedIpAddress `json:"primary_ip4"` PrimaryIp6 NestedIpAddress `json:"primary_ip6"` Rack NestedRack `json:"rack"` Serial string `json:"serial"` Site NestedSite `json:"site"` Status DeviceStatus `json:"status"` Tags []NestedTag `json:"tags"` Tenant NestedTenant `json:"tenant"` VCPosition int `json:"vc_position"` VCPriority int `json:"vc_priority"` VirtualChassis NestedVirtualChassis `json:"virtual_chassis"` }
type DeviceAirflow ¶
type DeviceFace ¶
type DeviceRole ¶
type DeviceRole struct { NestedDeviceRole Color string `json:"color"` VMRole bool `json:"vm_role"` Description string `json:"description"` }
type DeviceStatus ¶
type DeviceType ¶
type DeviceType struct {
NestedDeviceType
}
type Interface ¶
type Interface struct { NestedInterface Cable NestedCable `json:"cable,omitempty"` ConnectedEndpoints []NestedInterface `json:"connected_endpoints"` CountIpaddresses int `json:"count_ipaddresses,omitempty"` Description string `json:"description,omitempty"` Enabled bool `json:"enabled,omitempty"` Label string `json:"label,omitempty"` Lag NestedInterface `json:"lag,omitempty"` MacAddress string `json:"mac_address,omitempty"` MgmtOnly bool `json:"mgmt_only,omitempty"` Mode InterfaceMode `json:"mode,omitempty"` Mtu int `json:"mtu,omitempty"` Name string `json:"name"` Occupied bool `json:"_occupied,omitempty"` TaggedVlans []NestedVLAN `json:"tagged_vlans"` Tags []NestedTag `json:"tags,omitempty"` Type InterfaceType `json:"type"` UntaggedVlan NestedVLAN `json:"untagged_vlan,omitempty"` }
type InterfaceMode ¶
type InterfaceType ¶
type IpAddress ¶
type IpAddress struct { NestedIpAddress Vrf interface{} `json:"vrf"` Tenant Tenant `json:"tenant"` Status IpAddressStatus `json:"status"` Role IpamRole `json:"role"` NatInside interface{} `json:"nat_inside"` NatOutside interface{} `json:"nat_outside"` DnsName string `json:"dns_name"` Description string `json:"description"` Tags []NestedTag `json:"tags"` CustomFields interface{} `json:"custom_fields"` Created string `json:"created"` LastUpdated string `json:"last_updated"` AssignedInterface NestedInterface AssignedVMInterface NestedVMInterface AssignedObjectType string `json:"assigned_object_type"` AssignedObjectId int `json:"assigned_object_id"` }
func (*IpAddress) UnmarshalJSON ¶
type IpAddressStatus ¶
type LengthUnit ¶
type ListCablesRequest ¶
type ListCablesRequest struct { common.ListParams CableId int CableType string }
type ListCablesResponse ¶
type ListCablesResponse struct { common.ReturnValues Results []Cable `json:"results"` }
type ListClusterRequest ¶
type ListClusterRequest struct { common.ListParams Type string Region string }
type ListClusterResponse ¶
type ListClusterResponse struct { common.ReturnValues Results []Cluster `json:"results"` }
type ListDeviceRolesRequest ¶
type ListDeviceRolesRequest struct {
common.ListParams
}
type ListDeviceRolesResponse ¶
type ListDeviceRolesResponse struct { common.ReturnValues Results []DeviceRole `json:"results"` }
type ListDeviceTypesRequest ¶
type ListDeviceTypesRequest struct {
common.ListParams
}
type ListDeviceTypesResponse ¶
type ListDeviceTypesResponse struct { common.ReturnValues Results []DeviceType `json:"results"` }
type ListDevicesRequest ¶
type ListDevicesResponse ¶
type ListDevicesResponse struct { common.ReturnValues Results []Device `json:"results"` }
type ListInterfacesRequest ¶
type ListInterfacesRequest struct { common.ListParams Type string DeviceId int MacAddress string }
type ListInterfacesResponse ¶
type ListInterfacesResponse struct { common.ReturnValues Results []Interface `json:"results"` }
type ListIpAddressesRequest ¶
type ListIpAddressesResponse ¶
type ListIpAddressesResponse struct { common.ReturnValues Results []IpAddress `json:"results"` }
type ListPlatformsRequest ¶
type ListPlatformsRequest struct {
common.ListParams
}
type ListPlatformsResponse ¶
type ListPlatformsResponse struct { common.ReturnValues Results []Platform `json:"results"` }
type ListPrefixesReponse ¶
type ListPrefixesReponse struct { common.ReturnValues Results []Prefix `json:"results"` }
type ListPrefixesRequest ¶
type ListRacksRequest ¶
type ListRacksRequest struct {
common.ListParams
}
type ListRacksResponse ¶
type ListRacksResponse struct { common.ReturnValues Results []Rack `json:"results"` }
type ListRegionsRequest ¶
type ListRegionsRequest struct { common.ListParams Region string Slug string }
type ListRegionsResponse ¶
type ListRegionsResponse struct { common.ReturnValues Results []Region `json:"results"` }
type ListRolesRequest ¶
type ListRolesRequest struct { common.ListParams Name string Slug string }
type ListRolesResponse ¶
type ListRolesResponse struct { common.ReturnValues Results []Role `json:"results"` }
type ListSiteGroupsRequest ¶
type ListSiteGroupsRequest struct { common.ListParams Region string }
type ListSiteGroupsResponse ¶
type ListSiteGroupsResponse struct { common.ReturnValues Results []SiteGroup `json:"results"` }
type ListSitesRequest ¶
type ListSitesRequest struct { common.ListParams Region string }
type ListSitesResponse ¶
type ListSitesResponse struct { common.ReturnValues Results []Site `json:"results"` }
type ListTagsRequest ¶
type ListTagsRequest struct {
common.ListParams
}
type ListTagsResponse ¶
type ListTagsResponse struct { common.ReturnValues Results []Tag `json:"results"` }
type ListTenantGroupsRequest ¶
type ListTenantGroupsRequest struct {
common.ListParams
}
type ListTenantGroupsResponse ¶
type ListTenantGroupsResponse struct { common.ReturnValues Results []TenantGroup `json:"results"` }
type ListTenantsRequest ¶
type ListTenantsRequest struct {
common.ListParams
}
type ListTenantsResponse ¶
type ListTenantsResponse struct { common.ReturnValues Results []Tenant `json:"results"` }
type ListVMInterfacesRequest ¶
type ListVMInterfacesRequest struct { common.ListParams VmId int }
type ListVMInterfacesResponse ¶
type ListVMInterfacesResponse struct { common.ReturnValues Results []VMInterface `json:"results"` }
type ListVRFsRequest ¶
type ListVRFsRequest struct { common.ListParams Name string }
type ListVRFsResponse ¶
type ListVRFsResponse struct { common.ReturnValues Results []VRF `json:"results"` }
type ListVirtualMachinesRequest ¶
type ListVirtualMachinesRequest struct { common.ListParams ClusterId int `json:"cluster_id"` RoleId int `json:"role_id"` }
type ListVirtualMachinesResponse ¶
type ListVirtualMachinesResponse struct { common.ReturnValues Results []VirtualMachine `json:"results"` }
type ListVlanRequest ¶
type ListVlanRequest struct { common.ListParams Group string `json:"group"` }
type ListVlanResponse ¶
type ListVlanResponse struct { common.ReturnValues Results []Vlan `json:"results"` }
type Location ¶
type Location struct { Depth int `json:"_depth,omitempty"` Created strfmt.DateTime `json:"created,omitempty"` CustomFields interface{} `json:"custom_fields,omitempty"` Description string `json:"description,omitempty"` DeviceCount int `json:"device_count,omitempty"` Display string `json:"display,omitempty"` Id int `json:"id,omitempty"` LastUpdated strfmt.DateTime `json:"last_updated,omitempty"` Name string `json:"name"` Parent NestedLocation `json:"parent,omitempty"` RackCount int `json:"rack_count,omitempty"` Site NestedSite `json:"site"` Slug string `json:"slug"` Status LocationStatus `json:"status,omitempty"` Tags []NestedTag `json:"tags,omitempty"` Tenant NestedTenant `json:"tenant,omitempty"` URL strfmt.URI `json:"url,omitempty"` }
type LocationStatus ¶
type NestedCable ¶
type NestedCluster ¶
type NestedClusterGroup ¶
type NestedClusterType ¶
type NestedDevice ¶
type NestedDeviceRole ¶
type NestedDeviceType ¶
type NestedInterface ¶
type NestedInterface struct { Id int `json:"id"` Url string `json:"url"` Device NestedDevice `json:"device"` Name string `json:"name"` Cable int `json:"cable"` }
type NestedIpAddress ¶
type NestedLocation ¶
type NestedManufacturer ¶
type NestedPlatform ¶
type NestedRack ¶
type NestedRegion ¶
type NestedSite ¶
type NestedSiteGroup ¶
type NestedTenant ¶
type NestedTenantGroup ¶
type NestedVLAN ¶
type NestedVMInterface ¶
type NestedVirtualChassis ¶
type NestedVirtualMachine ¶
type Platform ¶
type Platform struct { NestedPlatform Manufacturer interface{} `json:"manufacturer"` NapalmDriver string `json:"napalm_driver"` NapalmArgs string `json:"napalm_args"` Description string `json:"description"` }
type Prefix ¶
type Prefix struct { Id int `json:"id"` Url string `json:"url"` Family interface{} `json:"family"` Prefix string `json:"prefix"` Site Site `json:"site"` Vrf NestedVRF `json:"vrf"` Tenant Tenant `json:"tenant"` Vlan NestedVLAN `json:"vlan"` Status Status `json:"status"` Role Role `json:"role"` IsPool bool `json:"is_pool"` Description string `json:"description"` Tags []NestedTag `json:"tags"` CustomFields interface{} `json:"custom_fields"` Created string `json:"created"` LastUpdated string `json:"last_updated"` }
type Rack ¶
type Rack struct { Id int `json:"id"` Url string `json:"url"` Name string `json:"name"` FacilityId string `json:"facility_id"` DisplayName string `json:"display_name"` Site Site `json:"site"` Group interface{} `json:"group"` Tenant Tenant `json:"tenant"` Status interface{} `json:"status"` Role RackRole `json:"role"` Serial string `json:"serial"` AssetTag string `json:"asset_tag"` Type interface{} `json:"type"` Width interface{} `json:width` UHeight int `json:"u_height"` DescUnits bool `json:"desc_units"` OuterWidth int `json:"outer_width"` OuterDepth int `json:"outer_depth"` OuterUnit interface{} `json:"outer_unit"` Comments string `json:"comments"` Tags interface{} `json:"tags"` CustomFields interface{} `json:"custom_fields"` Created string `json:"created"` LastUpdated string `json:"last_updated"` DeviceCount int `json:"device_count"` PowerfeedCount int `json:"powerfeed_count"` }
type RackRole ¶
type RackRole struct { Id int `json:"id"` Url string `json:"url"` Display string `json:"display"` Name string `json:"name"` Slug string `json:"slug"` Color string `json:"color"` Description string `json:"description"` CustomFields interface{} `json:"custom_fields"` Created string `json:"created"` LastUpdated string `json:"last_updated"` RackCount int `json:"rack_count"` }
type Region ¶
type Region struct { Depth int `json:"_depth,omitempty"` Created strfmt.DateTime `json:"created,omitempty"` CustomFields interface{} `json:"custom_fields,omitempty"` Description string `json:"description,omitempty"` Display string `json:"display,omitempty"` Id int `json:"id,omitempty"` LastUpdated strfmt.DateTime `json:"last_updated,omitempty"` Name string `json:"name"` Parent NestedRegion `json:"parent,omitempty"` SiteCount int `json:"site_count,omitempty"` Slug string `json:"slug"` Tags []NestedTag `json:"tags,omitempty"` Url strfmt.URI `json:"url,omitempty"` }
type Site ¶
type Site struct { Asns []NestedASN `json:"asns"` CircuitCount int `json:"circuit_count"` Comments string `json:"comments"` Created strfmt.DateTime `json:"created"` CustomFields interface{} `json:"custom_fields"` Description string `json:"description"` DeviceCount int `json:"device_count"` Facility string `json:"facility"` Group NestedSiteGroup `json:"group"` Id int `json:"id"` LastUpdated strfmt.DateTime `json:"last_updated"` Latitude float64 `json:"latitude"` Longitude float64 `json:"longitude"` Name string `json:"name"` PhysicalAddress string `json:"physical_address"` PrefixCount int `json:"prefix_count"` RackCount int `json:"rack_count"` Region NestedRegion `json:"region"` ShippingAddress string `json:"shipping_address"` Slug string `json:"slug"` Status SiteStatus `json:"status"` Tags []NestedTag `json:"tags"` Tenant Tenant `json:"tenant"` TimeZone string `json:"time_zone"` Url strfmt.URI `json:"url"` VirtualMachineCount int `json:"virtualmachine_count"` VlanCount int `json:"vlan_count"` }
type SiteGroup ¶
type SiteGroup struct { Created strfmt.DateTime `json:"created"` CustomFields interface{} `json:"custom_fields"` Depth int `json:"_depth"` Description string `json:"description"` Display string `json:"display,omitempty"` Id int `json:"id"` LastUpdated strfmt.DateTime `json:"last_updated"` Name string `json:"name"` Parent NestedSiteGroup `json:"parent,omitempty"` SiteCount int `json:"site_count"` Slug string `json:"slug"` Tags []NestedTag `json:"tags"` Url strfmt.URI `json:"url"` }
type SiteStatus ¶
type Tenant ¶
type Tenant struct { NestedTenant Group NestedTenantGroup `json:"group"` Description string `json:"description"` Comments string `json:"comments"` Tags interface{} `json:"tags"` CustomFields interface{} `json:"custom_fields"` Created string `json:"created"` LastUpdated string `json:"last_updated"` CircuitCount int `json:"circuit_count"` DeviceCount int `json:"device_count"` IpAddressCount int `json:"ipaddress_count"` PrefixCount int `json:"prefix_count"` RackCount int `json:"rack_count"` SiteCount int `json:"site_count"` VirtualMachineCount int `json:"virtualmachine_count"` VlanCount int `json:"vlan_count"` VrfCount int `json:"vrf_count"` ClusterCount int `json:"cluster_count"` }
type TenantGroup ¶
type TenantGroup struct { NestedTenantGroup Description string `json:"description"` Comments string `json:"comments"` CustomFields interface{} `json:"custom_fields"` Created string `json:"created"` LastUpdated string `json:"last_updated"` Name string `json:"name"` Parent *NestedTenantGroup `json:"parent,omitempty"` Slug string `json:"slug"` Tags []*NestedTag `json:"tags"` TenantCount int `json:"tenant_count,omitempty"` Url string `json:"url,omitempty"` }
type Termination ¶
type Termination struct { Interface NestedInterface `json:"object,omitempty"` ObjectId int `json:"object_id"` ObjectType string `json:"object_type"` }
type VMInterface ¶
type VMInterface struct { Enabled *bool `json:"enabled,omitempty"` Url string `json:"url"` Id int `json:"id"` Name string `json:"name"` MTU *int `json:"mtu,omitempty"` MacAddress *string `json:"mac_address,omitempty"` Description *string `json:"description,omitempty"` Mode *string `json:"mode,omitempty"` Tags []NestedTag `json:"tags,omitempty"` VirtualMachine NestedVirtualMachine `json:"virtual_machine"` UntaggedVlan *NestedVLAN `json:"untagged_vlan,omitempty"` TaggedVlans []NestedVLAN `json:"tagged_vlans,omitempty"` }
func (*VMInterface) UnmarshalJSON ¶
func (vmIf *VMInterface) UnmarshalJSON(b []byte) error
func (*VMInterface) Writeable ¶
func (vmi *VMInterface) Writeable() WritableVMInterface
type VRF ¶
type VRF struct { NestedVRF Tenant NestedTenant `json:"tenant"` EnforceUnique bool `json:"enforce_unique"` Description string `json:"description"` Tags []NestedTag `json:"tags"` CustomFields interface{} `json:"custom_fields"` Created string `json:"created"` LastUpdated string `json:"last_updated"` IpAddressCount int `json:"ipaddress_count"` PrefixCount int `json:"prefix_count"` }
type VirtualChassis ¶
type VirtualChassis struct { Comments string `json:"comments,omitempty"` Created strfmt.DateTime `json:"created,omitempty"` CustomFields interface{} `json:"custom_fields,omitempty"` Description string `json:"description,omitempty"` Display string `json:"display,omitempty"` Domain string `json:"domain,omitempty"` Id int `json:"id,omitempty"` LastUpdated strfmt.DateTime `json:"last_updated,omitempty"` Master NestedDevice `json:"master,omitempty"` MemberCount int `json:"member_count,omitempty"` Name string `json:"name"` Tags []NestedTag `json:"tags,omitempty"` URL strfmt.URI `json:"url,omitempty"` }
type VirtualMachine ¶
type VirtualMachine struct { NestedVirtualMachine Status VirtualMachineStatus `json:"status"` Role NestedDeviceRole `json:"role"` Tenant NestedTenant `json:"tenant"` Platform NestedPlatform `json:"platform"` PrimaryIp NestedIpAddress `json:"primary_ip"` PrimaryIp4 NestedIpAddress `json:"primary_ip4"` PrimaryIp6 interface{} `json:"primary_ip6"` VCPUs float64 `json:"vcpus"` Memory int `json:"memory"` Disk int `json:"disk"` Comments string `json:"comments"` LocalContextData string `json:"local_context_data"` Tags interface{} `json:"tags"` CustomFields interface{} `json:"custom_fields"` ConfigContext interface{} `json:"config_context"` Created string `json:"created"` LastUpdated string `json:"last_updated"` Cluster NestedCluster Site Site Device Device }
func (*VirtualMachine) UnmarshalJSON ¶
func (vm *VirtualMachine) UnmarshalJSON(b []byte) error
func (*VirtualMachine) Writeable ¶
func (vm *VirtualMachine) Writeable() WriteableVirtualMachine
type VirtualMachineStatus ¶
type Vlan ¶
type Vlan struct { NestedVLAN Group interface{} `json:"group"` Description string `json:"description"` Tags interface{} `json:"tags"` CustomFields interface{} `json:"custom_fields"` Created string `json:"created"` LastUpdated string `json:"last_updated"` PrefixCount int `json:"prefix_count"` Role Role `json:"role"` Site Site `json:"site"` Status interface{} `json:"status"` Tenant Tenant `json:"tenant"` }
type WritableDeviceWithConfigContext ¶
type WritableDeviceWithConfigContext struct { Airflow string `json:"airflow,omitempty"` AssetTag string `json:"asset_tag,omitempty"` Cluster int `json:"cluster,omitempty"` Comments string `json:"comments,omitempty"` ConfigContext interface{} `json:"config_context,omitempty"` Created strfmt.DateTime `json:"created,omitempty"` CustomFields interface{} `json:"custom_fields,omitempty"` Description string `json:"description,omitempty"` DeviceRole int `json:"device_role"` DeviceType int `json:"device_type"` Display string `json:"display,omitempty"` Face string `json:"face,omitempty"` Id int `json:"id,omitempty"` LastUpdated strfmt.DateTime `json:"last_updated,omitempty"` LocalContextData interface{} `json:"local_context_data,omitempty"` Location int `json:"location,omitempty"` Name string `json:"name,omitempty"` ParentDevice *NestedDevice `json:"parent_device,omitempty"` Platform int `json:"platform,omitempty"` Position float64 `json:"position,omitempty"` PrimaryIP string `json:"primary_ip,omitempty"` PrimaryIp4 int `json:"primary_ip4,omitempty"` PrimaryIp6 int `json:"primary_ip6,omitempty"` Rack int `json:"rack,omitempty"` Serial string `json:"serial,omitempty"` Site int `json:"site"` Status string `json:"status,omitempty"` Tags []NestedTag `json:"tags,omitempty"` Tenant int `json:"tenant,omitempty"` Url strfmt.URI `json:"url,omitempty"` VcPosition int `json:"vc_position,omitempty"` VcPriority int `json:"vc_priority,omitempty"` VirtualChassis int `json:"virtual_chassis,omitempty"` }
type WritableInterface ¶
type WritableInterface struct { Cable NestedCable `json:"cable,omitempty"` CustomFields interface{} `json:"custom_fields,omitempty"` Description string `json:"description,omitempty"` Device int `json:"device"` Enabled bool `json:"enabled,omitempty"` Label string `json:"label,omitempty"` Lag int `json:"lag,omitempty"` MacAddress string `json:"mac_address,omitempty"` MarkConnected bool `json:"mark_connected,omitempty"` MgmtOnly bool `json:"mgmt_only,omitempty"` Mode string `json:"mode,omitempty"` Mtu int `json:"mtu,omitempty"` Name string `json:"name"` Parent int `json:"parent,omitempty"` TaggedVlans []int `json:"tagged_vlans,omitempty"` Tags []NestedTag `json:"tags,omitempty"` Type string `json:"type"` UntaggedVlan int `json:"untagged_vlan,omitempty"` }
type WritableVMInterface ¶
type WritableVMInterface struct { Id int `json:"id,omitempty"` Url string `json:"url,omitempty"` VirtualMachine int `json:"virtual_machine,omitempty"` Name string `json:"name"` Enabled bool `json:"enabled,omitempty"` MTU int `json:"mtu,omitempty"` MacAddress *string `json:"mac_address,omitempty"` Description string `json:"description,omitempty"` Mode string `json:"mode,omitempty"` UntaggedVlan *int `json:"untagged_vlan,omitempty"` TaggedVlans []int `json:"tagged_vlans,omitempty"` Tags []NestedTag `json:"tags,omitempty"` }
type WriteableCable ¶
type WriteableCable struct { Aterminations []Termination `json:"a_terminations,omitempty"` Bterminations []Termination `json:"b_terminations,omitempty"` Color string `json:"color,omitempty"` Comments string `json:"comments,omitempty"` Created strfmt.DateTime `json:"created,omitempty"` CustomFields interface{} `json:"custom_fields,omitempty"` Description string `json:"description,omitempty"` Display string `json:"display,omitempty"` Id int64 `json:"id,omitempty"` Label string `json:"label,omitempty"` LastUpdated strfmt.DateTime `json:"last_updated,omitempty"` Length float64 `json:"length,omitempty"` LengthUnit string `json:"length_unit,omitempty"` Status string `json:"status,omitempty"` Tags []NestedTag `json:"tags,omitempty"` Tenant int64 `json:"tenant,omitempty"` Type string `json:"type,omitempty"` Url strfmt.URI `json:"url,omitempty"` }
type WriteableIpAddress ¶
type WriteableIpAddress struct { NestedIpAddress Vrf int `json:"vrf,omitempty"` Tenant int `json:"tenant,omitempty"` Status string `json:"status,omitempty"` Role string `json:"role,omitempty"` AssignedObjectType string `json:"assigned_object_type,omitempty"` AssignedObjectId int `json:"assigned_object_id,omitempty"` NatInside int `json:"nat_inside,omitempty"` NatOutside int `json:"nat_outside,omitempty"` DnsName string `json:"dns_name,omitempty"` Description string `json:"description,omitempty"` Tags []NestedTag `json:"tags,omitempty"` CustomFields interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated string `json:"last_updated,omitempty"` }
type WriteablePrefix ¶
type WriteablePrefix struct { Id int `json:"id,omitempty"` Url string `json:"url"` Prefix string `json:"prefix"` Site int `json:"site,omitempty"` Vrf int `json:"vrf,omitempty"` Tenant int `json:"tenant,omitempty"` Vlan int `json:"vlan,omitempty"` Status string `json:"status,omitempty"` Role int `json:"role,omitempty"` IsPool bool `json:"is_pool"` Description string `json:"description"` Tags []NestedTag `json:"tags,omitempty"` CustomFields interface{} `json:"custom_fields,omitempty"` Created string `json:"created"` LastUpdated string `json:"last_updated"` }
type WriteableVirtualMachine ¶
type WriteableVirtualMachine struct { Id int `json:"id,omitempty"` Url string `json:"url,omitempty"` Name string `json:"name"` Status string `json:"status,omitempty"` Site int `json:"site,omitempty"` Cluster int `json:"cluster"` Device int `json:"device,omitempty"` Role int `json:"role,omitempty"` Tenant int `json:"tenant,omitempty"` Platform int `json:"platform,omitempty"` PrimaryIp string `json:"primary_ip,omitempty"` PrimaryIp4 int `json:"primary_ip4,omitempty"` Comments string `json:"comments,omitempty"` VCPUs float64 `json:"vcpus,omitempty"` Memory int `json:"memory,omitempty"` Disk int `json:"disk,omitempty"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.