Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type Action
- type Aggregate
- type AvailableIp
- type AvailablePrefix
- type BasicAuth
- type Cable
- type Circuit
- type CircuitCircuitTermination
- type CircuitTermination
- type CircuitType
- type CircuitsApiCircuitsCircuitTerminationsListOpts
- type CircuitsApiCircuitsCircuitTypesListOpts
- type CircuitsApiCircuitsCircuitsListOpts
- type CircuitsApiCircuitsProvidersListOpts
- type CircuitsApiService
- func (a *CircuitsApiService) CircuitsCircuitTerminationsCreate(ctx context.Context, data WritableCircuitTermination) (CircuitTermination, *http.Response, error)
- func (a *CircuitsApiService) CircuitsCircuitTerminationsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *CircuitsApiService) CircuitsCircuitTerminationsList(ctx context.Context, ...) (InlineResponse200, *http.Response, error)
- func (a *CircuitsApiService) CircuitsCircuitTerminationsPartialUpdate(ctx context.Context, id int32, data WritableCircuitTermination) (CircuitTermination, *http.Response, error)
- func (a *CircuitsApiService) CircuitsCircuitTerminationsRead(ctx context.Context, id int32) (CircuitTermination, *http.Response, error)
- func (a *CircuitsApiService) CircuitsCircuitTerminationsUpdate(ctx context.Context, id int32, data WritableCircuitTermination) (CircuitTermination, *http.Response, error)
- func (a *CircuitsApiService) CircuitsCircuitTypesCreate(ctx context.Context, data CircuitType) (CircuitType, *http.Response, error)
- func (a *CircuitsApiService) CircuitsCircuitTypesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *CircuitsApiService) CircuitsCircuitTypesList(ctx context.Context, ...) (InlineResponse2001, *http.Response, error)
- func (a *CircuitsApiService) CircuitsCircuitTypesPartialUpdate(ctx context.Context, id int32, data CircuitType) (CircuitType, *http.Response, error)
- func (a *CircuitsApiService) CircuitsCircuitTypesRead(ctx context.Context, id int32) (CircuitType, *http.Response, error)
- func (a *CircuitsApiService) CircuitsCircuitTypesUpdate(ctx context.Context, id int32, data CircuitType) (CircuitType, *http.Response, error)
- func (a *CircuitsApiService) CircuitsCircuitsCreate(ctx context.Context, data WritableCircuit) (Circuit, *http.Response, error)
- func (a *CircuitsApiService) CircuitsCircuitsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *CircuitsApiService) CircuitsCircuitsList(ctx context.Context, localVarOptionals *CircuitsApiCircuitsCircuitsListOpts) (InlineResponse2002, *http.Response, error)
- func (a *CircuitsApiService) CircuitsCircuitsPartialUpdate(ctx context.Context, id int32, data WritableCircuit) (Circuit, *http.Response, error)
- func (a *CircuitsApiService) CircuitsCircuitsRead(ctx context.Context, id int32) (Circuit, *http.Response, error)
- func (a *CircuitsApiService) CircuitsCircuitsUpdate(ctx context.Context, id int32, data WritableCircuit) (Circuit, *http.Response, error)
- func (a *CircuitsApiService) CircuitsProvidersCreate(ctx context.Context, data Provider) (Provider, *http.Response, error)
- func (a *CircuitsApiService) CircuitsProvidersDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *CircuitsApiService) CircuitsProvidersGraphs(ctx context.Context, id int32) (Provider, *http.Response, error)
- func (a *CircuitsApiService) CircuitsProvidersList(ctx context.Context, localVarOptionals *CircuitsApiCircuitsProvidersListOpts) (InlineResponse2003, *http.Response, error)
- func (a *CircuitsApiService) CircuitsProvidersPartialUpdate(ctx context.Context, id int32, data Provider) (Provider, *http.Response, error)
- func (a *CircuitsApiService) CircuitsProvidersRead(ctx context.Context, id int32) (Provider, *http.Response, error)
- func (a *CircuitsApiService) CircuitsProvidersUpdate(ctx context.Context, id int32, data Provider) (Provider, *http.Response, error)
- type Cluster
- type ClusterGroup
- type ClusterType
- type ConfigContext
- type Configuration
- type ConnectionStatus
- type ConsolePort
- type ConsolePortTemplate
- type ConsoleServerPort
- type ConsoleServerPortTemplate
- type DcimApiDcimCablesListOpts
- type DcimApiDcimConsoleConnectionsListOpts
- type DcimApiDcimConsolePortTemplatesListOpts
- type DcimApiDcimConsolePortsListOpts
- type DcimApiDcimConsoleServerPortTemplatesListOpts
- type DcimApiDcimConsoleServerPortsListOpts
- type DcimApiDcimDeviceBayTemplatesListOpts
- type DcimApiDcimDeviceBaysListOpts
- type DcimApiDcimDeviceRolesListOpts
- type DcimApiDcimDeviceTypesListOpts
- type DcimApiDcimDevicesListOpts
- type DcimApiDcimFrontPortTemplatesListOpts
- type DcimApiDcimFrontPortsListOpts
- type DcimApiDcimInterfaceConnectionsListOpts
- type DcimApiDcimInterfaceTemplatesListOpts
- type DcimApiDcimInterfacesListOpts
- type DcimApiDcimInventoryItemsListOpts
- type DcimApiDcimManufacturersListOpts
- type DcimApiDcimPlatformsListOpts
- type DcimApiDcimPowerConnectionsListOpts
- type DcimApiDcimPowerFeedsListOpts
- type DcimApiDcimPowerOutletTemplatesListOpts
- type DcimApiDcimPowerOutletsListOpts
- type DcimApiDcimPowerPanelsListOpts
- type DcimApiDcimPowerPortTemplatesListOpts
- type DcimApiDcimPowerPortsListOpts
- type DcimApiDcimRackGroupsListOpts
- type DcimApiDcimRackReservationsListOpts
- type DcimApiDcimRackRolesListOpts
- type DcimApiDcimRacksElevationOpts
- type DcimApiDcimRacksListOpts
- type DcimApiDcimRearPortTemplatesListOpts
- type DcimApiDcimRearPortsListOpts
- type DcimApiDcimRegionsListOpts
- type DcimApiDcimSitesListOpts
- type DcimApiDcimVirtualChassisListOpts
- type DcimApiService
- func (a *DcimApiService) DcimCablesCreate(ctx context.Context, data WritableCable) (Cable, *http.Response, error)
- func (a *DcimApiService) DcimCablesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimCablesList(ctx context.Context, localVarOptionals *DcimApiDcimCablesListOpts) (InlineResponse2004, *http.Response, error)
- func (a *DcimApiService) DcimCablesPartialUpdate(ctx context.Context, id int32, data WritableCable) (Cable, *http.Response, error)
- func (a *DcimApiService) DcimCablesRead(ctx context.Context, id int32) (Cable, *http.Response, error)
- func (a *DcimApiService) DcimCablesUpdate(ctx context.Context, id int32, data WritableCable) (Cable, *http.Response, error)
- func (a *DcimApiService) DcimConnectedDeviceList(ctx context.Context, peerDevice string, peerInterface string) (Device, *http.Response, error)
- func (a *DcimApiService) DcimConsoleConnectionsList(ctx context.Context, localVarOptionals *DcimApiDcimConsoleConnectionsListOpts) (InlineResponse2005, *http.Response, error)
- func (a *DcimApiService) DcimConsolePortTemplatesCreate(ctx context.Context, data WritableConsolePortTemplate) (ConsolePortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimConsolePortTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimConsolePortTemplatesList(ctx context.Context, ...) (InlineResponse2006, *http.Response, error)
- func (a *DcimApiService) DcimConsolePortTemplatesPartialUpdate(ctx context.Context, id int32, data WritableConsolePortTemplate) (ConsolePortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimConsolePortTemplatesRead(ctx context.Context, id int32) (ConsolePortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimConsolePortTemplatesUpdate(ctx context.Context, id int32, data WritableConsolePortTemplate) (ConsolePortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimConsolePortsCreate(ctx context.Context, data WritableConsolePort) (ConsolePort, *http.Response, error)
- func (a *DcimApiService) DcimConsolePortsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimConsolePortsList(ctx context.Context, localVarOptionals *DcimApiDcimConsolePortsListOpts) (InlineResponse2005, *http.Response, error)
- func (a *DcimApiService) DcimConsolePortsPartialUpdate(ctx context.Context, id int32, data WritableConsolePort) (ConsolePort, *http.Response, error)
- func (a *DcimApiService) DcimConsolePortsRead(ctx context.Context, id int32) (ConsolePort, *http.Response, error)
- func (a *DcimApiService) DcimConsolePortsTrace(ctx context.Context, id int32) (ConsolePort, *http.Response, error)
- func (a *DcimApiService) DcimConsolePortsUpdate(ctx context.Context, id int32, data WritableConsolePort) (ConsolePort, *http.Response, error)
- func (a *DcimApiService) DcimConsoleServerPortTemplatesCreate(ctx context.Context, data WritableConsoleServerPortTemplate) (ConsoleServerPortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimConsoleServerPortTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimConsoleServerPortTemplatesList(ctx context.Context, ...) (InlineResponse2007, *http.Response, error)
- func (a *DcimApiService) DcimConsoleServerPortTemplatesPartialUpdate(ctx context.Context, id int32, data WritableConsoleServerPortTemplate) (ConsoleServerPortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimConsoleServerPortTemplatesRead(ctx context.Context, id int32) (ConsoleServerPortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimConsoleServerPortTemplatesUpdate(ctx context.Context, id int32, data WritableConsoleServerPortTemplate) (ConsoleServerPortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimConsoleServerPortsCreate(ctx context.Context, data WritableConsoleServerPort) (ConsoleServerPort, *http.Response, error)
- func (a *DcimApiService) DcimConsoleServerPortsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimConsoleServerPortsList(ctx context.Context, localVarOptionals *DcimApiDcimConsoleServerPortsListOpts) (InlineResponse2008, *http.Response, error)
- func (a *DcimApiService) DcimConsoleServerPortsPartialUpdate(ctx context.Context, id int32, data WritableConsoleServerPort) (ConsoleServerPort, *http.Response, error)
- func (a *DcimApiService) DcimConsoleServerPortsRead(ctx context.Context, id int32) (ConsoleServerPort, *http.Response, error)
- func (a *DcimApiService) DcimConsoleServerPortsTrace(ctx context.Context, id int32) (ConsoleServerPort, *http.Response, error)
- func (a *DcimApiService) DcimConsoleServerPortsUpdate(ctx context.Context, id int32, data WritableConsoleServerPort) (ConsoleServerPort, *http.Response, error)
- func (a *DcimApiService) DcimDeviceBayTemplatesCreate(ctx context.Context, data WritableDeviceBayTemplate) (DeviceBayTemplate, *http.Response, error)
- func (a *DcimApiService) DcimDeviceBayTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimDeviceBayTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimDeviceBayTemplatesListOpts) (InlineResponse2009, *http.Response, error)
- func (a *DcimApiService) DcimDeviceBayTemplatesPartialUpdate(ctx context.Context, id int32, data WritableDeviceBayTemplate) (DeviceBayTemplate, *http.Response, error)
- func (a *DcimApiService) DcimDeviceBayTemplatesRead(ctx context.Context, id int32) (DeviceBayTemplate, *http.Response, error)
- func (a *DcimApiService) DcimDeviceBayTemplatesUpdate(ctx context.Context, id int32, data WritableDeviceBayTemplate) (DeviceBayTemplate, *http.Response, error)
- func (a *DcimApiService) DcimDeviceBaysCreate(ctx context.Context, data WritableDeviceBay) (DeviceBay, *http.Response, error)
- func (a *DcimApiService) DcimDeviceBaysDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimDeviceBaysList(ctx context.Context, localVarOptionals *DcimApiDcimDeviceBaysListOpts) (InlineResponse20010, *http.Response, error)
- func (a *DcimApiService) DcimDeviceBaysPartialUpdate(ctx context.Context, id int32, data WritableDeviceBay) (DeviceBay, *http.Response, error)
- func (a *DcimApiService) DcimDeviceBaysRead(ctx context.Context, id int32) (DeviceBay, *http.Response, error)
- func (a *DcimApiService) DcimDeviceBaysUpdate(ctx context.Context, id int32, data WritableDeviceBay) (DeviceBay, *http.Response, error)
- func (a *DcimApiService) DcimDeviceRolesCreate(ctx context.Context, data DeviceRole) (DeviceRole, *http.Response, error)
- func (a *DcimApiService) DcimDeviceRolesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimDeviceRolesList(ctx context.Context, localVarOptionals *DcimApiDcimDeviceRolesListOpts) (InlineResponse20011, *http.Response, error)
- func (a *DcimApiService) DcimDeviceRolesPartialUpdate(ctx context.Context, id int32, data DeviceRole) (DeviceRole, *http.Response, error)
- func (a *DcimApiService) DcimDeviceRolesRead(ctx context.Context, id int32) (DeviceRole, *http.Response, error)
- func (a *DcimApiService) DcimDeviceRolesUpdate(ctx context.Context, id int32, data DeviceRole) (DeviceRole, *http.Response, error)
- func (a *DcimApiService) DcimDeviceTypesCreate(ctx context.Context, data WritableDeviceType) (DeviceType, *http.Response, error)
- func (a *DcimApiService) DcimDeviceTypesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimDeviceTypesList(ctx context.Context, localVarOptionals *DcimApiDcimDeviceTypesListOpts) (InlineResponse20012, *http.Response, error)
- func (a *DcimApiService) DcimDeviceTypesPartialUpdate(ctx context.Context, id int32, data WritableDeviceType) (DeviceType, *http.Response, error)
- func (a *DcimApiService) DcimDeviceTypesRead(ctx context.Context, id int32) (DeviceType, *http.Response, error)
- func (a *DcimApiService) DcimDeviceTypesUpdate(ctx context.Context, id int32, data WritableDeviceType) (DeviceType, *http.Response, error)
- func (a *DcimApiService) DcimDevicesCreate(ctx context.Context, data WritableDeviceWithConfigContext) (DeviceWithConfigContext, *http.Response, error)
- func (a *DcimApiService) DcimDevicesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimDevicesGraphs(ctx context.Context, id int32) (DeviceWithConfigContext, *http.Response, error)
- func (a *DcimApiService) DcimDevicesList(ctx context.Context, localVarOptionals *DcimApiDcimDevicesListOpts) (InlineResponse20013, *http.Response, error)
- func (a *DcimApiService) DcimDevicesNapalm(ctx context.Context, id int32, method string) (DeviceNapalm, *http.Response, error)
- func (a *DcimApiService) DcimDevicesPartialUpdate(ctx context.Context, id int32, data WritableDeviceWithConfigContext) (DeviceWithConfigContext, *http.Response, error)
- func (a *DcimApiService) DcimDevicesRead(ctx context.Context, id int32) (DeviceWithConfigContext, *http.Response, error)
- func (a *DcimApiService) DcimDevicesUpdate(ctx context.Context, id int32, data WritableDeviceWithConfigContext) (DeviceWithConfigContext, *http.Response, error)
- func (a *DcimApiService) DcimFrontPortTemplatesCreate(ctx context.Context, data WritableFrontPortTemplate) (FrontPortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimFrontPortTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimFrontPortTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimFrontPortTemplatesListOpts) (InlineResponse20014, *http.Response, error)
- func (a *DcimApiService) DcimFrontPortTemplatesPartialUpdate(ctx context.Context, id int32, data WritableFrontPortTemplate) (FrontPortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimFrontPortTemplatesRead(ctx context.Context, id int32) (FrontPortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimFrontPortTemplatesUpdate(ctx context.Context, id int32, data WritableFrontPortTemplate) (FrontPortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimFrontPortsCreate(ctx context.Context, data WritableFrontPort) (FrontPort, *http.Response, error)
- func (a *DcimApiService) DcimFrontPortsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimFrontPortsList(ctx context.Context, localVarOptionals *DcimApiDcimFrontPortsListOpts) (InlineResponse20015, *http.Response, error)
- func (a *DcimApiService) DcimFrontPortsPartialUpdate(ctx context.Context, id int32, data WritableFrontPort) (FrontPort, *http.Response, error)
- func (a *DcimApiService) DcimFrontPortsRead(ctx context.Context, id int32) (FrontPort, *http.Response, error)
- func (a *DcimApiService) DcimFrontPortsUpdate(ctx context.Context, id int32, data WritableFrontPort) (FrontPort, *http.Response, error)
- func (a *DcimApiService) DcimInterfaceConnectionsList(ctx context.Context, ...) (InlineResponse20016, *http.Response, error)
- func (a *DcimApiService) DcimInterfaceTemplatesCreate(ctx context.Context, data WritableInterfaceTemplate) (InterfaceTemplate, *http.Response, error)
- func (a *DcimApiService) DcimInterfaceTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimInterfaceTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimInterfaceTemplatesListOpts) (InlineResponse20017, *http.Response, error)
- func (a *DcimApiService) DcimInterfaceTemplatesPartialUpdate(ctx context.Context, id int32, data WritableInterfaceTemplate) (InterfaceTemplate, *http.Response, error)
- func (a *DcimApiService) DcimInterfaceTemplatesRead(ctx context.Context, id int32) (InterfaceTemplate, *http.Response, error)
- func (a *DcimApiService) DcimInterfaceTemplatesUpdate(ctx context.Context, id int32, data WritableInterfaceTemplate) (InterfaceTemplate, *http.Response, error)
- func (a *DcimApiService) DcimInterfacesCreate(ctx context.Context, data WritableDeviceInterface) (DeviceInterface, *http.Response, error)
- func (a *DcimApiService) DcimInterfacesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimInterfacesGraphs(ctx context.Context, id int32) (DeviceInterface, *http.Response, error)
- func (a *DcimApiService) DcimInterfacesList(ctx context.Context, localVarOptionals *DcimApiDcimInterfacesListOpts) (InlineResponse20018, *http.Response, error)
- func (a *DcimApiService) DcimInterfacesPartialUpdate(ctx context.Context, id int32, data WritableDeviceInterface) (DeviceInterface, *http.Response, error)
- func (a *DcimApiService) DcimInterfacesRead(ctx context.Context, id int32) (DeviceInterface, *http.Response, error)
- func (a *DcimApiService) DcimInterfacesTrace(ctx context.Context, id int32) (DeviceInterface, *http.Response, error)
- func (a *DcimApiService) DcimInterfacesUpdate(ctx context.Context, id int32, data WritableDeviceInterface) (DeviceInterface, *http.Response, error)
- func (a *DcimApiService) DcimInventoryItemsCreate(ctx context.Context, data WritableInventoryItem) (InventoryItem, *http.Response, error)
- func (a *DcimApiService) DcimInventoryItemsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimInventoryItemsList(ctx context.Context, localVarOptionals *DcimApiDcimInventoryItemsListOpts) (InlineResponse20019, *http.Response, error)
- func (a *DcimApiService) DcimInventoryItemsPartialUpdate(ctx context.Context, id int32, data WritableInventoryItem) (InventoryItem, *http.Response, error)
- func (a *DcimApiService) DcimInventoryItemsRead(ctx context.Context, id int32) (InventoryItem, *http.Response, error)
- func (a *DcimApiService) DcimInventoryItemsUpdate(ctx context.Context, id int32, data WritableInventoryItem) (InventoryItem, *http.Response, error)
- func (a *DcimApiService) DcimManufacturersCreate(ctx context.Context, data Manufacturer) (Manufacturer, *http.Response, error)
- func (a *DcimApiService) DcimManufacturersDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimManufacturersList(ctx context.Context, localVarOptionals *DcimApiDcimManufacturersListOpts) (InlineResponse20020, *http.Response, error)
- func (a *DcimApiService) DcimManufacturersPartialUpdate(ctx context.Context, id int32, data Manufacturer) (Manufacturer, *http.Response, error)
- func (a *DcimApiService) DcimManufacturersRead(ctx context.Context, id int32) (Manufacturer, *http.Response, error)
- func (a *DcimApiService) DcimManufacturersUpdate(ctx context.Context, id int32, data Manufacturer) (Manufacturer, *http.Response, error)
- func (a *DcimApiService) DcimPlatformsCreate(ctx context.Context, data WritablePlatform) (Platform, *http.Response, error)
- func (a *DcimApiService) DcimPlatformsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimPlatformsList(ctx context.Context, localVarOptionals *DcimApiDcimPlatformsListOpts) (InlineResponse20021, *http.Response, error)
- func (a *DcimApiService) DcimPlatformsPartialUpdate(ctx context.Context, id int32, data WritablePlatform) (Platform, *http.Response, error)
- func (a *DcimApiService) DcimPlatformsRead(ctx context.Context, id int32) (Platform, *http.Response, error)
- func (a *DcimApiService) DcimPlatformsUpdate(ctx context.Context, id int32, data WritablePlatform) (Platform, *http.Response, error)
- func (a *DcimApiService) DcimPowerConnectionsList(ctx context.Context, localVarOptionals *DcimApiDcimPowerConnectionsListOpts) (InlineResponse20022, *http.Response, error)
- func (a *DcimApiService) DcimPowerFeedsCreate(ctx context.Context, data WritablePowerFeed) (PowerFeed, *http.Response, error)
- func (a *DcimApiService) DcimPowerFeedsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimPowerFeedsList(ctx context.Context, localVarOptionals *DcimApiDcimPowerFeedsListOpts) (InlineResponse20023, *http.Response, error)
- func (a *DcimApiService) DcimPowerFeedsPartialUpdate(ctx context.Context, id int32, data WritablePowerFeed) (PowerFeed, *http.Response, error)
- func (a *DcimApiService) DcimPowerFeedsRead(ctx context.Context, id int32) (PowerFeed, *http.Response, error)
- func (a *DcimApiService) DcimPowerFeedsUpdate(ctx context.Context, id int32, data WritablePowerFeed) (PowerFeed, *http.Response, error)
- func (a *DcimApiService) DcimPowerOutletTemplatesCreate(ctx context.Context, data WritablePowerOutletTemplate) (PowerOutletTemplate, *http.Response, error)
- func (a *DcimApiService) DcimPowerOutletTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimPowerOutletTemplatesList(ctx context.Context, ...) (InlineResponse20024, *http.Response, error)
- func (a *DcimApiService) DcimPowerOutletTemplatesPartialUpdate(ctx context.Context, id int32, data WritablePowerOutletTemplate) (PowerOutletTemplate, *http.Response, error)
- func (a *DcimApiService) DcimPowerOutletTemplatesRead(ctx context.Context, id int32) (PowerOutletTemplate, *http.Response, error)
- func (a *DcimApiService) DcimPowerOutletTemplatesUpdate(ctx context.Context, id int32, data WritablePowerOutletTemplate) (PowerOutletTemplate, *http.Response, error)
- func (a *DcimApiService) DcimPowerOutletsCreate(ctx context.Context, data WritablePowerOutlet) (PowerOutlet, *http.Response, error)
- func (a *DcimApiService) DcimPowerOutletsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimPowerOutletsList(ctx context.Context, localVarOptionals *DcimApiDcimPowerOutletsListOpts) (InlineResponse20025, *http.Response, error)
- func (a *DcimApiService) DcimPowerOutletsPartialUpdate(ctx context.Context, id int32, data WritablePowerOutlet) (PowerOutlet, *http.Response, error)
- func (a *DcimApiService) DcimPowerOutletsRead(ctx context.Context, id int32) (PowerOutlet, *http.Response, error)
- func (a *DcimApiService) DcimPowerOutletsTrace(ctx context.Context, id int32) (PowerOutlet, *http.Response, error)
- func (a *DcimApiService) DcimPowerOutletsUpdate(ctx context.Context, id int32, data WritablePowerOutlet) (PowerOutlet, *http.Response, error)
- func (a *DcimApiService) DcimPowerPanelsCreate(ctx context.Context, data WritablePowerPanel) (PowerPanel, *http.Response, error)
- func (a *DcimApiService) DcimPowerPanelsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimPowerPanelsList(ctx context.Context, localVarOptionals *DcimApiDcimPowerPanelsListOpts) (InlineResponse20026, *http.Response, error)
- func (a *DcimApiService) DcimPowerPanelsPartialUpdate(ctx context.Context, id int32, data WritablePowerPanel) (PowerPanel, *http.Response, error)
- func (a *DcimApiService) DcimPowerPanelsRead(ctx context.Context, id int32) (PowerPanel, *http.Response, error)
- func (a *DcimApiService) DcimPowerPanelsUpdate(ctx context.Context, id int32, data WritablePowerPanel) (PowerPanel, *http.Response, error)
- func (a *DcimApiService) DcimPowerPortTemplatesCreate(ctx context.Context, data WritablePowerPortTemplate) (PowerPortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimPowerPortTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimPowerPortTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimPowerPortTemplatesListOpts) (InlineResponse20027, *http.Response, error)
- func (a *DcimApiService) DcimPowerPortTemplatesPartialUpdate(ctx context.Context, id int32, data WritablePowerPortTemplate) (PowerPortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimPowerPortTemplatesRead(ctx context.Context, id int32) (PowerPortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimPowerPortTemplatesUpdate(ctx context.Context, id int32, data WritablePowerPortTemplate) (PowerPortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimPowerPortsCreate(ctx context.Context, data WritablePowerPort) (PowerPort, *http.Response, error)
- func (a *DcimApiService) DcimPowerPortsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimPowerPortsList(ctx context.Context, localVarOptionals *DcimApiDcimPowerPortsListOpts) (InlineResponse20022, *http.Response, error)
- func (a *DcimApiService) DcimPowerPortsPartialUpdate(ctx context.Context, id int32, data WritablePowerPort) (PowerPort, *http.Response, error)
- func (a *DcimApiService) DcimPowerPortsRead(ctx context.Context, id int32) (PowerPort, *http.Response, error)
- func (a *DcimApiService) DcimPowerPortsTrace(ctx context.Context, id int32) (PowerPort, *http.Response, error)
- func (a *DcimApiService) DcimPowerPortsUpdate(ctx context.Context, id int32, data WritablePowerPort) (PowerPort, *http.Response, error)
- func (a *DcimApiService) DcimRackGroupsCreate(ctx context.Context, data WritableRackGroup) (RackGroup, *http.Response, error)
- func (a *DcimApiService) DcimRackGroupsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimRackGroupsList(ctx context.Context, localVarOptionals *DcimApiDcimRackGroupsListOpts) (InlineResponse20028, *http.Response, error)
- func (a *DcimApiService) DcimRackGroupsPartialUpdate(ctx context.Context, id int32, data WritableRackGroup) (RackGroup, *http.Response, error)
- func (a *DcimApiService) DcimRackGroupsRead(ctx context.Context, id int32) (RackGroup, *http.Response, error)
- func (a *DcimApiService) DcimRackGroupsUpdate(ctx context.Context, id int32, data WritableRackGroup) (RackGroup, *http.Response, error)
- func (a *DcimApiService) DcimRackReservationsCreate(ctx context.Context, data WritableRackReservation) (RackReservation, *http.Response, error)
- func (a *DcimApiService) DcimRackReservationsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimRackReservationsList(ctx context.Context, localVarOptionals *DcimApiDcimRackReservationsListOpts) (InlineResponse20029, *http.Response, error)
- func (a *DcimApiService) DcimRackReservationsPartialUpdate(ctx context.Context, id int32, data WritableRackReservation) (RackReservation, *http.Response, error)
- func (a *DcimApiService) DcimRackReservationsRead(ctx context.Context, id int32) (RackReservation, *http.Response, error)
- func (a *DcimApiService) DcimRackReservationsUpdate(ctx context.Context, id int32, data WritableRackReservation) (RackReservation, *http.Response, error)
- func (a *DcimApiService) DcimRackRolesCreate(ctx context.Context, data RackRole) (RackRole, *http.Response, error)
- func (a *DcimApiService) DcimRackRolesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimRackRolesList(ctx context.Context, localVarOptionals *DcimApiDcimRackRolesListOpts) (InlineResponse20030, *http.Response, error)
- func (a *DcimApiService) DcimRackRolesPartialUpdate(ctx context.Context, id int32, data RackRole) (RackRole, *http.Response, error)
- func (a *DcimApiService) DcimRackRolesRead(ctx context.Context, id int32) (RackRole, *http.Response, error)
- func (a *DcimApiService) DcimRackRolesUpdate(ctx context.Context, id int32, data RackRole) (RackRole, *http.Response, error)
- func (a *DcimApiService) DcimRacksCreate(ctx context.Context, data WritableRack) (Rack, *http.Response, error)
- func (a *DcimApiService) DcimRacksDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimRacksElevation(ctx context.Context, id int32, ...) ([]RackUnit, *http.Response, error)
- func (a *DcimApiService) DcimRacksList(ctx context.Context, localVarOptionals *DcimApiDcimRacksListOpts) (InlineResponse20031, *http.Response, error)
- func (a *DcimApiService) DcimRacksPartialUpdate(ctx context.Context, id int32, data WritableRack) (Rack, *http.Response, error)
- func (a *DcimApiService) DcimRacksRead(ctx context.Context, id int32) (Rack, *http.Response, error)
- func (a *DcimApiService) DcimRacksUpdate(ctx context.Context, id int32, data WritableRack) (Rack, *http.Response, error)
- func (a *DcimApiService) DcimRearPortTemplatesCreate(ctx context.Context, data WritableRearPortTemplate) (RearPortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimRearPortTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimRearPortTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimRearPortTemplatesListOpts) (InlineResponse20032, *http.Response, error)
- func (a *DcimApiService) DcimRearPortTemplatesPartialUpdate(ctx context.Context, id int32, data WritableRearPortTemplate) (RearPortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimRearPortTemplatesRead(ctx context.Context, id int32) (RearPortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimRearPortTemplatesUpdate(ctx context.Context, id int32, data WritableRearPortTemplate) (RearPortTemplate, *http.Response, error)
- func (a *DcimApiService) DcimRearPortsCreate(ctx context.Context, data WritableRearPort) (RearPort, *http.Response, error)
- func (a *DcimApiService) DcimRearPortsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimRearPortsList(ctx context.Context, localVarOptionals *DcimApiDcimRearPortsListOpts) (InlineResponse20033, *http.Response, error)
- func (a *DcimApiService) DcimRearPortsPartialUpdate(ctx context.Context, id int32, data WritableRearPort) (RearPort, *http.Response, error)
- func (a *DcimApiService) DcimRearPortsRead(ctx context.Context, id int32) (RearPort, *http.Response, error)
- func (a *DcimApiService) DcimRearPortsUpdate(ctx context.Context, id int32, data WritableRearPort) (RearPort, *http.Response, error)
- func (a *DcimApiService) DcimRegionsCreate(ctx context.Context, data WritableRegion) (Region, *http.Response, error)
- func (a *DcimApiService) DcimRegionsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimRegionsList(ctx context.Context, localVarOptionals *DcimApiDcimRegionsListOpts) (InlineResponse20034, *http.Response, error)
- func (a *DcimApiService) DcimRegionsPartialUpdate(ctx context.Context, id int32, data WritableRegion) (Region, *http.Response, error)
- func (a *DcimApiService) DcimRegionsRead(ctx context.Context, id int32) (Region, *http.Response, error)
- func (a *DcimApiService) DcimRegionsUpdate(ctx context.Context, id int32, data WritableRegion) (Region, *http.Response, error)
- func (a *DcimApiService) DcimSitesCreate(ctx context.Context, data WritableSite) (Site, *http.Response, error)
- func (a *DcimApiService) DcimSitesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimSitesGraphs(ctx context.Context, id int32) (Site, *http.Response, error)
- func (a *DcimApiService) DcimSitesList(ctx context.Context, localVarOptionals *DcimApiDcimSitesListOpts) (InlineResponse20035, *http.Response, error)
- func (a *DcimApiService) DcimSitesPartialUpdate(ctx context.Context, id int32, data WritableSite) (Site, *http.Response, error)
- func (a *DcimApiService) DcimSitesRead(ctx context.Context, id int32) (Site, *http.Response, error)
- func (a *DcimApiService) DcimSitesUpdate(ctx context.Context, id int32, data WritableSite) (Site, *http.Response, error)
- func (a *DcimApiService) DcimVirtualChassisCreate(ctx context.Context, data WritableVirtualChassis) (VirtualChassis, *http.Response, error)
- func (a *DcimApiService) DcimVirtualChassisDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *DcimApiService) DcimVirtualChassisList(ctx context.Context, localVarOptionals *DcimApiDcimVirtualChassisListOpts) (InlineResponse20036, *http.Response, error)
- func (a *DcimApiService) DcimVirtualChassisPartialUpdate(ctx context.Context, id int32, data WritableVirtualChassis) (VirtualChassis, *http.Response, error)
- func (a *DcimApiService) DcimVirtualChassisRead(ctx context.Context, id int32) (VirtualChassis, *http.Response, error)
- func (a *DcimApiService) DcimVirtualChassisUpdate(ctx context.Context, id int32, data WritableVirtualChassis) (VirtualChassis, *http.Response, error)
- type Device
- type DeviceBay
- type DeviceBayTemplate
- type DeviceInterface
- type DeviceNapalm
- type DeviceRole
- type DeviceType
- type DeviceWithConfigContext
- type ExportTemplate
- type ExtrasApiExtrasConfigContextsListOpts
- type ExtrasApiExtrasExportTemplatesListOpts
- type ExtrasApiExtrasGraphsListOpts
- type ExtrasApiExtrasImageAttachmentsListOpts
- type ExtrasApiExtrasObjectChangesListOpts
- type ExtrasApiExtrasTagsListOpts
- type ExtrasApiService
- func (a *ExtrasApiService) ExtrasConfigContextsCreate(ctx context.Context, data WritableConfigContext) (ConfigContext, *http.Response, error)
- func (a *ExtrasApiService) ExtrasConfigContextsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *ExtrasApiService) ExtrasConfigContextsList(ctx context.Context, localVarOptionals *ExtrasApiExtrasConfigContextsListOpts) (InlineResponse20037, *http.Response, error)
- func (a *ExtrasApiService) ExtrasConfigContextsPartialUpdate(ctx context.Context, id int32, data WritableConfigContext) (ConfigContext, *http.Response, error)
- func (a *ExtrasApiService) ExtrasConfigContextsRead(ctx context.Context, id int32) (ConfigContext, *http.Response, error)
- func (a *ExtrasApiService) ExtrasConfigContextsUpdate(ctx context.Context, id int32, data WritableConfigContext) (ConfigContext, *http.Response, error)
- func (a *ExtrasApiService) ExtrasCustomFieldChoicesList(ctx context.Context) (*http.Response, error)
- func (a *ExtrasApiService) ExtrasCustomFieldChoicesRead(ctx context.Context, id string) (*http.Response, error)
- func (a *ExtrasApiService) ExtrasExportTemplatesCreate(ctx context.Context, data WritableExportTemplate) (ExportTemplate, *http.Response, error)
- func (a *ExtrasApiService) ExtrasExportTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *ExtrasApiService) ExtrasExportTemplatesList(ctx context.Context, localVarOptionals *ExtrasApiExtrasExportTemplatesListOpts) (InlineResponse20038, *http.Response, error)
- func (a *ExtrasApiService) ExtrasExportTemplatesPartialUpdate(ctx context.Context, id int32, data WritableExportTemplate) (ExportTemplate, *http.Response, error)
- func (a *ExtrasApiService) ExtrasExportTemplatesRead(ctx context.Context, id int32) (ExportTemplate, *http.Response, error)
- func (a *ExtrasApiService) ExtrasExportTemplatesUpdate(ctx context.Context, id int32, data WritableExportTemplate) (ExportTemplate, *http.Response, error)
- func (a *ExtrasApiService) ExtrasGraphsCreate(ctx context.Context, data Graph) (Graph, *http.Response, error)
- func (a *ExtrasApiService) ExtrasGraphsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *ExtrasApiService) ExtrasGraphsList(ctx context.Context, localVarOptionals *ExtrasApiExtrasGraphsListOpts) (InlineResponse20039, *http.Response, error)
- func (a *ExtrasApiService) ExtrasGraphsPartialUpdate(ctx context.Context, id int32, data Graph) (Graph, *http.Response, error)
- func (a *ExtrasApiService) ExtrasGraphsRead(ctx context.Context, id int32) (Graph, *http.Response, error)
- func (a *ExtrasApiService) ExtrasGraphsUpdate(ctx context.Context, id int32, data Graph) (Graph, *http.Response, error)
- func (a *ExtrasApiService) ExtrasImageAttachmentsCreate(ctx context.Context, data ImageAttachment) (ImageAttachment, *http.Response, error)
- func (a *ExtrasApiService) ExtrasImageAttachmentsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *ExtrasApiService) ExtrasImageAttachmentsList(ctx context.Context, ...) (InlineResponse20040, *http.Response, error)
- func (a *ExtrasApiService) ExtrasImageAttachmentsPartialUpdate(ctx context.Context, id int32, data ImageAttachment) (ImageAttachment, *http.Response, error)
- func (a *ExtrasApiService) ExtrasImageAttachmentsRead(ctx context.Context, id int32) (ImageAttachment, *http.Response, error)
- func (a *ExtrasApiService) ExtrasImageAttachmentsUpdate(ctx context.Context, id int32, data ImageAttachment) (ImageAttachment, *http.Response, error)
- func (a *ExtrasApiService) ExtrasObjectChangesList(ctx context.Context, localVarOptionals *ExtrasApiExtrasObjectChangesListOpts) (InlineResponse20041, *http.Response, error)
- func (a *ExtrasApiService) ExtrasObjectChangesRead(ctx context.Context, id int32) (ObjectChange, *http.Response, error)
- func (a *ExtrasApiService) ExtrasReportsList(ctx context.Context) (*http.Response, error)
- func (a *ExtrasApiService) ExtrasReportsRead(ctx context.Context, id string) (*http.Response, error)
- func (a *ExtrasApiService) ExtrasReportsRun(ctx context.Context, id string) (*http.Response, error)
- func (a *ExtrasApiService) ExtrasScriptsList(ctx context.Context) (*http.Response, error)
- func (a *ExtrasApiService) ExtrasScriptsRead(ctx context.Context, id string) (*http.Response, error)
- func (a *ExtrasApiService) ExtrasTagsCreate(ctx context.Context, data Tag) (Tag, *http.Response, error)
- func (a *ExtrasApiService) ExtrasTagsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *ExtrasApiService) ExtrasTagsList(ctx context.Context, localVarOptionals *ExtrasApiExtrasTagsListOpts) (InlineResponse20042, *http.Response, error)
- func (a *ExtrasApiService) ExtrasTagsPartialUpdate(ctx context.Context, id int32, data Tag) (Tag, *http.Response, error)
- func (a *ExtrasApiService) ExtrasTagsRead(ctx context.Context, id int32) (Tag, *http.Response, error)
- func (a *ExtrasApiService) ExtrasTagsUpdate(ctx context.Context, id int32, data Tag) (Tag, *http.Response, error)
- type Face
- type Family
- type FeedLeg
- type FrontPort
- type FrontPortRearPort
- type FrontPortTemplate
- type GenericSwaggerError
- type Graph
- type ImageAttachment
- type InlineResponse200
- type InlineResponse2001
- type InlineResponse20010
- type InlineResponse20011
- type InlineResponse20012
- type InlineResponse20013
- type InlineResponse20014
- type InlineResponse20015
- type InlineResponse20016
- type InlineResponse20017
- type InlineResponse20018
- type InlineResponse20019
- type InlineResponse2002
- type InlineResponse20020
- type InlineResponse20021
- type InlineResponse20022
- type InlineResponse20023
- type InlineResponse20024
- type InlineResponse20025
- type InlineResponse20026
- type InlineResponse20027
- type InlineResponse20028
- type InlineResponse20029
- type InlineResponse2003
- type InlineResponse20030
- type InlineResponse20031
- type InlineResponse20032
- type InlineResponse20033
- type InlineResponse20034
- type InlineResponse20035
- type InlineResponse20036
- type InlineResponse20037
- type InlineResponse20038
- type InlineResponse20039
- type InlineResponse2004
- type InlineResponse20040
- type InlineResponse20041
- type InlineResponse20042
- type InlineResponse20043
- type InlineResponse20044
- type InlineResponse20045
- type InlineResponse20046
- type InlineResponse20047
- type InlineResponse20048
- type InlineResponse20049
- type InlineResponse2005
- type InlineResponse20050
- type InlineResponse20051
- type InlineResponse20052
- type InlineResponse20053
- type InlineResponse20054
- type InlineResponse20055
- type InlineResponse20056
- type InlineResponse20057
- type InlineResponse20058
- type InlineResponse20059
- type InlineResponse2006
- type InlineResponse20060
- type InlineResponse2007
- type InlineResponse2008
- type InlineResponse2009
- type InterfaceConnection
- type InterfaceTemplate
- type InventoryItem
- type IpAddress
- type IpAddressInterface
- type IpamApiIpamAggregatesListOpts
- type IpamApiIpamIpAddressesListOpts
- type IpamApiIpamPrefixesListOpts
- type IpamApiIpamRirsListOpts
- type IpamApiIpamRolesListOpts
- type IpamApiIpamServicesListOpts
- type IpamApiIpamVlanGroupsListOpts
- type IpamApiIpamVlansListOpts
- type IpamApiIpamVrfsListOpts
- type IpamApiService
- func (a *IpamApiService) IpamAggregatesCreate(ctx context.Context, data WritableAggregate) (Aggregate, *http.Response, error)
- func (a *IpamApiService) IpamAggregatesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *IpamApiService) IpamAggregatesList(ctx context.Context, localVarOptionals *IpamApiIpamAggregatesListOpts) (InlineResponse20043, *http.Response, error)
- func (a *IpamApiService) IpamAggregatesPartialUpdate(ctx context.Context, id int32, data WritableAggregate) (Aggregate, *http.Response, error)
- func (a *IpamApiService) IpamAggregatesRead(ctx context.Context, id int32) (Aggregate, *http.Response, error)
- func (a *IpamApiService) IpamAggregatesUpdate(ctx context.Context, id int32, data WritableAggregate) (Aggregate, *http.Response, error)
- func (a *IpamApiService) IpamIpAddressesCreate(ctx context.Context, data WritableIpAddress) (IpAddress, *http.Response, error)
- func (a *IpamApiService) IpamIpAddressesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *IpamApiService) IpamIpAddressesList(ctx context.Context, localVarOptionals *IpamApiIpamIpAddressesListOpts) (InlineResponse20044, *http.Response, error)
- func (a *IpamApiService) IpamIpAddressesPartialUpdate(ctx context.Context, id int32, data WritableIpAddress) (IpAddress, *http.Response, error)
- func (a *IpamApiService) IpamIpAddressesRead(ctx context.Context, id int32) (IpAddress, *http.Response, error)
- func (a *IpamApiService) IpamIpAddressesUpdate(ctx context.Context, id int32, data WritableIpAddress) (IpAddress, *http.Response, error)
- func (a *IpamApiService) IpamPrefixesAvailableIpsCreate(ctx context.Context, id int32, data WritablePrefix) ([]AvailableIp, *http.Response, error)
- func (a *IpamApiService) IpamPrefixesAvailableIpsRead(ctx context.Context, id int32) ([]AvailableIp, *http.Response, error)
- func (a *IpamApiService) IpamPrefixesAvailablePrefixesCreate(ctx context.Context, id int32, data WritablePrefix) ([]AvailablePrefix, *http.Response, error)
- func (a *IpamApiService) IpamPrefixesAvailablePrefixesRead(ctx context.Context, id int32) ([]AvailablePrefix, *http.Response, error)
- func (a *IpamApiService) IpamPrefixesCreate(ctx context.Context, data WritablePrefix) (Prefix, *http.Response, error)
- func (a *IpamApiService) IpamPrefixesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *IpamApiService) IpamPrefixesList(ctx context.Context, localVarOptionals *IpamApiIpamPrefixesListOpts) (InlineResponse20045, *http.Response, error)
- func (a *IpamApiService) IpamPrefixesPartialUpdate(ctx context.Context, id int32, data WritablePrefix) (Prefix, *http.Response, error)
- func (a *IpamApiService) IpamPrefixesRead(ctx context.Context, id int32) (Prefix, *http.Response, error)
- func (a *IpamApiService) IpamPrefixesUpdate(ctx context.Context, id int32, data WritablePrefix) (Prefix, *http.Response, error)
- func (a *IpamApiService) IpamRirsCreate(ctx context.Context, data Rir) (Rir, *http.Response, error)
- func (a *IpamApiService) IpamRirsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *IpamApiService) IpamRirsList(ctx context.Context, localVarOptionals *IpamApiIpamRirsListOpts) (InlineResponse20046, *http.Response, error)
- func (a *IpamApiService) IpamRirsPartialUpdate(ctx context.Context, id int32, data Rir) (Rir, *http.Response, error)
- func (a *IpamApiService) IpamRirsRead(ctx context.Context, id int32) (Rir, *http.Response, error)
- func (a *IpamApiService) IpamRirsUpdate(ctx context.Context, id int32, data Rir) (Rir, *http.Response, error)
- func (a *IpamApiService) IpamRolesCreate(ctx context.Context, data Role) (Role, *http.Response, error)
- func (a *IpamApiService) IpamRolesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *IpamApiService) IpamRolesList(ctx context.Context, localVarOptionals *IpamApiIpamRolesListOpts) (InlineResponse20047, *http.Response, error)
- func (a *IpamApiService) IpamRolesPartialUpdate(ctx context.Context, id int32, data Role) (Role, *http.Response, error)
- func (a *IpamApiService) IpamRolesRead(ctx context.Context, id int32) (Role, *http.Response, error)
- func (a *IpamApiService) IpamRolesUpdate(ctx context.Context, id int32, data Role) (Role, *http.Response, error)
- func (a *IpamApiService) IpamServicesCreate(ctx context.Context, data WritableService) (Service, *http.Response, error)
- func (a *IpamApiService) IpamServicesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *IpamApiService) IpamServicesList(ctx context.Context, localVarOptionals *IpamApiIpamServicesListOpts) (InlineResponse20048, *http.Response, error)
- func (a *IpamApiService) IpamServicesPartialUpdate(ctx context.Context, id int32, data WritableService) (Service, *http.Response, error)
- func (a *IpamApiService) IpamServicesRead(ctx context.Context, id int32) (Service, *http.Response, error)
- func (a *IpamApiService) IpamServicesUpdate(ctx context.Context, id int32, data WritableService) (Service, *http.Response, error)
- func (a *IpamApiService) IpamVlanGroupsCreate(ctx context.Context, data WritableVlanGroup) (VlanGroup, *http.Response, error)
- func (a *IpamApiService) IpamVlanGroupsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *IpamApiService) IpamVlanGroupsList(ctx context.Context, localVarOptionals *IpamApiIpamVlanGroupsListOpts) (InlineResponse20049, *http.Response, error)
- func (a *IpamApiService) IpamVlanGroupsPartialUpdate(ctx context.Context, id int32, data WritableVlanGroup) (VlanGroup, *http.Response, error)
- func (a *IpamApiService) IpamVlanGroupsRead(ctx context.Context, id int32) (VlanGroup, *http.Response, error)
- func (a *IpamApiService) IpamVlanGroupsUpdate(ctx context.Context, id int32, data WritableVlanGroup) (VlanGroup, *http.Response, error)
- func (a *IpamApiService) IpamVlansCreate(ctx context.Context, data WritableVlan) (Vlan, *http.Response, error)
- func (a *IpamApiService) IpamVlansDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *IpamApiService) IpamVlansList(ctx context.Context, localVarOptionals *IpamApiIpamVlansListOpts) (InlineResponse20050, *http.Response, error)
- func (a *IpamApiService) IpamVlansPartialUpdate(ctx context.Context, id int32, data WritableVlan) (Vlan, *http.Response, error)
- func (a *IpamApiService) IpamVlansRead(ctx context.Context, id int32) (Vlan, *http.Response, error)
- func (a *IpamApiService) IpamVlansUpdate(ctx context.Context, id int32, data WritableVlan) (Vlan, *http.Response, error)
- func (a *IpamApiService) IpamVrfsCreate(ctx context.Context, data WritableVrf) (Vrf, *http.Response, error)
- func (a *IpamApiService) IpamVrfsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *IpamApiService) IpamVrfsList(ctx context.Context, localVarOptionals *IpamApiIpamVrfsListOpts) (InlineResponse20051, *http.Response, error)
- func (a *IpamApiService) IpamVrfsPartialUpdate(ctx context.Context, id int32, data WritableVrf) (Vrf, *http.Response, error)
- func (a *IpamApiService) IpamVrfsRead(ctx context.Context, id int32) (Vrf, *http.Response, error)
- func (a *IpamApiService) IpamVrfsUpdate(ctx context.Context, id int32, data WritableVrf) (Vrf, *http.Response, error)
- type LengthUnit
- type Manufacturer
- type Mode
- type ModelType
- type NestedCable
- type NestedCircuit
- type NestedCircuitType
- type NestedCluster
- type NestedClusterGroup
- type NestedClusterType
- type NestedDevice
- type NestedDeviceRole
- type NestedDeviceType
- type NestedInterface
- type NestedIpAddress
- type NestedManufacturer
- type NestedPlatform
- type NestedPowerPanel
- type NestedPowerPort
- type NestedPowerPortTemplate
- type NestedProvider
- type NestedRack
- type NestedRackGroup
- type NestedRackRole
- type NestedRearPortTemplate
- type NestedRegion
- type NestedRir
- type NestedRole
- type NestedSecretRole
- type NestedSite
- type NestedTenant
- type NestedTenantGroup
- type NestedUser
- type NestedVirtualChassis
- type NestedVirtualMachine
- type NestedVlan
- type NestedVlanGroup
- type NestedVrf
- type ObjectChange
- type OuterUnit
- type Phase
- type Platform
- type PowerFeed
- type PowerOutlet
- type PowerOutletTemplate
- type PowerPanel
- type PowerPort
- type PowerPortTemplate
- type Prefix
- type Protocol
- type Provider
- type Rack
- type RackGroup
- type RackReservation
- type RackRole
- type RackUnit
- type RearPort
- type RearPortTemplate
- type Region
- type Rir
- type Role
- type Role1
- type Secret
- type SecretRole
- type SecretsApiSecretsSecretRolesListOpts
- type SecretsApiSecretsSecretsListOpts
- type SecretsApiService
- func (a *SecretsApiService) SecretsGenerateRsaKeyPairList(ctx context.Context) (*http.Response, error)
- func (a *SecretsApiService) SecretsGetSessionKeyCreate(ctx context.Context) (*http.Response, error)
- func (a *SecretsApiService) SecretsSecretRolesCreate(ctx context.Context, data SecretRole) (SecretRole, *http.Response, error)
- func (a *SecretsApiService) SecretsSecretRolesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *SecretsApiService) SecretsSecretRolesList(ctx context.Context, localVarOptionals *SecretsApiSecretsSecretRolesListOpts) (InlineResponse20052, *http.Response, error)
- func (a *SecretsApiService) SecretsSecretRolesPartialUpdate(ctx context.Context, id int32, data SecretRole) (SecretRole, *http.Response, error)
- func (a *SecretsApiService) SecretsSecretRolesRead(ctx context.Context, id int32) (SecretRole, *http.Response, error)
- func (a *SecretsApiService) SecretsSecretRolesUpdate(ctx context.Context, id int32, data SecretRole) (SecretRole, *http.Response, error)
- func (a *SecretsApiService) SecretsSecretsCreate(ctx context.Context, data WritableSecret) (Secret, *http.Response, error)
- func (a *SecretsApiService) SecretsSecretsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *SecretsApiService) SecretsSecretsList(ctx context.Context, localVarOptionals *SecretsApiSecretsSecretsListOpts) (InlineResponse20053, *http.Response, error)
- func (a *SecretsApiService) SecretsSecretsPartialUpdate(ctx context.Context, id int32, data WritableSecret) (Secret, *http.Response, error)
- func (a *SecretsApiService) SecretsSecretsRead(ctx context.Context, id int32) (Secret, *http.Response, error)
- func (a *SecretsApiService) SecretsSecretsUpdate(ctx context.Context, id int32, data WritableSecret) (Secret, *http.Response, error)
- type Service
- type Site
- type Status
- type Status1
- type Status2
- type Status3
- type Status4
- type Status5
- type Status6
- type Status7
- type Status8
- type Status9
- type SubdeviceRole
- type Supply
- type Tag
- type TemplateLanguage
- type TenancyApiService
- func (a *TenancyApiService) TenancyTenantGroupsCreate(ctx context.Context, data WritableTenantGroup) (TenantGroup, *http.Response, error)
- func (a *TenancyApiService) TenancyTenantGroupsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *TenancyApiService) TenancyTenantGroupsList(ctx context.Context, localVarOptionals *TenancyApiTenancyTenantGroupsListOpts) (InlineResponse20054, *http.Response, error)
- func (a *TenancyApiService) TenancyTenantGroupsPartialUpdate(ctx context.Context, id int32, data WritableTenantGroup) (TenantGroup, *http.Response, error)
- func (a *TenancyApiService) TenancyTenantGroupsRead(ctx context.Context, id int32) (TenantGroup, *http.Response, error)
- func (a *TenancyApiService) TenancyTenantGroupsUpdate(ctx context.Context, id int32, data WritableTenantGroup) (TenantGroup, *http.Response, error)
- func (a *TenancyApiService) TenancyTenantsCreate(ctx context.Context, data WritableTenant) (Tenant, *http.Response, error)
- func (a *TenancyApiService) TenancyTenantsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *TenancyApiService) TenancyTenantsList(ctx context.Context, localVarOptionals *TenancyApiTenancyTenantsListOpts) (InlineResponse20055, *http.Response, error)
- func (a *TenancyApiService) TenancyTenantsPartialUpdate(ctx context.Context, id int32, data WritableTenant) (Tenant, *http.Response, error)
- func (a *TenancyApiService) TenancyTenantsRead(ctx context.Context, id int32) (Tenant, *http.Response, error)
- func (a *TenancyApiService) TenancyTenantsUpdate(ctx context.Context, id int32, data WritableTenant) (Tenant, *http.Response, error)
- type TenancyApiTenancyTenantGroupsListOpts
- type TenancyApiTenancyTenantsListOpts
- type Tenant
- type TenantGroup
- type Type1
- type Type2
- type Type3
- type Type4
- type Type5
- type Type6
- type Type7
- type VirtualChassis
- type VirtualMachineInterface
- type VirtualMachineWithConfigContext
- type VirtualizationApiService
- func (a *VirtualizationApiService) VirtualizationClusterGroupsCreate(ctx context.Context, data ClusterGroup) (ClusterGroup, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationClusterGroupsDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *VirtualizationApiService) VirtualizationClusterGroupsList(ctx context.Context, ...) (InlineResponse20056, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationClusterGroupsPartialUpdate(ctx context.Context, id int32, data ClusterGroup) (ClusterGroup, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationClusterGroupsRead(ctx context.Context, id int32) (ClusterGroup, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationClusterGroupsUpdate(ctx context.Context, id int32, data ClusterGroup) (ClusterGroup, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationClusterTypesCreate(ctx context.Context, data ClusterType) (ClusterType, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationClusterTypesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *VirtualizationApiService) VirtualizationClusterTypesList(ctx context.Context, ...) (InlineResponse20057, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationClusterTypesPartialUpdate(ctx context.Context, id int32, data ClusterType) (ClusterType, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationClusterTypesRead(ctx context.Context, id int32) (ClusterType, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationClusterTypesUpdate(ctx context.Context, id int32, data ClusterType) (ClusterType, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationClustersCreate(ctx context.Context, data WritableCluster) (Cluster, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationClustersDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *VirtualizationApiService) VirtualizationClustersList(ctx context.Context, ...) (InlineResponse20058, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationClustersPartialUpdate(ctx context.Context, id int32, data WritableCluster) (Cluster, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationClustersRead(ctx context.Context, id int32) (Cluster, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationClustersUpdate(ctx context.Context, id int32, data WritableCluster) (Cluster, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationInterfacesCreate(ctx context.Context, data WritableVirtualMachineInterface) (VirtualMachineInterface, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationInterfacesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *VirtualizationApiService) VirtualizationInterfacesList(ctx context.Context, ...) (InlineResponse20059, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationInterfacesPartialUpdate(ctx context.Context, id int32, data WritableVirtualMachineInterface) (VirtualMachineInterface, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationInterfacesRead(ctx context.Context, id int32) (VirtualMachineInterface, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationInterfacesUpdate(ctx context.Context, id int32, data WritableVirtualMachineInterface) (VirtualMachineInterface, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationVirtualMachinesCreate(ctx context.Context, data WritableVirtualMachineWithConfigContext) (VirtualMachineWithConfigContext, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationVirtualMachinesDelete(ctx context.Context, id int32) (*http.Response, error)
- func (a *VirtualizationApiService) VirtualizationVirtualMachinesList(ctx context.Context, ...) (InlineResponse20060, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationVirtualMachinesPartialUpdate(ctx context.Context, id int32, data WritableVirtualMachineWithConfigContext) (VirtualMachineWithConfigContext, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationVirtualMachinesRead(ctx context.Context, id int32) (VirtualMachineWithConfigContext, *http.Response, error)
- func (a *VirtualizationApiService) VirtualizationVirtualMachinesUpdate(ctx context.Context, id int32, data WritableVirtualMachineWithConfigContext) (VirtualMachineWithConfigContext, *http.Response, error)
- type VirtualizationApiVirtualizationClusterGroupsListOpts
- type VirtualizationApiVirtualizationClusterTypesListOpts
- type VirtualizationApiVirtualizationClustersListOpts
- type VirtualizationApiVirtualizationInterfacesListOpts
- type VirtualizationApiVirtualizationVirtualMachinesListOpts
- type Vlan
- type VlanGroup
- type Vrf
- type Width
- type WritableAggregate
- type WritableCable
- type WritableCircuit
- type WritableCircuitTermination
- type WritableCluster
- type WritableConfigContext
- type WritableConsolePort
- type WritableConsolePortTemplate
- type WritableConsoleServerPort
- type WritableConsoleServerPortTemplate
- type WritableDeviceBay
- type WritableDeviceBayTemplate
- type WritableDeviceInterface
- type WritableDeviceType
- type WritableDeviceWithConfigContext
- type WritableExportTemplate
- type WritableFrontPort
- type WritableFrontPortTemplate
- type WritableInterfaceTemplate
- type WritableInventoryItem
- type WritableIpAddress
- type WritablePlatform
- type WritablePowerFeed
- type WritablePowerOutlet
- type WritablePowerOutletTemplate
- type WritablePowerPanel
- type WritablePowerPort
- type WritablePowerPortTemplate
- type WritablePrefix
- type WritableRack
- type WritableRackGroup
- type WritableRackReservation
- type WritableRearPort
- type WritableRearPortTemplate
- type WritableRegion
- type WritableSecret
- type WritableService
- type WritableSite
- type WritableTenant
- type WritableTenantGroup
- type WritableVirtualChassis
- type WritableVirtualMachineInterface
- type WritableVirtualMachineWithConfigContext
- type WritableVlan
- type WritableVlanGroup
- type WritableVrf
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { CircuitsApi *CircuitsApiService DcimApi *DcimApiService ExtrasApi *ExtrasApiService IpamApi *IpamApiService SecretsApi *SecretsApiService TenancyApi *TenancyApiService VirtualizationApi *VirtualizationApiService // contains filtered or unexported fields }
APIClient manages communication with the NetBox API API v2.8 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type Aggregate ¶
type Aggregate struct { Id int32 `json:"id,omitempty"` Family *Family `json:"family,omitempty"` Prefix string `json:"prefix"` Rir *NestedRir `json:"rir"` DateAdded string `json:"date_added,omitempty"` Description string `json:"description,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type AvailableIp ¶
type AvailablePrefix ¶
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type Cable ¶
type Cable struct { Id int32 `json:"id,omitempty"` TerminationAType string `json:"termination_a_type"` TerminationAId int32 `json:"termination_a_id"` TerminationA map[string]string `json:"termination_a,omitempty"` TerminationBType string `json:"termination_b_type"` TerminationBId int32 `json:"termination_b_id"` TerminationB map[string]string `json:"termination_b,omitempty"` Type_ string `json:"type,omitempty"` Status *Status1 `json:"status,omitempty"` Label string `json:"label,omitempty"` Color string `json:"color,omitempty"` Length int32 `json:"length,omitempty"` LengthUnit *LengthUnit `json:"length_unit,omitempty"` }
type Circuit ¶
type Circuit struct { Id int32 `json:"id,omitempty"` Cid string `json:"cid"` Provider *NestedProvider `json:"provider"` Type_ *NestedCircuitType `json:"type"` Status *Status `json:"status,omitempty"` Tenant *NestedTenant `json:"tenant,omitempty"` InstallDate string `json:"install_date,omitempty"` CommitRate int32 `json:"commit_rate,omitempty"` Description string `json:"description,omitempty"` TerminationA *CircuitCircuitTermination `json:"termination_a,omitempty"` TerminationZ *CircuitCircuitTermination `json:"termination_z,omitempty"` Comments string `json:"comments,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type CircuitCircuitTermination ¶
type CircuitCircuitTermination struct { Id int32 `json:"id,omitempty"` Url string `json:"url,omitempty"` Site *NestedSite `json:"site"` ConnectedEndpoint *NestedInterface `json:"connected_endpoint,omitempty"` PortSpeed int32 `json:"port_speed"` // Upstream speed, if different from port speed UpstreamSpeed int32 `json:"upstream_speed,omitempty"` XconnectId string `json:"xconnect_id,omitempty"` }
type CircuitTermination ¶
type CircuitTermination struct { Id int32 `json:"id,omitempty"` Circuit *NestedCircuit `json:"circuit"` TermSide string `json:"term_side"` Site *NestedSite `json:"site"` PortSpeed int32 `json:"port_speed"` // Upstream speed, if different from port speed UpstreamSpeed int32 `json:"upstream_speed,omitempty"` XconnectId string `json:"xconnect_id,omitempty"` PpInfo string `json:"pp_info,omitempty"` Description string `json:"description,omitempty"` ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"` // Return the appropriate serializer for the type of connected object. ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"` ConnectionStatus *ConnectionStatus `json:"connection_status,omitempty"` Cable *NestedCable `json:"cable,omitempty"` }
type CircuitType ¶
type CircuitsApiCircuitsCircuitTerminationsListOpts ¶
type CircuitsApiCircuitsCircuitTerminationsListOpts struct { TermSide optional.String PortSpeed optional.String UpstreamSpeed optional.String XconnectId optional.String Q optional.String CircuitId optional.String SiteId optional.String Site optional.String TermSideN optional.String PortSpeedN optional.String PortSpeedLte optional.String PortSpeedLt optional.String PortSpeedGte optional.String PortSpeedGt optional.String UpstreamSpeedN optional.String UpstreamSpeedLte optional.String UpstreamSpeedLt optional.String UpstreamSpeedGte optional.String UpstreamSpeedGt optional.String XconnectIdN optional.String XconnectIdIc optional.String XconnectIdNic optional.String XconnectIdIew optional.String XconnectIdNiew optional.String XconnectIdIsw optional.String XconnectIdNisw optional.String XconnectIdIe optional.String XconnectIdNie optional.String CircuitIdN optional.String SiteIdN optional.String SiteN optional.String Limit optional.Int32 Offset optional.Int32 }
type CircuitsApiCircuitsCircuitTypesListOpts ¶
type CircuitsApiCircuitsCircuitTypesListOpts struct { Id optional.String Name optional.String Slug optional.String Q optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String Limit optional.Int32 Offset optional.Int32 }
type CircuitsApiCircuitsCircuitsListOpts ¶
type CircuitsApiCircuitsCircuitsListOpts struct { Id optional.String Cid optional.String InstallDate optional.String CommitRate optional.String TenantGroupId optional.String TenantGroup optional.String TenantId optional.String Tenant optional.String Created optional.String CreatedGte optional.String CreatedLte optional.String LastUpdated optional.String LastUpdatedGte optional.String LastUpdatedLte optional.String Q optional.String ProviderId optional.String Provider optional.String TypeId optional.String Type_ optional.String Status optional.String SiteId optional.String Site optional.String RegionId optional.String Region optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String CidN optional.String CidIc optional.String CidNic optional.String CidIew optional.String CidNiew optional.String CidIsw optional.String CidNisw optional.String CidIe optional.String CidNie optional.String InstallDateN optional.String InstallDateLte optional.String InstallDateLt optional.String InstallDateGte optional.String InstallDateGt optional.String CommitRateN optional.String CommitRateLte optional.String CommitRateLt optional.String CommitRateGte optional.String CommitRateGt optional.String TenantGroupIdN optional.String TenantGroupN optional.String TenantIdN optional.String TenantN optional.String ProviderIdN optional.String ProviderN optional.String TypeIdN optional.String TypeN optional.String StatusN optional.String SiteIdN optional.String SiteN optional.String RegionIdN optional.String RegionN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type CircuitsApiCircuitsProvidersListOpts ¶
type CircuitsApiCircuitsProvidersListOpts struct { Id optional.String Name optional.String Slug optional.String Asn optional.String Account optional.String Created optional.String CreatedGte optional.String CreatedLte optional.String LastUpdated optional.String LastUpdatedGte optional.String LastUpdatedLte optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String AsnN optional.String AsnLte optional.String AsnLt optional.String AsnGte optional.String AsnGt optional.String AccountN optional.String AccountIc optional.String AccountNic optional.String AccountIew optional.String AccountNiew optional.String AccountIsw optional.String AccountNisw optional.String AccountIe optional.String AccountNie optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type CircuitsApiService ¶
type CircuitsApiService service
func (*CircuitsApiService) CircuitsCircuitTerminationsCreate ¶
func (a *CircuitsApiService) CircuitsCircuitTerminationsCreate(ctx context.Context, data WritableCircuitTermination) (CircuitTermination, *http.Response, error)
CircuitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return CircuitTermination
func (*CircuitsApiService) CircuitsCircuitTerminationsDelete ¶
func (a *CircuitsApiService) CircuitsCircuitTerminationsDelete(ctx context.Context, id int32) (*http.Response, error)
CircuitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this circuit termination.
func (*CircuitsApiService) CircuitsCircuitTerminationsList ¶
func (a *CircuitsApiService) CircuitsCircuitTerminationsList(ctx context.Context, localVarOptionals *CircuitsApiCircuitsCircuitTerminationsListOpts) (InlineResponse200, *http.Response, error)
func (*CircuitsApiService) CircuitsCircuitTerminationsPartialUpdate ¶
func (a *CircuitsApiService) CircuitsCircuitTerminationsPartialUpdate(ctx context.Context, id int32, data WritableCircuitTermination) (CircuitTermination, *http.Response, error)
CircuitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this circuit termination.
- @param data
@return CircuitTermination
func (*CircuitsApiService) CircuitsCircuitTerminationsRead ¶
func (a *CircuitsApiService) CircuitsCircuitTerminationsRead(ctx context.Context, id int32) (CircuitTermination, *http.Response, error)
CircuitsApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this circuit termination.
@return CircuitTermination
func (*CircuitsApiService) CircuitsCircuitTerminationsUpdate ¶
func (a *CircuitsApiService) CircuitsCircuitTerminationsUpdate(ctx context.Context, id int32, data WritableCircuitTermination) (CircuitTermination, *http.Response, error)
CircuitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this circuit termination.
- @param data
@return CircuitTermination
func (*CircuitsApiService) CircuitsCircuitTypesCreate ¶
func (a *CircuitsApiService) CircuitsCircuitTypesCreate(ctx context.Context, data CircuitType) (CircuitType, *http.Response, error)
CircuitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return CircuitType
func (*CircuitsApiService) CircuitsCircuitTypesDelete ¶
func (a *CircuitsApiService) CircuitsCircuitTypesDelete(ctx context.Context, id int32) (*http.Response, error)
CircuitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this circuit type.
func (*CircuitsApiService) CircuitsCircuitTypesList ¶
func (a *CircuitsApiService) CircuitsCircuitTypesList(ctx context.Context, localVarOptionals *CircuitsApiCircuitsCircuitTypesListOpts) (InlineResponse2001, *http.Response, error)
func (*CircuitsApiService) CircuitsCircuitTypesPartialUpdate ¶
func (a *CircuitsApiService) CircuitsCircuitTypesPartialUpdate(ctx context.Context, id int32, data CircuitType) (CircuitType, *http.Response, error)
CircuitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this circuit type.
- @param data
@return CircuitType
func (*CircuitsApiService) CircuitsCircuitTypesRead ¶
func (a *CircuitsApiService) CircuitsCircuitTypesRead(ctx context.Context, id int32) (CircuitType, *http.Response, error)
CircuitsApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this circuit type.
@return CircuitType
func (*CircuitsApiService) CircuitsCircuitTypesUpdate ¶
func (a *CircuitsApiService) CircuitsCircuitTypesUpdate(ctx context.Context, id int32, data CircuitType) (CircuitType, *http.Response, error)
CircuitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this circuit type.
- @param data
@return CircuitType
func (*CircuitsApiService) CircuitsCircuitsCreate ¶
func (a *CircuitsApiService) CircuitsCircuitsCreate(ctx context.Context, data WritableCircuit) (Circuit, *http.Response, error)
CircuitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Circuit
func (*CircuitsApiService) CircuitsCircuitsDelete ¶
func (a *CircuitsApiService) CircuitsCircuitsDelete(ctx context.Context, id int32) (*http.Response, error)
CircuitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this circuit.
func (*CircuitsApiService) CircuitsCircuitsList ¶
func (a *CircuitsApiService) CircuitsCircuitsList(ctx context.Context, localVarOptionals *CircuitsApiCircuitsCircuitsListOpts) (InlineResponse2002, *http.Response, error)
func (*CircuitsApiService) CircuitsCircuitsPartialUpdate ¶
func (a *CircuitsApiService) CircuitsCircuitsPartialUpdate(ctx context.Context, id int32, data WritableCircuit) (Circuit, *http.Response, error)
CircuitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this circuit.
- @param data
@return Circuit
func (*CircuitsApiService) CircuitsCircuitsRead ¶
func (a *CircuitsApiService) CircuitsCircuitsRead(ctx context.Context, id int32) (Circuit, *http.Response, error)
CircuitsApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this circuit.
@return Circuit
func (*CircuitsApiService) CircuitsCircuitsUpdate ¶
func (a *CircuitsApiService) CircuitsCircuitsUpdate(ctx context.Context, id int32, data WritableCircuit) (Circuit, *http.Response, error)
CircuitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this circuit.
- @param data
@return Circuit
func (*CircuitsApiService) CircuitsProvidersCreate ¶
func (a *CircuitsApiService) CircuitsProvidersCreate(ctx context.Context, data Provider) (Provider, *http.Response, error)
CircuitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Provider
func (*CircuitsApiService) CircuitsProvidersDelete ¶
func (a *CircuitsApiService) CircuitsProvidersDelete(ctx context.Context, id int32) (*http.Response, error)
CircuitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this provider.
func (*CircuitsApiService) CircuitsProvidersGraphs ¶
func (a *CircuitsApiService) CircuitsProvidersGraphs(ctx context.Context, id int32) (Provider, *http.Response, error)
CircuitsApiService A convenience method for rendering graphs for a particular provider.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this provider.
@return Provider
func (*CircuitsApiService) CircuitsProvidersList ¶
func (a *CircuitsApiService) CircuitsProvidersList(ctx context.Context, localVarOptionals *CircuitsApiCircuitsProvidersListOpts) (InlineResponse2003, *http.Response, error)
func (*CircuitsApiService) CircuitsProvidersPartialUpdate ¶
func (a *CircuitsApiService) CircuitsProvidersPartialUpdate(ctx context.Context, id int32, data Provider) (Provider, *http.Response, error)
CircuitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this provider.
- @param data
@return Provider
func (*CircuitsApiService) CircuitsProvidersRead ¶
func (a *CircuitsApiService) CircuitsProvidersRead(ctx context.Context, id int32) (Provider, *http.Response, error)
CircuitsApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this provider.
@return Provider
func (*CircuitsApiService) CircuitsProvidersUpdate ¶
func (a *CircuitsApiService) CircuitsProvidersUpdate(ctx context.Context, id int32, data Provider) (Provider, *http.Response, error)
CircuitsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this provider.
- @param data
@return Provider
type Cluster ¶
type Cluster struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` Type_ *NestedClusterType `json:"type"` Group *NestedClusterGroup `json:"group,omitempty"` Tenant *NestedTenant `json:"tenant,omitempty"` Site *NestedSite `json:"site,omitempty"` Comments string `json:"comments,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` DeviceCount int32 `json:"device_count,omitempty"` VirtualmachineCount int32 `json:"virtualmachine_count,omitempty"` }
type ClusterGroup ¶
type ClusterType ¶
type ConfigContext ¶
type ConfigContext struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` Weight int32 `json:"weight,omitempty"` Description string `json:"description,omitempty"` IsActive bool `json:"is_active,omitempty"` Regions []NestedRegion `json:"regions,omitempty"` Sites []NestedSite `json:"sites,omitempty"` Roles []NestedDeviceRole `json:"roles,omitempty"` Platforms []NestedPlatform `json:"platforms,omitempty"` ClusterGroups []NestedClusterGroup `json:"cluster_groups,omitempty"` Clusters []NestedCluster `json:"clusters,omitempty"` TenantGroups []NestedTenantGroup `json:"tenant_groups,omitempty"` Tenants []NestedTenant `json:"tenants,omitempty"` Tags []string `json:"tags,omitempty"` Data string `json:"data"` }
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client }
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type ConnectionStatus ¶
type ConsolePort ¶
type ConsolePort struct { Id int32 `json:"id,omitempty"` Device *NestedDevice `json:"device"` Name string `json:"name"` Type_ *ModelType `json:"type,omitempty"` Description string `json:"description,omitempty"` ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"` // Return the appropriate serializer for the type of connected object. ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"` ConnectionStatus *ConnectionStatus `json:"connection_status,omitempty"` Cable *NestedCable `json:"cable,omitempty"` Tags []string `json:"tags,omitempty"` }
type ConsolePortTemplate ¶
type ConsolePortTemplate struct { Id int32 `json:"id,omitempty"` DeviceType *NestedDeviceType `json:"device_type"` Name string `json:"name"` Type_ *ModelType `json:"type,omitempty"` }
type ConsoleServerPort ¶
type ConsoleServerPort struct { Id int32 `json:"id,omitempty"` Device *NestedDevice `json:"device"` Name string `json:"name"` Type_ *ModelType `json:"type,omitempty"` Description string `json:"description,omitempty"` ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"` // Return the appropriate serializer for the type of connected object. ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"` ConnectionStatus *ConnectionStatus `json:"connection_status,omitempty"` Cable *NestedCable `json:"cable,omitempty"` Tags []string `json:"tags,omitempty"` }
type ConsoleServerPortTemplate ¶
type ConsoleServerPortTemplate struct { Id int32 `json:"id,omitempty"` DeviceType *NestedDeviceType `json:"device_type"` Name string `json:"name"` Type_ *ModelType `json:"type,omitempty"` }
type DcimApiDcimCablesListOpts ¶
type DcimApiDcimCablesListOpts struct { Id optional.String Label optional.String Length optional.String LengthUnit optional.String Q optional.String Type_ optional.String Status optional.String Color optional.String DeviceId optional.String Device optional.String RackId optional.String Rack optional.String SiteId optional.String Site optional.String TenantId optional.String Tenant optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String LabelN optional.String LabelIc optional.String LabelNic optional.String LabelIew optional.String LabelNiew optional.String LabelIsw optional.String LabelNisw optional.String LabelIe optional.String LabelNie optional.String LengthN optional.String LengthLte optional.String LengthLt optional.String LengthGte optional.String LengthGt optional.String LengthUnitN optional.String TypeN optional.String StatusN optional.String ColorN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimConsoleConnectionsListOpts ¶
type DcimApiDcimConsoleConnectionsListOpts struct { Name optional.String ConnectionStatus optional.String Site optional.String DeviceId optional.String Device optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String ConnectionStatusN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimConsolePortTemplatesListOpts ¶
type DcimApiDcimConsolePortTemplatesListOpts struct { Id optional.String Name optional.String Type_ optional.String Q optional.String DevicetypeId optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String TypeN optional.String DevicetypeIdN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimConsolePortsListOpts ¶
type DcimApiDcimConsolePortsListOpts struct { Id optional.String Name optional.String Description optional.String ConnectionStatus optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String DeviceId optional.String Device optional.String Tag optional.String Type_ optional.String Cabled optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String DescriptionN optional.String DescriptionIc optional.String DescriptionNic optional.String DescriptionIew optional.String DescriptionNiew optional.String DescriptionIsw optional.String DescriptionNisw optional.String DescriptionIe optional.String DescriptionNie optional.String ConnectionStatusN optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String DeviceIdN optional.String DeviceN optional.String TagN optional.String TypeN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimConsoleServerPortTemplatesListOpts ¶
type DcimApiDcimConsoleServerPortTemplatesListOpts struct { Id optional.String Name optional.String Type_ optional.String Q optional.String DevicetypeId optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String TypeN optional.String DevicetypeIdN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimConsoleServerPortsListOpts ¶
type DcimApiDcimConsoleServerPortsListOpts struct { Id optional.String Name optional.String Description optional.String ConnectionStatus optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String DeviceId optional.String Device optional.String Tag optional.String Type_ optional.String Cabled optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String DescriptionN optional.String DescriptionIc optional.String DescriptionNic optional.String DescriptionIew optional.String DescriptionNiew optional.String DescriptionIsw optional.String DescriptionNisw optional.String DescriptionIe optional.String DescriptionNie optional.String ConnectionStatusN optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String DeviceIdN optional.String DeviceN optional.String TagN optional.String TypeN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimDeviceBayTemplatesListOpts ¶
type DcimApiDcimDeviceBayTemplatesListOpts struct { Id optional.String Name optional.String Q optional.String DevicetypeId optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String DevicetypeIdN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimDeviceBaysListOpts ¶
type DcimApiDcimDeviceBaysListOpts struct { Id optional.String Name optional.String Description optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String DeviceId optional.String Device optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String DescriptionN optional.String DescriptionIc optional.String DescriptionNic optional.String DescriptionIew optional.String DescriptionNiew optional.String DescriptionIsw optional.String DescriptionNisw optional.String DescriptionIe optional.String DescriptionNie optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String DeviceIdN optional.String DeviceN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimDeviceRolesListOpts ¶
type DcimApiDcimDeviceRolesListOpts struct { Id optional.String Name optional.String Slug optional.String Color optional.String VmRole optional.String Q optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String ColorN optional.String ColorIc optional.String ColorNic optional.String ColorIew optional.String ColorNiew optional.String ColorIsw optional.String ColorNisw optional.String ColorIe optional.String ColorNie optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimDeviceTypesListOpts ¶
type DcimApiDcimDeviceTypesListOpts struct { Id optional.String Model optional.String Slug optional.String PartNumber optional.String UHeight optional.String IsFullDepth optional.String SubdeviceRole optional.String Created optional.String CreatedGte optional.String CreatedLte optional.String LastUpdated optional.String LastUpdatedGte optional.String LastUpdatedLte optional.String Q optional.String ManufacturerId optional.String Manufacturer optional.String ConsolePorts optional.String ConsoleServerPorts optional.String PowerPorts optional.String PowerOutlets optional.String Interfaces optional.String PassThroughPorts optional.String DeviceBays optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String ModelN optional.String ModelIc optional.String ModelNic optional.String ModelIew optional.String ModelNiew optional.String ModelIsw optional.String ModelNisw optional.String ModelIe optional.String ModelNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String PartNumberN optional.String PartNumberIc optional.String PartNumberNic optional.String PartNumberIew optional.String PartNumberNiew optional.String PartNumberIsw optional.String PartNumberNisw optional.String PartNumberIe optional.String PartNumberNie optional.String UHeightN optional.String UHeightLte optional.String UHeightLt optional.String UHeightGte optional.String UHeightGt optional.String SubdeviceRoleN optional.String ManufacturerIdN optional.String ManufacturerN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimDevicesListOpts ¶
type DcimApiDcimDevicesListOpts struct { Id optional.String Name optional.String AssetTag optional.String Face optional.String Position optional.String VcPosition optional.String VcPriority optional.String TenantGroupId optional.String TenantGroup optional.String TenantId optional.String Tenant optional.String LocalContextData optional.String Created optional.String CreatedGte optional.String CreatedLte optional.String LastUpdated optional.String LastUpdatedGte optional.String LastUpdatedLte optional.String Q optional.String ManufacturerId optional.String Manufacturer optional.String DeviceTypeId optional.String RoleId optional.String Role optional.String PlatformId optional.String Platform optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String RackGroupId optional.String RackId optional.String ClusterId optional.String Model optional.String Status optional.String IsFullDepth optional.String MacAddress optional.String Serial optional.String HasPrimaryIp optional.String VirtualChassisId optional.String VirtualChassisMember optional.String ConsolePorts optional.String ConsoleServerPorts optional.String PowerPorts optional.String PowerOutlets optional.String Interfaces optional.String PassThroughPorts optional.String DeviceBays optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String AssetTagN optional.String AssetTagIc optional.String AssetTagNic optional.String AssetTagIew optional.String AssetTagNiew optional.String AssetTagIsw optional.String AssetTagNisw optional.String AssetTagIe optional.String AssetTagNie optional.String FaceN optional.String PositionN optional.String PositionLte optional.String PositionLt optional.String PositionGte optional.String PositionGt optional.String VcPositionN optional.String VcPositionLte optional.String VcPositionLt optional.String VcPositionGte optional.String VcPositionGt optional.String VcPriorityN optional.String VcPriorityLte optional.String VcPriorityLt optional.String VcPriorityGte optional.String VcPriorityGt optional.String TenantGroupIdN optional.String TenantGroupN optional.String TenantIdN optional.String TenantN optional.String ManufacturerIdN optional.String ManufacturerN optional.String DeviceTypeIdN optional.String RoleIdN optional.String RoleN optional.String PlatformIdN optional.String PlatformN optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String RackGroupIdN optional.String RackIdN optional.String ClusterIdN optional.String ModelN optional.String StatusN optional.String MacAddressN optional.String MacAddressIc optional.String MacAddressNic optional.String MacAddressIew optional.String MacAddressNiew optional.String MacAddressIsw optional.String MacAddressNisw optional.String MacAddressIe optional.String MacAddressNie optional.String VirtualChassisIdN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimFrontPortTemplatesListOpts ¶
type DcimApiDcimFrontPortTemplatesListOpts struct { Id optional.String Name optional.String Type_ optional.String Q optional.String DevicetypeId optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String TypeN optional.String DevicetypeIdN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimFrontPortsListOpts ¶
type DcimApiDcimFrontPortsListOpts struct { Id optional.String Name optional.String Type_ optional.String Description optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String DeviceId optional.String Device optional.String Tag optional.String Cabled optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String TypeN optional.String DescriptionN optional.String DescriptionIc optional.String DescriptionNic optional.String DescriptionIew optional.String DescriptionNiew optional.String DescriptionIsw optional.String DescriptionNisw optional.String DescriptionIe optional.String DescriptionNie optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String DeviceIdN optional.String DeviceN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimInterfaceTemplatesListOpts ¶
type DcimApiDcimInterfaceTemplatesListOpts struct { Id optional.String Name optional.String Type_ optional.String MgmtOnly optional.String Q optional.String DevicetypeId optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String TypeN optional.String DevicetypeIdN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimInterfacesListOpts ¶
type DcimApiDcimInterfacesListOpts struct { Id optional.String Name optional.String ConnectionStatus optional.String Type_ optional.String Enabled optional.String Mtu optional.String MgmtOnly optional.String Mode optional.String Description optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String DeviceId optional.String Device optional.String Tag optional.String Cabled optional.String Kind optional.String LagId optional.String MacAddress optional.String VlanId optional.String Vlan optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String ConnectionStatusN optional.String TypeN optional.String MtuN optional.String MtuLte optional.String MtuLt optional.String MtuGte optional.String MtuGt optional.String ModeN optional.String DescriptionN optional.String DescriptionIc optional.String DescriptionNic optional.String DescriptionIew optional.String DescriptionNiew optional.String DescriptionIsw optional.String DescriptionNisw optional.String DescriptionIe optional.String DescriptionNie optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String TagN optional.String LagIdN optional.String MacAddressN optional.String MacAddressIc optional.String MacAddressNic optional.String MacAddressIew optional.String MacAddressNiew optional.String MacAddressIsw optional.String MacAddressNisw optional.String MacAddressIe optional.String MacAddressNie optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimInventoryItemsListOpts ¶
type DcimApiDcimInventoryItemsListOpts struct { Id optional.String Name optional.String PartId optional.String AssetTag optional.String Discovered optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String DeviceId optional.String Device optional.String Tag optional.String ParentId optional.String ManufacturerId optional.String Manufacturer optional.String Serial optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String PartIdN optional.String PartIdIc optional.String PartIdNic optional.String PartIdIew optional.String PartIdNiew optional.String PartIdIsw optional.String PartIdNisw optional.String PartIdIe optional.String PartIdNie optional.String AssetTagN optional.String AssetTagIc optional.String AssetTagNic optional.String AssetTagIew optional.String AssetTagNiew optional.String AssetTagIsw optional.String AssetTagNisw optional.String AssetTagIe optional.String AssetTagNie optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String DeviceIdN optional.String DeviceN optional.String TagN optional.String ParentIdN optional.String ManufacturerIdN optional.String ManufacturerN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimManufacturersListOpts ¶
type DcimApiDcimManufacturersListOpts struct { Id optional.String Name optional.String Slug optional.String Description optional.String Q optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String DescriptionN optional.String DescriptionIc optional.String DescriptionNic optional.String DescriptionIew optional.String DescriptionNiew optional.String DescriptionIsw optional.String DescriptionNisw optional.String DescriptionIe optional.String DescriptionNie optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimPlatformsListOpts ¶
type DcimApiDcimPlatformsListOpts struct { Id optional.String Name optional.String Slug optional.String NapalmDriver optional.String Description optional.String Q optional.String ManufacturerId optional.String Manufacturer optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String NapalmDriverN optional.String NapalmDriverIc optional.String NapalmDriverNic optional.String NapalmDriverIew optional.String NapalmDriverNiew optional.String NapalmDriverIsw optional.String NapalmDriverNisw optional.String NapalmDriverIe optional.String NapalmDriverNie optional.String DescriptionN optional.String DescriptionIc optional.String DescriptionNic optional.String DescriptionIew optional.String DescriptionNiew optional.String DescriptionIsw optional.String DescriptionNisw optional.String DescriptionIe optional.String DescriptionNie optional.String ManufacturerIdN optional.String ManufacturerN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimPowerConnectionsListOpts ¶
type DcimApiDcimPowerConnectionsListOpts struct { Name optional.String ConnectionStatus optional.String Site optional.String DeviceId optional.String Device optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String ConnectionStatusN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimPowerFeedsListOpts ¶
type DcimApiDcimPowerFeedsListOpts struct { Id optional.String Name optional.String Status optional.String Type_ optional.String Supply optional.String Phase optional.String Voltage optional.String Amperage optional.String MaxUtilization optional.String Created optional.String CreatedGte optional.String CreatedLte optional.String LastUpdated optional.String LastUpdatedGte optional.String LastUpdatedLte optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String PowerPanelId optional.String RackId optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String StatusN optional.String TypeN optional.String SupplyN optional.String PhaseN optional.String VoltageN optional.String VoltageLte optional.String VoltageLt optional.String VoltageGte optional.String VoltageGt optional.String AmperageN optional.String AmperageLte optional.String AmperageLt optional.String AmperageGte optional.String AmperageGt optional.String MaxUtilizationN optional.String MaxUtilizationLte optional.String MaxUtilizationLt optional.String MaxUtilizationGte optional.String MaxUtilizationGt optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String PowerPanelIdN optional.String RackIdN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimPowerOutletTemplatesListOpts ¶
type DcimApiDcimPowerOutletTemplatesListOpts struct { Id optional.String Name optional.String Type_ optional.String FeedLeg optional.String Q optional.String DevicetypeId optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String TypeN optional.String FeedLegN optional.String DevicetypeIdN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimPowerOutletsListOpts ¶
type DcimApiDcimPowerOutletsListOpts struct { Id optional.String Name optional.String FeedLeg optional.String Description optional.String ConnectionStatus optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String DeviceId optional.String Device optional.String Tag optional.String Type_ optional.String Cabled optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String FeedLegN optional.String DescriptionN optional.String DescriptionIc optional.String DescriptionNic optional.String DescriptionIew optional.String DescriptionNiew optional.String DescriptionIsw optional.String DescriptionNisw optional.String DescriptionIe optional.String DescriptionNie optional.String ConnectionStatusN optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String DeviceIdN optional.String DeviceN optional.String TagN optional.String TypeN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimPowerPanelsListOpts ¶
type DcimApiDcimPowerPanelsListOpts struct { Id optional.String Name optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String RackGroupId optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String RackGroupIdN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimPowerPortTemplatesListOpts ¶
type DcimApiDcimPowerPortTemplatesListOpts struct { Id optional.String Name optional.String Type_ optional.String MaximumDraw optional.String AllocatedDraw optional.String Q optional.String DevicetypeId optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String TypeN optional.String MaximumDrawN optional.String MaximumDrawLte optional.String MaximumDrawLt optional.String MaximumDrawGte optional.String MaximumDrawGt optional.String AllocatedDrawN optional.String AllocatedDrawLte optional.String AllocatedDrawLt optional.String AllocatedDrawGte optional.String AllocatedDrawGt optional.String DevicetypeIdN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimPowerPortsListOpts ¶
type DcimApiDcimPowerPortsListOpts struct { Id optional.String Name optional.String MaximumDraw optional.String AllocatedDraw optional.String Description optional.String ConnectionStatus optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String DeviceId optional.String Device optional.String Tag optional.String Type_ optional.String Cabled optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String MaximumDrawN optional.String MaximumDrawLte optional.String MaximumDrawLt optional.String MaximumDrawGte optional.String MaximumDrawGt optional.String AllocatedDrawN optional.String AllocatedDrawLte optional.String AllocatedDrawLt optional.String AllocatedDrawGte optional.String AllocatedDrawGt optional.String DescriptionN optional.String DescriptionIc optional.String DescriptionNic optional.String DescriptionIew optional.String DescriptionNiew optional.String DescriptionIsw optional.String DescriptionNisw optional.String DescriptionIe optional.String DescriptionNie optional.String ConnectionStatusN optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String DeviceIdN optional.String DeviceN optional.String TagN optional.String TypeN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimRackGroupsListOpts ¶
type DcimApiDcimRackGroupsListOpts struct { Id optional.String Name optional.String Slug optional.String Description optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String ParentId optional.String Parent optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String DescriptionN optional.String DescriptionIc optional.String DescriptionNic optional.String DescriptionIew optional.String DescriptionNiew optional.String DescriptionIsw optional.String DescriptionNisw optional.String DescriptionIe optional.String DescriptionNie optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String ParentIdN optional.String ParentN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimRackReservationsListOpts ¶
type DcimApiDcimRackReservationsListOpts struct { Id optional.String Created optional.String TenantGroupId optional.String TenantGroup optional.String TenantId optional.String Tenant optional.String Q optional.String RackId optional.String SiteId optional.String Site optional.String GroupId optional.String Group optional.String UserId optional.String User optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String CreatedN optional.String CreatedLte optional.String CreatedLt optional.String CreatedGte optional.String CreatedGt optional.String TenantGroupIdN optional.String TenantGroupN optional.String TenantIdN optional.String TenantN optional.String RackIdN optional.String SiteIdN optional.String SiteN optional.String GroupIdN optional.String GroupN optional.String UserIdN optional.String UserN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimRackRolesListOpts ¶
type DcimApiDcimRackRolesListOpts struct { Id optional.String Name optional.String Slug optional.String Color optional.String Q optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String ColorN optional.String ColorIc optional.String ColorNic optional.String ColorIew optional.String ColorNiew optional.String ColorIsw optional.String ColorNisw optional.String ColorIe optional.String ColorNie optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimRacksListOpts ¶
type DcimApiDcimRacksListOpts struct { Id optional.String Name optional.String FacilityId optional.String AssetTag optional.String Type_ optional.String Width optional.String UHeight optional.String DescUnits optional.String OuterWidth optional.String OuterDepth optional.String OuterUnit optional.String TenantGroupId optional.String TenantGroup optional.String TenantId optional.String Tenant optional.String Created optional.String CreatedGte optional.String CreatedLte optional.String LastUpdated optional.String LastUpdatedGte optional.String LastUpdatedLte optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String GroupId optional.String Group optional.String Status optional.String RoleId optional.String Role optional.String Serial optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String FacilityIdN optional.String FacilityIdIc optional.String FacilityIdNic optional.String FacilityIdIew optional.String FacilityIdNiew optional.String FacilityIdIsw optional.String FacilityIdNisw optional.String FacilityIdIe optional.String FacilityIdNie optional.String AssetTagN optional.String AssetTagIc optional.String AssetTagNic optional.String AssetTagIew optional.String AssetTagNiew optional.String AssetTagIsw optional.String AssetTagNisw optional.String AssetTagIe optional.String AssetTagNie optional.String TypeN optional.String WidthN optional.String UHeightN optional.String UHeightLte optional.String UHeightLt optional.String UHeightGte optional.String UHeightGt optional.String OuterWidthN optional.String OuterWidthLte optional.String OuterWidthLt optional.String OuterWidthGte optional.String OuterWidthGt optional.String OuterDepthN optional.String OuterDepthLte optional.String OuterDepthLt optional.String OuterDepthGte optional.String OuterDepthGt optional.String OuterUnitN optional.String TenantGroupIdN optional.String TenantGroupN optional.String TenantIdN optional.String TenantN optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String GroupIdN optional.String GroupN optional.String StatusN optional.String RoleIdN optional.String RoleN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimRearPortTemplatesListOpts ¶
type DcimApiDcimRearPortTemplatesListOpts struct { Id optional.String Name optional.String Type_ optional.String Positions optional.String Q optional.String DevicetypeId optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String TypeN optional.String PositionsN optional.String PositionsLte optional.String PositionsLt optional.String PositionsGte optional.String PositionsGt optional.String DevicetypeIdN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimRearPortsListOpts ¶
type DcimApiDcimRearPortsListOpts struct { Id optional.String Name optional.String Type_ optional.String Positions optional.String Description optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String DeviceId optional.String Device optional.String Tag optional.String Cabled optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String TypeN optional.String PositionsN optional.String PositionsLte optional.String PositionsLt optional.String PositionsGte optional.String PositionsGt optional.String DescriptionN optional.String DescriptionIc optional.String DescriptionNic optional.String DescriptionIew optional.String DescriptionNiew optional.String DescriptionIsw optional.String DescriptionNisw optional.String DescriptionIe optional.String DescriptionNie optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String DeviceIdN optional.String DeviceN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimRegionsListOpts ¶
type DcimApiDcimRegionsListOpts struct { Id optional.String Name optional.String Slug optional.String Description optional.String Q optional.String ParentId optional.String Parent optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String DescriptionN optional.String DescriptionIc optional.String DescriptionNic optional.String DescriptionIew optional.String DescriptionNiew optional.String DescriptionIsw optional.String DescriptionNisw optional.String DescriptionIe optional.String DescriptionNie optional.String ParentIdN optional.String ParentN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimSitesListOpts ¶
type DcimApiDcimSitesListOpts struct { Id optional.String Name optional.String Slug optional.String Facility optional.String Asn optional.String Latitude optional.String Longitude optional.String ContactName optional.String ContactPhone optional.String ContactEmail optional.String TenantGroupId optional.String TenantGroup optional.String TenantId optional.String Tenant optional.String Created optional.String CreatedGte optional.String CreatedLte optional.String LastUpdated optional.String LastUpdatedGte optional.String LastUpdatedLte optional.String Q optional.String Status optional.String RegionId optional.String Region optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String FacilityN optional.String FacilityIc optional.String FacilityNic optional.String FacilityIew optional.String FacilityNiew optional.String FacilityIsw optional.String FacilityNisw optional.String FacilityIe optional.String FacilityNie optional.String AsnN optional.String AsnLte optional.String AsnLt optional.String AsnGte optional.String AsnGt optional.String LatitudeN optional.String LatitudeLte optional.String LatitudeLt optional.String LatitudeGte optional.String LatitudeGt optional.String LongitudeN optional.String LongitudeLte optional.String LongitudeLt optional.String LongitudeGte optional.String LongitudeGt optional.String ContactNameN optional.String ContactNameIc optional.String ContactNameNic optional.String ContactNameIew optional.String ContactNameNiew optional.String ContactNameIsw optional.String ContactNameNisw optional.String ContactNameIe optional.String ContactNameNie optional.String ContactPhoneN optional.String ContactPhoneIc optional.String ContactPhoneNic optional.String ContactPhoneIew optional.String ContactPhoneNiew optional.String ContactPhoneIsw optional.String ContactPhoneNisw optional.String ContactPhoneIe optional.String ContactPhoneNie optional.String ContactEmailN optional.String ContactEmailIc optional.String ContactEmailNic optional.String ContactEmailIew optional.String ContactEmailNiew optional.String ContactEmailIsw optional.String ContactEmailNisw optional.String ContactEmailIe optional.String ContactEmailNie optional.String TenantGroupIdN optional.String TenantGroupN optional.String TenantIdN optional.String TenantN optional.String StatusN optional.String RegionIdN optional.String RegionN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiDcimVirtualChassisListOpts ¶
type DcimApiDcimVirtualChassisListOpts struct { Id optional.String Domain optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String TenantId optional.String Tenant optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String DomainN optional.String DomainIc optional.String DomainNic optional.String DomainIew optional.String DomainNiew optional.String DomainIsw optional.String DomainNisw optional.String DomainIe optional.String DomainNie optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String TenantIdN optional.String TenantN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type DcimApiService ¶
type DcimApiService service
func (*DcimApiService) DcimCablesCreate ¶
func (a *DcimApiService) DcimCablesCreate(ctx context.Context, data WritableCable) (Cable, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Cable
func (*DcimApiService) DcimCablesDelete ¶
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this cable.
func (*DcimApiService) DcimCablesList ¶
func (a *DcimApiService) DcimCablesList(ctx context.Context, localVarOptionals *DcimApiDcimCablesListOpts) (InlineResponse2004, *http.Response, error)
func (*DcimApiService) DcimCablesPartialUpdate ¶
func (a *DcimApiService) DcimCablesPartialUpdate(ctx context.Context, id int32, data WritableCable) (Cable, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this cable.
- @param data
@return Cable
func (*DcimApiService) DcimCablesRead ¶
func (a *DcimApiService) DcimCablesRead(ctx context.Context, id int32) (Cable, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this cable.
@return Cable
func (*DcimApiService) DcimCablesUpdate ¶
func (a *DcimApiService) DcimCablesUpdate(ctx context.Context, id int32, data WritableCable) (Cable, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this cable.
- @param data
@return Cable
func (*DcimApiService) DcimConnectedDeviceList ¶
func (a *DcimApiService) DcimConnectedDeviceList(ctx context.Context, peerDevice string, peerInterface string) (Device, *http.Response, error)
DcimApiService This endpoint allows a user to determine what device (if any) is connected to a given peer device and peer interface. This is useful in a situation where a device boots with no configuration, but can detect its neighbors via a protocol such as LLDP. Two query parameters must be included in the request: * `peer_device`: The name of the peer device * `peer_interface`: The name of the peer interface
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param peerDevice The name of the peer device
- @param peerInterface The name of the peer interface
@return Device
func (*DcimApiService) DcimConsoleConnectionsList ¶
func (a *DcimApiService) DcimConsoleConnectionsList(ctx context.Context, localVarOptionals *DcimApiDcimConsoleConnectionsListOpts) (InlineResponse2005, *http.Response, error)
func (*DcimApiService) DcimConsolePortTemplatesCreate ¶
func (a *DcimApiService) DcimConsolePortTemplatesCreate(ctx context.Context, data WritableConsolePortTemplate) (ConsolePortTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return ConsolePortTemplate
func (*DcimApiService) DcimConsolePortTemplatesDelete ¶
func (a *DcimApiService) DcimConsolePortTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console port template.
func (*DcimApiService) DcimConsolePortTemplatesList ¶
func (a *DcimApiService) DcimConsolePortTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimConsolePortTemplatesListOpts) (InlineResponse2006, *http.Response, error)
func (*DcimApiService) DcimConsolePortTemplatesPartialUpdate ¶
func (a *DcimApiService) DcimConsolePortTemplatesPartialUpdate(ctx context.Context, id int32, data WritableConsolePortTemplate) (ConsolePortTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console port template.
- @param data
@return ConsolePortTemplate
func (*DcimApiService) DcimConsolePortTemplatesRead ¶
func (a *DcimApiService) DcimConsolePortTemplatesRead(ctx context.Context, id int32) (ConsolePortTemplate, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console port template.
@return ConsolePortTemplate
func (*DcimApiService) DcimConsolePortTemplatesUpdate ¶
func (a *DcimApiService) DcimConsolePortTemplatesUpdate(ctx context.Context, id int32, data WritableConsolePortTemplate) (ConsolePortTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console port template.
- @param data
@return ConsolePortTemplate
func (*DcimApiService) DcimConsolePortsCreate ¶
func (a *DcimApiService) DcimConsolePortsCreate(ctx context.Context, data WritableConsolePort) (ConsolePort, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return ConsolePort
func (*DcimApiService) DcimConsolePortsDelete ¶
func (a *DcimApiService) DcimConsolePortsDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console port.
func (*DcimApiService) DcimConsolePortsList ¶
func (a *DcimApiService) DcimConsolePortsList(ctx context.Context, localVarOptionals *DcimApiDcimConsolePortsListOpts) (InlineResponse2005, *http.Response, error)
func (*DcimApiService) DcimConsolePortsPartialUpdate ¶
func (a *DcimApiService) DcimConsolePortsPartialUpdate(ctx context.Context, id int32, data WritableConsolePort) (ConsolePort, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console port.
- @param data
@return ConsolePort
func (*DcimApiService) DcimConsolePortsRead ¶
func (a *DcimApiService) DcimConsolePortsRead(ctx context.Context, id int32) (ConsolePort, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console port.
@return ConsolePort
func (*DcimApiService) DcimConsolePortsTrace ¶
func (a *DcimApiService) DcimConsolePortsTrace(ctx context.Context, id int32) (ConsolePort, *http.Response, error)
DcimApiService Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console port.
@return ConsolePort
func (*DcimApiService) DcimConsolePortsUpdate ¶
func (a *DcimApiService) DcimConsolePortsUpdate(ctx context.Context, id int32, data WritableConsolePort) (ConsolePort, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console port.
- @param data
@return ConsolePort
func (*DcimApiService) DcimConsoleServerPortTemplatesCreate ¶
func (a *DcimApiService) DcimConsoleServerPortTemplatesCreate(ctx context.Context, data WritableConsoleServerPortTemplate) (ConsoleServerPortTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return ConsoleServerPortTemplate
func (*DcimApiService) DcimConsoleServerPortTemplatesDelete ¶
func (a *DcimApiService) DcimConsoleServerPortTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console server port template.
func (*DcimApiService) DcimConsoleServerPortTemplatesList ¶
func (a *DcimApiService) DcimConsoleServerPortTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimConsoleServerPortTemplatesListOpts) (InlineResponse2007, *http.Response, error)
func (*DcimApiService) DcimConsoleServerPortTemplatesPartialUpdate ¶
func (a *DcimApiService) DcimConsoleServerPortTemplatesPartialUpdate(ctx context.Context, id int32, data WritableConsoleServerPortTemplate) (ConsoleServerPortTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console server port template.
- @param data
@return ConsoleServerPortTemplate
func (*DcimApiService) DcimConsoleServerPortTemplatesRead ¶
func (a *DcimApiService) DcimConsoleServerPortTemplatesRead(ctx context.Context, id int32) (ConsoleServerPortTemplate, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console server port template.
@return ConsoleServerPortTemplate
func (*DcimApiService) DcimConsoleServerPortTemplatesUpdate ¶
func (a *DcimApiService) DcimConsoleServerPortTemplatesUpdate(ctx context.Context, id int32, data WritableConsoleServerPortTemplate) (ConsoleServerPortTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console server port template.
- @param data
@return ConsoleServerPortTemplate
func (*DcimApiService) DcimConsoleServerPortsCreate ¶
func (a *DcimApiService) DcimConsoleServerPortsCreate(ctx context.Context, data WritableConsoleServerPort) (ConsoleServerPort, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return ConsoleServerPort
func (*DcimApiService) DcimConsoleServerPortsDelete ¶
func (a *DcimApiService) DcimConsoleServerPortsDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console server port.
func (*DcimApiService) DcimConsoleServerPortsList ¶
func (a *DcimApiService) DcimConsoleServerPortsList(ctx context.Context, localVarOptionals *DcimApiDcimConsoleServerPortsListOpts) (InlineResponse2008, *http.Response, error)
func (*DcimApiService) DcimConsoleServerPortsPartialUpdate ¶
func (a *DcimApiService) DcimConsoleServerPortsPartialUpdate(ctx context.Context, id int32, data WritableConsoleServerPort) (ConsoleServerPort, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console server port.
- @param data
@return ConsoleServerPort
func (*DcimApiService) DcimConsoleServerPortsRead ¶
func (a *DcimApiService) DcimConsoleServerPortsRead(ctx context.Context, id int32) (ConsoleServerPort, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console server port.
@return ConsoleServerPort
func (*DcimApiService) DcimConsoleServerPortsTrace ¶
func (a *DcimApiService) DcimConsoleServerPortsTrace(ctx context.Context, id int32) (ConsoleServerPort, *http.Response, error)
DcimApiService Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console server port.
@return ConsoleServerPort
func (*DcimApiService) DcimConsoleServerPortsUpdate ¶
func (a *DcimApiService) DcimConsoleServerPortsUpdate(ctx context.Context, id int32, data WritableConsoleServerPort) (ConsoleServerPort, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this console server port.
- @param data
@return ConsoleServerPort
func (*DcimApiService) DcimDeviceBayTemplatesCreate ¶
func (a *DcimApiService) DcimDeviceBayTemplatesCreate(ctx context.Context, data WritableDeviceBayTemplate) (DeviceBayTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return DeviceBayTemplate
func (*DcimApiService) DcimDeviceBayTemplatesDelete ¶
func (a *DcimApiService) DcimDeviceBayTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device bay template.
func (*DcimApiService) DcimDeviceBayTemplatesList ¶
func (a *DcimApiService) DcimDeviceBayTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimDeviceBayTemplatesListOpts) (InlineResponse2009, *http.Response, error)
func (*DcimApiService) DcimDeviceBayTemplatesPartialUpdate ¶
func (a *DcimApiService) DcimDeviceBayTemplatesPartialUpdate(ctx context.Context, id int32, data WritableDeviceBayTemplate) (DeviceBayTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device bay template.
- @param data
@return DeviceBayTemplate
func (*DcimApiService) DcimDeviceBayTemplatesRead ¶
func (a *DcimApiService) DcimDeviceBayTemplatesRead(ctx context.Context, id int32) (DeviceBayTemplate, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device bay template.
@return DeviceBayTemplate
func (*DcimApiService) DcimDeviceBayTemplatesUpdate ¶
func (a *DcimApiService) DcimDeviceBayTemplatesUpdate(ctx context.Context, id int32, data WritableDeviceBayTemplate) (DeviceBayTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device bay template.
- @param data
@return DeviceBayTemplate
func (*DcimApiService) DcimDeviceBaysCreate ¶
func (a *DcimApiService) DcimDeviceBaysCreate(ctx context.Context, data WritableDeviceBay) (DeviceBay, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return DeviceBay
func (*DcimApiService) DcimDeviceBaysDelete ¶
func (a *DcimApiService) DcimDeviceBaysDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device bay.
func (*DcimApiService) DcimDeviceBaysList ¶
func (a *DcimApiService) DcimDeviceBaysList(ctx context.Context, localVarOptionals *DcimApiDcimDeviceBaysListOpts) (InlineResponse20010, *http.Response, error)
func (*DcimApiService) DcimDeviceBaysPartialUpdate ¶
func (a *DcimApiService) DcimDeviceBaysPartialUpdate(ctx context.Context, id int32, data WritableDeviceBay) (DeviceBay, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device bay.
- @param data
@return DeviceBay
func (*DcimApiService) DcimDeviceBaysRead ¶
func (a *DcimApiService) DcimDeviceBaysRead(ctx context.Context, id int32) (DeviceBay, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device bay.
@return DeviceBay
func (*DcimApiService) DcimDeviceBaysUpdate ¶
func (a *DcimApiService) DcimDeviceBaysUpdate(ctx context.Context, id int32, data WritableDeviceBay) (DeviceBay, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device bay.
- @param data
@return DeviceBay
func (*DcimApiService) DcimDeviceRolesCreate ¶
func (a *DcimApiService) DcimDeviceRolesCreate(ctx context.Context, data DeviceRole) (DeviceRole, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return DeviceRole
func (*DcimApiService) DcimDeviceRolesDelete ¶
func (a *DcimApiService) DcimDeviceRolesDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device role.
func (*DcimApiService) DcimDeviceRolesList ¶
func (a *DcimApiService) DcimDeviceRolesList(ctx context.Context, localVarOptionals *DcimApiDcimDeviceRolesListOpts) (InlineResponse20011, *http.Response, error)
func (*DcimApiService) DcimDeviceRolesPartialUpdate ¶
func (a *DcimApiService) DcimDeviceRolesPartialUpdate(ctx context.Context, id int32, data DeviceRole) (DeviceRole, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device role.
- @param data
@return DeviceRole
func (*DcimApiService) DcimDeviceRolesRead ¶
func (a *DcimApiService) DcimDeviceRolesRead(ctx context.Context, id int32) (DeviceRole, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device role.
@return DeviceRole
func (*DcimApiService) DcimDeviceRolesUpdate ¶
func (a *DcimApiService) DcimDeviceRolesUpdate(ctx context.Context, id int32, data DeviceRole) (DeviceRole, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device role.
- @param data
@return DeviceRole
func (*DcimApiService) DcimDeviceTypesCreate ¶
func (a *DcimApiService) DcimDeviceTypesCreate(ctx context.Context, data WritableDeviceType) (DeviceType, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return DeviceType
func (*DcimApiService) DcimDeviceTypesDelete ¶
func (a *DcimApiService) DcimDeviceTypesDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device type.
func (*DcimApiService) DcimDeviceTypesList ¶
func (a *DcimApiService) DcimDeviceTypesList(ctx context.Context, localVarOptionals *DcimApiDcimDeviceTypesListOpts) (InlineResponse20012, *http.Response, error)
func (*DcimApiService) DcimDeviceTypesPartialUpdate ¶
func (a *DcimApiService) DcimDeviceTypesPartialUpdate(ctx context.Context, id int32, data WritableDeviceType) (DeviceType, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device type.
- @param data
@return DeviceType
func (*DcimApiService) DcimDeviceTypesRead ¶
func (a *DcimApiService) DcimDeviceTypesRead(ctx context.Context, id int32) (DeviceType, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device type.
@return DeviceType
func (*DcimApiService) DcimDeviceTypesUpdate ¶
func (a *DcimApiService) DcimDeviceTypesUpdate(ctx context.Context, id int32, data WritableDeviceType) (DeviceType, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device type.
- @param data
@return DeviceType
func (*DcimApiService) DcimDevicesCreate ¶
func (a *DcimApiService) DcimDevicesCreate(ctx context.Context, data WritableDeviceWithConfigContext) (DeviceWithConfigContext, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return DeviceWithConfigContext
func (*DcimApiService) DcimDevicesDelete ¶
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device.
func (*DcimApiService) DcimDevicesGraphs ¶
func (a *DcimApiService) DcimDevicesGraphs(ctx context.Context, id int32) (DeviceWithConfigContext, *http.Response, error)
DcimApiService A convenience method for rendering graphs for a particular Device.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device.
@return DeviceWithConfigContext
func (*DcimApiService) DcimDevicesList ¶
func (a *DcimApiService) DcimDevicesList(ctx context.Context, localVarOptionals *DcimApiDcimDevicesListOpts) (InlineResponse20013, *http.Response, error)
func (*DcimApiService) DcimDevicesNapalm ¶
func (a *DcimApiService) DcimDevicesNapalm(ctx context.Context, id int32, method string) (DeviceNapalm, *http.Response, error)
DcimApiService Execute a NAPALM method on a Device
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device.
- @param method
@return DeviceNapalm
func (*DcimApiService) DcimDevicesPartialUpdate ¶
func (a *DcimApiService) DcimDevicesPartialUpdate(ctx context.Context, id int32, data WritableDeviceWithConfigContext) (DeviceWithConfigContext, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device.
- @param data
@return DeviceWithConfigContext
func (*DcimApiService) DcimDevicesRead ¶
func (a *DcimApiService) DcimDevicesRead(ctx context.Context, id int32) (DeviceWithConfigContext, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device.
@return DeviceWithConfigContext
func (*DcimApiService) DcimDevicesUpdate ¶
func (a *DcimApiService) DcimDevicesUpdate(ctx context.Context, id int32, data WritableDeviceWithConfigContext) (DeviceWithConfigContext, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this device.
- @param data
@return DeviceWithConfigContext
func (*DcimApiService) DcimFrontPortTemplatesCreate ¶
func (a *DcimApiService) DcimFrontPortTemplatesCreate(ctx context.Context, data WritableFrontPortTemplate) (FrontPortTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return FrontPortTemplate
func (*DcimApiService) DcimFrontPortTemplatesDelete ¶
func (a *DcimApiService) DcimFrontPortTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this front port template.
func (*DcimApiService) DcimFrontPortTemplatesList ¶
func (a *DcimApiService) DcimFrontPortTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimFrontPortTemplatesListOpts) (InlineResponse20014, *http.Response, error)
func (*DcimApiService) DcimFrontPortTemplatesPartialUpdate ¶
func (a *DcimApiService) DcimFrontPortTemplatesPartialUpdate(ctx context.Context, id int32, data WritableFrontPortTemplate) (FrontPortTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this front port template.
- @param data
@return FrontPortTemplate
func (*DcimApiService) DcimFrontPortTemplatesRead ¶
func (a *DcimApiService) DcimFrontPortTemplatesRead(ctx context.Context, id int32) (FrontPortTemplate, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this front port template.
@return FrontPortTemplate
func (*DcimApiService) DcimFrontPortTemplatesUpdate ¶
func (a *DcimApiService) DcimFrontPortTemplatesUpdate(ctx context.Context, id int32, data WritableFrontPortTemplate) (FrontPortTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this front port template.
- @param data
@return FrontPortTemplate
func (*DcimApiService) DcimFrontPortsCreate ¶
func (a *DcimApiService) DcimFrontPortsCreate(ctx context.Context, data WritableFrontPort) (FrontPort, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return FrontPort
func (*DcimApiService) DcimFrontPortsDelete ¶
func (a *DcimApiService) DcimFrontPortsDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this front port.
func (*DcimApiService) DcimFrontPortsList ¶
func (a *DcimApiService) DcimFrontPortsList(ctx context.Context, localVarOptionals *DcimApiDcimFrontPortsListOpts) (InlineResponse20015, *http.Response, error)
func (*DcimApiService) DcimFrontPortsPartialUpdate ¶
func (a *DcimApiService) DcimFrontPortsPartialUpdate(ctx context.Context, id int32, data WritableFrontPort) (FrontPort, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this front port.
- @param data
@return FrontPort
func (*DcimApiService) DcimFrontPortsRead ¶
func (a *DcimApiService) DcimFrontPortsRead(ctx context.Context, id int32) (FrontPort, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this front port.
@return FrontPort
func (*DcimApiService) DcimFrontPortsUpdate ¶
func (a *DcimApiService) DcimFrontPortsUpdate(ctx context.Context, id int32, data WritableFrontPort) (FrontPort, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this front port.
- @param data
@return FrontPort
func (*DcimApiService) DcimInterfaceConnectionsList ¶
func (a *DcimApiService) DcimInterfaceConnectionsList(ctx context.Context, localVarOptionals *DcimApiDcimInterfaceConnectionsListOpts) (InlineResponse20016, *http.Response, error)
func (*DcimApiService) DcimInterfaceTemplatesCreate ¶
func (a *DcimApiService) DcimInterfaceTemplatesCreate(ctx context.Context, data WritableInterfaceTemplate) (InterfaceTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return InterfaceTemplate
func (*DcimApiService) DcimInterfaceTemplatesDelete ¶
func (a *DcimApiService) DcimInterfaceTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this interface template.
func (*DcimApiService) DcimInterfaceTemplatesList ¶
func (a *DcimApiService) DcimInterfaceTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimInterfaceTemplatesListOpts) (InlineResponse20017, *http.Response, error)
func (*DcimApiService) DcimInterfaceTemplatesPartialUpdate ¶
func (a *DcimApiService) DcimInterfaceTemplatesPartialUpdate(ctx context.Context, id int32, data WritableInterfaceTemplate) (InterfaceTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this interface template.
- @param data
@return InterfaceTemplate
func (*DcimApiService) DcimInterfaceTemplatesRead ¶
func (a *DcimApiService) DcimInterfaceTemplatesRead(ctx context.Context, id int32) (InterfaceTemplate, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this interface template.
@return InterfaceTemplate
func (*DcimApiService) DcimInterfaceTemplatesUpdate ¶
func (a *DcimApiService) DcimInterfaceTemplatesUpdate(ctx context.Context, id int32, data WritableInterfaceTemplate) (InterfaceTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this interface template.
- @param data
@return InterfaceTemplate
func (*DcimApiService) DcimInterfacesCreate ¶
func (a *DcimApiService) DcimInterfacesCreate(ctx context.Context, data WritableDeviceInterface) (DeviceInterface, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return DeviceInterface
func (*DcimApiService) DcimInterfacesDelete ¶
func (a *DcimApiService) DcimInterfacesDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this interface.
func (*DcimApiService) DcimInterfacesGraphs ¶
func (a *DcimApiService) DcimInterfacesGraphs(ctx context.Context, id int32) (DeviceInterface, *http.Response, error)
DcimApiService A convenience method for rendering graphs for a particular interface.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this interface.
@return DeviceInterface
func (*DcimApiService) DcimInterfacesList ¶
func (a *DcimApiService) DcimInterfacesList(ctx context.Context, localVarOptionals *DcimApiDcimInterfacesListOpts) (InlineResponse20018, *http.Response, error)
func (*DcimApiService) DcimInterfacesPartialUpdate ¶
func (a *DcimApiService) DcimInterfacesPartialUpdate(ctx context.Context, id int32, data WritableDeviceInterface) (DeviceInterface, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this interface.
- @param data
@return DeviceInterface
func (*DcimApiService) DcimInterfacesRead ¶
func (a *DcimApiService) DcimInterfacesRead(ctx context.Context, id int32) (DeviceInterface, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this interface.
@return DeviceInterface
func (*DcimApiService) DcimInterfacesTrace ¶
func (a *DcimApiService) DcimInterfacesTrace(ctx context.Context, id int32) (DeviceInterface, *http.Response, error)
DcimApiService Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this interface.
@return DeviceInterface
func (*DcimApiService) DcimInterfacesUpdate ¶
func (a *DcimApiService) DcimInterfacesUpdate(ctx context.Context, id int32, data WritableDeviceInterface) (DeviceInterface, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this interface.
- @param data
@return DeviceInterface
func (*DcimApiService) DcimInventoryItemsCreate ¶
func (a *DcimApiService) DcimInventoryItemsCreate(ctx context.Context, data WritableInventoryItem) (InventoryItem, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return InventoryItem
func (*DcimApiService) DcimInventoryItemsDelete ¶
func (a *DcimApiService) DcimInventoryItemsDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this inventory item.
func (*DcimApiService) DcimInventoryItemsList ¶
func (a *DcimApiService) DcimInventoryItemsList(ctx context.Context, localVarOptionals *DcimApiDcimInventoryItemsListOpts) (InlineResponse20019, *http.Response, error)
func (*DcimApiService) DcimInventoryItemsPartialUpdate ¶
func (a *DcimApiService) DcimInventoryItemsPartialUpdate(ctx context.Context, id int32, data WritableInventoryItem) (InventoryItem, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this inventory item.
- @param data
@return InventoryItem
func (*DcimApiService) DcimInventoryItemsRead ¶
func (a *DcimApiService) DcimInventoryItemsRead(ctx context.Context, id int32) (InventoryItem, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this inventory item.
@return InventoryItem
func (*DcimApiService) DcimInventoryItemsUpdate ¶
func (a *DcimApiService) DcimInventoryItemsUpdate(ctx context.Context, id int32, data WritableInventoryItem) (InventoryItem, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this inventory item.
- @param data
@return InventoryItem
func (*DcimApiService) DcimManufacturersCreate ¶
func (a *DcimApiService) DcimManufacturersCreate(ctx context.Context, data Manufacturer) (Manufacturer, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Manufacturer
func (*DcimApiService) DcimManufacturersDelete ¶
func (a *DcimApiService) DcimManufacturersDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this manufacturer.
func (*DcimApiService) DcimManufacturersList ¶
func (a *DcimApiService) DcimManufacturersList(ctx context.Context, localVarOptionals *DcimApiDcimManufacturersListOpts) (InlineResponse20020, *http.Response, error)
func (*DcimApiService) DcimManufacturersPartialUpdate ¶
func (a *DcimApiService) DcimManufacturersPartialUpdate(ctx context.Context, id int32, data Manufacturer) (Manufacturer, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this manufacturer.
- @param data
@return Manufacturer
func (*DcimApiService) DcimManufacturersRead ¶
func (a *DcimApiService) DcimManufacturersRead(ctx context.Context, id int32) (Manufacturer, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this manufacturer.
@return Manufacturer
func (*DcimApiService) DcimManufacturersUpdate ¶
func (a *DcimApiService) DcimManufacturersUpdate(ctx context.Context, id int32, data Manufacturer) (Manufacturer, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this manufacturer.
- @param data
@return Manufacturer
func (*DcimApiService) DcimPlatformsCreate ¶
func (a *DcimApiService) DcimPlatformsCreate(ctx context.Context, data WritablePlatform) (Platform, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Platform
func (*DcimApiService) DcimPlatformsDelete ¶
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this platform.
func (*DcimApiService) DcimPlatformsList ¶
func (a *DcimApiService) DcimPlatformsList(ctx context.Context, localVarOptionals *DcimApiDcimPlatformsListOpts) (InlineResponse20021, *http.Response, error)
func (*DcimApiService) DcimPlatformsPartialUpdate ¶
func (a *DcimApiService) DcimPlatformsPartialUpdate(ctx context.Context, id int32, data WritablePlatform) (Platform, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this platform.
- @param data
@return Platform
func (*DcimApiService) DcimPlatformsRead ¶
func (a *DcimApiService) DcimPlatformsRead(ctx context.Context, id int32) (Platform, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this platform.
@return Platform
func (*DcimApiService) DcimPlatformsUpdate ¶
func (a *DcimApiService) DcimPlatformsUpdate(ctx context.Context, id int32, data WritablePlatform) (Platform, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this platform.
- @param data
@return Platform
func (*DcimApiService) DcimPowerConnectionsList ¶
func (a *DcimApiService) DcimPowerConnectionsList(ctx context.Context, localVarOptionals *DcimApiDcimPowerConnectionsListOpts) (InlineResponse20022, *http.Response, error)
func (*DcimApiService) DcimPowerFeedsCreate ¶
func (a *DcimApiService) DcimPowerFeedsCreate(ctx context.Context, data WritablePowerFeed) (PowerFeed, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return PowerFeed
func (*DcimApiService) DcimPowerFeedsDelete ¶
func (a *DcimApiService) DcimPowerFeedsDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power feed.
func (*DcimApiService) DcimPowerFeedsList ¶
func (a *DcimApiService) DcimPowerFeedsList(ctx context.Context, localVarOptionals *DcimApiDcimPowerFeedsListOpts) (InlineResponse20023, *http.Response, error)
func (*DcimApiService) DcimPowerFeedsPartialUpdate ¶
func (a *DcimApiService) DcimPowerFeedsPartialUpdate(ctx context.Context, id int32, data WritablePowerFeed) (PowerFeed, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power feed.
- @param data
@return PowerFeed
func (*DcimApiService) DcimPowerFeedsRead ¶
func (a *DcimApiService) DcimPowerFeedsRead(ctx context.Context, id int32) (PowerFeed, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power feed.
@return PowerFeed
func (*DcimApiService) DcimPowerFeedsUpdate ¶
func (a *DcimApiService) DcimPowerFeedsUpdate(ctx context.Context, id int32, data WritablePowerFeed) (PowerFeed, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power feed.
- @param data
@return PowerFeed
func (*DcimApiService) DcimPowerOutletTemplatesCreate ¶
func (a *DcimApiService) DcimPowerOutletTemplatesCreate(ctx context.Context, data WritablePowerOutletTemplate) (PowerOutletTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return PowerOutletTemplate
func (*DcimApiService) DcimPowerOutletTemplatesDelete ¶
func (a *DcimApiService) DcimPowerOutletTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power outlet template.
func (*DcimApiService) DcimPowerOutletTemplatesList ¶
func (a *DcimApiService) DcimPowerOutletTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimPowerOutletTemplatesListOpts) (InlineResponse20024, *http.Response, error)
func (*DcimApiService) DcimPowerOutletTemplatesPartialUpdate ¶
func (a *DcimApiService) DcimPowerOutletTemplatesPartialUpdate(ctx context.Context, id int32, data WritablePowerOutletTemplate) (PowerOutletTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power outlet template.
- @param data
@return PowerOutletTemplate
func (*DcimApiService) DcimPowerOutletTemplatesRead ¶
func (a *DcimApiService) DcimPowerOutletTemplatesRead(ctx context.Context, id int32) (PowerOutletTemplate, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power outlet template.
@return PowerOutletTemplate
func (*DcimApiService) DcimPowerOutletTemplatesUpdate ¶
func (a *DcimApiService) DcimPowerOutletTemplatesUpdate(ctx context.Context, id int32, data WritablePowerOutletTemplate) (PowerOutletTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power outlet template.
- @param data
@return PowerOutletTemplate
func (*DcimApiService) DcimPowerOutletsCreate ¶
func (a *DcimApiService) DcimPowerOutletsCreate(ctx context.Context, data WritablePowerOutlet) (PowerOutlet, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return PowerOutlet
func (*DcimApiService) DcimPowerOutletsDelete ¶
func (a *DcimApiService) DcimPowerOutletsDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power outlet.
func (*DcimApiService) DcimPowerOutletsList ¶
func (a *DcimApiService) DcimPowerOutletsList(ctx context.Context, localVarOptionals *DcimApiDcimPowerOutletsListOpts) (InlineResponse20025, *http.Response, error)
func (*DcimApiService) DcimPowerOutletsPartialUpdate ¶
func (a *DcimApiService) DcimPowerOutletsPartialUpdate(ctx context.Context, id int32, data WritablePowerOutlet) (PowerOutlet, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power outlet.
- @param data
@return PowerOutlet
func (*DcimApiService) DcimPowerOutletsRead ¶
func (a *DcimApiService) DcimPowerOutletsRead(ctx context.Context, id int32) (PowerOutlet, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power outlet.
@return PowerOutlet
func (*DcimApiService) DcimPowerOutletsTrace ¶
func (a *DcimApiService) DcimPowerOutletsTrace(ctx context.Context, id int32) (PowerOutlet, *http.Response, error)
DcimApiService Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power outlet.
@return PowerOutlet
func (*DcimApiService) DcimPowerOutletsUpdate ¶
func (a *DcimApiService) DcimPowerOutletsUpdate(ctx context.Context, id int32, data WritablePowerOutlet) (PowerOutlet, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power outlet.
- @param data
@return PowerOutlet
func (*DcimApiService) DcimPowerPanelsCreate ¶
func (a *DcimApiService) DcimPowerPanelsCreate(ctx context.Context, data WritablePowerPanel) (PowerPanel, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return PowerPanel
func (*DcimApiService) DcimPowerPanelsDelete ¶
func (a *DcimApiService) DcimPowerPanelsDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power panel.
func (*DcimApiService) DcimPowerPanelsList ¶
func (a *DcimApiService) DcimPowerPanelsList(ctx context.Context, localVarOptionals *DcimApiDcimPowerPanelsListOpts) (InlineResponse20026, *http.Response, error)
func (*DcimApiService) DcimPowerPanelsPartialUpdate ¶
func (a *DcimApiService) DcimPowerPanelsPartialUpdate(ctx context.Context, id int32, data WritablePowerPanel) (PowerPanel, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power panel.
- @param data
@return PowerPanel
func (*DcimApiService) DcimPowerPanelsRead ¶
func (a *DcimApiService) DcimPowerPanelsRead(ctx context.Context, id int32) (PowerPanel, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power panel.
@return PowerPanel
func (*DcimApiService) DcimPowerPanelsUpdate ¶
func (a *DcimApiService) DcimPowerPanelsUpdate(ctx context.Context, id int32, data WritablePowerPanel) (PowerPanel, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power panel.
- @param data
@return PowerPanel
func (*DcimApiService) DcimPowerPortTemplatesCreate ¶
func (a *DcimApiService) DcimPowerPortTemplatesCreate(ctx context.Context, data WritablePowerPortTemplate) (PowerPortTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return PowerPortTemplate
func (*DcimApiService) DcimPowerPortTemplatesDelete ¶
func (a *DcimApiService) DcimPowerPortTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power port template.
func (*DcimApiService) DcimPowerPortTemplatesList ¶
func (a *DcimApiService) DcimPowerPortTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimPowerPortTemplatesListOpts) (InlineResponse20027, *http.Response, error)
func (*DcimApiService) DcimPowerPortTemplatesPartialUpdate ¶
func (a *DcimApiService) DcimPowerPortTemplatesPartialUpdate(ctx context.Context, id int32, data WritablePowerPortTemplate) (PowerPortTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power port template.
- @param data
@return PowerPortTemplate
func (*DcimApiService) DcimPowerPortTemplatesRead ¶
func (a *DcimApiService) DcimPowerPortTemplatesRead(ctx context.Context, id int32) (PowerPortTemplate, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power port template.
@return PowerPortTemplate
func (*DcimApiService) DcimPowerPortTemplatesUpdate ¶
func (a *DcimApiService) DcimPowerPortTemplatesUpdate(ctx context.Context, id int32, data WritablePowerPortTemplate) (PowerPortTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power port template.
- @param data
@return PowerPortTemplate
func (*DcimApiService) DcimPowerPortsCreate ¶
func (a *DcimApiService) DcimPowerPortsCreate(ctx context.Context, data WritablePowerPort) (PowerPort, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return PowerPort
func (*DcimApiService) DcimPowerPortsDelete ¶
func (a *DcimApiService) DcimPowerPortsDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power port.
func (*DcimApiService) DcimPowerPortsList ¶
func (a *DcimApiService) DcimPowerPortsList(ctx context.Context, localVarOptionals *DcimApiDcimPowerPortsListOpts) (InlineResponse20022, *http.Response, error)
func (*DcimApiService) DcimPowerPortsPartialUpdate ¶
func (a *DcimApiService) DcimPowerPortsPartialUpdate(ctx context.Context, id int32, data WritablePowerPort) (PowerPort, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power port.
- @param data
@return PowerPort
func (*DcimApiService) DcimPowerPortsRead ¶
func (a *DcimApiService) DcimPowerPortsRead(ctx context.Context, id int32) (PowerPort, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power port.
@return PowerPort
func (*DcimApiService) DcimPowerPortsTrace ¶
func (a *DcimApiService) DcimPowerPortsTrace(ctx context.Context, id int32) (PowerPort, *http.Response, error)
DcimApiService Trace a complete cable path and return each segment as a three-tuple of (termination, cable, termination).
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power port.
@return PowerPort
func (*DcimApiService) DcimPowerPortsUpdate ¶
func (a *DcimApiService) DcimPowerPortsUpdate(ctx context.Context, id int32, data WritablePowerPort) (PowerPort, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this power port.
- @param data
@return PowerPort
func (*DcimApiService) DcimRackGroupsCreate ¶
func (a *DcimApiService) DcimRackGroupsCreate(ctx context.Context, data WritableRackGroup) (RackGroup, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return RackGroup
func (*DcimApiService) DcimRackGroupsDelete ¶
func (a *DcimApiService) DcimRackGroupsDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rack group.
func (*DcimApiService) DcimRackGroupsList ¶
func (a *DcimApiService) DcimRackGroupsList(ctx context.Context, localVarOptionals *DcimApiDcimRackGroupsListOpts) (InlineResponse20028, *http.Response, error)
func (*DcimApiService) DcimRackGroupsPartialUpdate ¶
func (a *DcimApiService) DcimRackGroupsPartialUpdate(ctx context.Context, id int32, data WritableRackGroup) (RackGroup, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rack group.
- @param data
@return RackGroup
func (*DcimApiService) DcimRackGroupsRead ¶
func (a *DcimApiService) DcimRackGroupsRead(ctx context.Context, id int32) (RackGroup, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rack group.
@return RackGroup
func (*DcimApiService) DcimRackGroupsUpdate ¶
func (a *DcimApiService) DcimRackGroupsUpdate(ctx context.Context, id int32, data WritableRackGroup) (RackGroup, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rack group.
- @param data
@return RackGroup
func (*DcimApiService) DcimRackReservationsCreate ¶
func (a *DcimApiService) DcimRackReservationsCreate(ctx context.Context, data WritableRackReservation) (RackReservation, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return RackReservation
func (*DcimApiService) DcimRackReservationsDelete ¶
func (a *DcimApiService) DcimRackReservationsDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rack reservation.
func (*DcimApiService) DcimRackReservationsList ¶
func (a *DcimApiService) DcimRackReservationsList(ctx context.Context, localVarOptionals *DcimApiDcimRackReservationsListOpts) (InlineResponse20029, *http.Response, error)
func (*DcimApiService) DcimRackReservationsPartialUpdate ¶
func (a *DcimApiService) DcimRackReservationsPartialUpdate(ctx context.Context, id int32, data WritableRackReservation) (RackReservation, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rack reservation.
- @param data
@return RackReservation
func (*DcimApiService) DcimRackReservationsRead ¶
func (a *DcimApiService) DcimRackReservationsRead(ctx context.Context, id int32) (RackReservation, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rack reservation.
@return RackReservation
func (*DcimApiService) DcimRackReservationsUpdate ¶
func (a *DcimApiService) DcimRackReservationsUpdate(ctx context.Context, id int32, data WritableRackReservation) (RackReservation, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rack reservation.
- @param data
@return RackReservation
func (*DcimApiService) DcimRackRolesCreate ¶
func (a *DcimApiService) DcimRackRolesCreate(ctx context.Context, data RackRole) (RackRole, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return RackRole
func (*DcimApiService) DcimRackRolesDelete ¶
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rack role.
func (*DcimApiService) DcimRackRolesList ¶
func (a *DcimApiService) DcimRackRolesList(ctx context.Context, localVarOptionals *DcimApiDcimRackRolesListOpts) (InlineResponse20030, *http.Response, error)
func (*DcimApiService) DcimRackRolesPartialUpdate ¶
func (a *DcimApiService) DcimRackRolesPartialUpdate(ctx context.Context, id int32, data RackRole) (RackRole, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rack role.
- @param data
@return RackRole
func (*DcimApiService) DcimRackRolesRead ¶
func (a *DcimApiService) DcimRackRolesRead(ctx context.Context, id int32) (RackRole, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rack role.
@return RackRole
func (*DcimApiService) DcimRackRolesUpdate ¶
func (a *DcimApiService) DcimRackRolesUpdate(ctx context.Context, id int32, data RackRole) (RackRole, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rack role.
- @param data
@return RackRole
func (*DcimApiService) DcimRacksCreate ¶
func (a *DcimApiService) DcimRacksCreate(ctx context.Context, data WritableRack) (Rack, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Rack
func (*DcimApiService) DcimRacksDelete ¶
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rack.
func (*DcimApiService) DcimRacksElevation ¶
func (a *DcimApiService) DcimRacksElevation(ctx context.Context, id int32, localVarOptionals *DcimApiDcimRacksElevationOpts) ([]RackUnit, *http.Response, error)
func (*DcimApiService) DcimRacksList ¶
func (a *DcimApiService) DcimRacksList(ctx context.Context, localVarOptionals *DcimApiDcimRacksListOpts) (InlineResponse20031, *http.Response, error)
func (*DcimApiService) DcimRacksPartialUpdate ¶
func (a *DcimApiService) DcimRacksPartialUpdate(ctx context.Context, id int32, data WritableRack) (Rack, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rack.
- @param data
@return Rack
func (*DcimApiService) DcimRacksRead ¶
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rack.
@return Rack
func (*DcimApiService) DcimRacksUpdate ¶
func (a *DcimApiService) DcimRacksUpdate(ctx context.Context, id int32, data WritableRack) (Rack, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rack.
- @param data
@return Rack
func (*DcimApiService) DcimRearPortTemplatesCreate ¶
func (a *DcimApiService) DcimRearPortTemplatesCreate(ctx context.Context, data WritableRearPortTemplate) (RearPortTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return RearPortTemplate
func (*DcimApiService) DcimRearPortTemplatesDelete ¶
func (a *DcimApiService) DcimRearPortTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rear port template.
func (*DcimApiService) DcimRearPortTemplatesList ¶
func (a *DcimApiService) DcimRearPortTemplatesList(ctx context.Context, localVarOptionals *DcimApiDcimRearPortTemplatesListOpts) (InlineResponse20032, *http.Response, error)
func (*DcimApiService) DcimRearPortTemplatesPartialUpdate ¶
func (a *DcimApiService) DcimRearPortTemplatesPartialUpdate(ctx context.Context, id int32, data WritableRearPortTemplate) (RearPortTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rear port template.
- @param data
@return RearPortTemplate
func (*DcimApiService) DcimRearPortTemplatesRead ¶
func (a *DcimApiService) DcimRearPortTemplatesRead(ctx context.Context, id int32) (RearPortTemplate, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rear port template.
@return RearPortTemplate
func (*DcimApiService) DcimRearPortTemplatesUpdate ¶
func (a *DcimApiService) DcimRearPortTemplatesUpdate(ctx context.Context, id int32, data WritableRearPortTemplate) (RearPortTemplate, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rear port template.
- @param data
@return RearPortTemplate
func (*DcimApiService) DcimRearPortsCreate ¶
func (a *DcimApiService) DcimRearPortsCreate(ctx context.Context, data WritableRearPort) (RearPort, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return RearPort
func (*DcimApiService) DcimRearPortsDelete ¶
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rear port.
func (*DcimApiService) DcimRearPortsList ¶
func (a *DcimApiService) DcimRearPortsList(ctx context.Context, localVarOptionals *DcimApiDcimRearPortsListOpts) (InlineResponse20033, *http.Response, error)
func (*DcimApiService) DcimRearPortsPartialUpdate ¶
func (a *DcimApiService) DcimRearPortsPartialUpdate(ctx context.Context, id int32, data WritableRearPort) (RearPort, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rear port.
- @param data
@return RearPort
func (*DcimApiService) DcimRearPortsRead ¶
func (a *DcimApiService) DcimRearPortsRead(ctx context.Context, id int32) (RearPort, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rear port.
@return RearPort
func (*DcimApiService) DcimRearPortsUpdate ¶
func (a *DcimApiService) DcimRearPortsUpdate(ctx context.Context, id int32, data WritableRearPort) (RearPort, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this rear port.
- @param data
@return RearPort
func (*DcimApiService) DcimRegionsCreate ¶
func (a *DcimApiService) DcimRegionsCreate(ctx context.Context, data WritableRegion) (Region, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Region
func (*DcimApiService) DcimRegionsDelete ¶
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this region.
func (*DcimApiService) DcimRegionsList ¶
func (a *DcimApiService) DcimRegionsList(ctx context.Context, localVarOptionals *DcimApiDcimRegionsListOpts) (InlineResponse20034, *http.Response, error)
func (*DcimApiService) DcimRegionsPartialUpdate ¶
func (a *DcimApiService) DcimRegionsPartialUpdate(ctx context.Context, id int32, data WritableRegion) (Region, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this region.
- @param data
@return Region
func (*DcimApiService) DcimRegionsRead ¶
func (a *DcimApiService) DcimRegionsRead(ctx context.Context, id int32) (Region, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this region.
@return Region
func (*DcimApiService) DcimRegionsUpdate ¶
func (a *DcimApiService) DcimRegionsUpdate(ctx context.Context, id int32, data WritableRegion) (Region, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this region.
- @param data
@return Region
func (*DcimApiService) DcimSitesCreate ¶
func (a *DcimApiService) DcimSitesCreate(ctx context.Context, data WritableSite) (Site, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Site
func (*DcimApiService) DcimSitesDelete ¶
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this site.
func (*DcimApiService) DcimSitesGraphs ¶
func (a *DcimApiService) DcimSitesGraphs(ctx context.Context, id int32) (Site, *http.Response, error)
DcimApiService A convenience method for rendering graphs for a particular site.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this site.
@return Site
func (*DcimApiService) DcimSitesList ¶
func (a *DcimApiService) DcimSitesList(ctx context.Context, localVarOptionals *DcimApiDcimSitesListOpts) (InlineResponse20035, *http.Response, error)
func (*DcimApiService) DcimSitesPartialUpdate ¶
func (a *DcimApiService) DcimSitesPartialUpdate(ctx context.Context, id int32, data WritableSite) (Site, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this site.
- @param data
@return Site
func (*DcimApiService) DcimSitesRead ¶
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this site.
@return Site
func (*DcimApiService) DcimSitesUpdate ¶
func (a *DcimApiService) DcimSitesUpdate(ctx context.Context, id int32, data WritableSite) (Site, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this site.
- @param data
@return Site
func (*DcimApiService) DcimVirtualChassisCreate ¶
func (a *DcimApiService) DcimVirtualChassisCreate(ctx context.Context, data WritableVirtualChassis) (VirtualChassis, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return VirtualChassis
func (*DcimApiService) DcimVirtualChassisDelete ¶
func (a *DcimApiService) DcimVirtualChassisDelete(ctx context.Context, id int32) (*http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this virtual chassis.
func (*DcimApiService) DcimVirtualChassisList ¶
func (a *DcimApiService) DcimVirtualChassisList(ctx context.Context, localVarOptionals *DcimApiDcimVirtualChassisListOpts) (InlineResponse20036, *http.Response, error)
func (*DcimApiService) DcimVirtualChassisPartialUpdate ¶
func (a *DcimApiService) DcimVirtualChassisPartialUpdate(ctx context.Context, id int32, data WritableVirtualChassis) (VirtualChassis, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this virtual chassis.
- @param data
@return VirtualChassis
func (*DcimApiService) DcimVirtualChassisRead ¶
func (a *DcimApiService) DcimVirtualChassisRead(ctx context.Context, id int32) (VirtualChassis, *http.Response, error)
DcimApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this virtual chassis.
@return VirtualChassis
func (*DcimApiService) DcimVirtualChassisUpdate ¶
func (a *DcimApiService) DcimVirtualChassisUpdate(ctx context.Context, id int32, data WritableVirtualChassis) (VirtualChassis, *http.Response, error)
DcimApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this virtual chassis.
- @param data
@return VirtualChassis
type Device ¶
type Device struct { Id int32 `json:"id,omitempty"` Name string `json:"name,omitempty"` DisplayName string `json:"display_name,omitempty"` DeviceType *NestedDeviceType `json:"device_type"` DeviceRole *NestedDeviceRole `json:"device_role"` Tenant *NestedTenant `json:"tenant,omitempty"` Platform *NestedPlatform `json:"platform,omitempty"` Serial string `json:"serial,omitempty"` // A unique tag used to identify this device AssetTag string `json:"asset_tag,omitempty"` Site *NestedSite `json:"site"` Rack *NestedRack `json:"rack,omitempty"` // The lowest-numbered unit occupied by the device Position int32 `json:"position,omitempty"` Face *Face `json:"face,omitempty"` ParentDevice *NestedDevice `json:"parent_device,omitempty"` Status *Status2 `json:"status,omitempty"` PrimaryIp *NestedIpAddress `json:"primary_ip,omitempty"` PrimaryIp4 *NestedIpAddress `json:"primary_ip4,omitempty"` PrimaryIp6 *NestedIpAddress `json:"primary_ip6,omitempty"` Cluster *NestedCluster `json:"cluster,omitempty"` VirtualChassis *NestedVirtualChassis `json:"virtual_chassis,omitempty"` VcPosition int32 `json:"vc_position,omitempty"` VcPriority int32 `json:"vc_priority,omitempty"` Comments string `json:"comments,omitempty"` LocalContextData string `json:"local_context_data,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type DeviceBay ¶
type DeviceBay struct { Id int32 `json:"id,omitempty"` Device *NestedDevice `json:"device"` Name string `json:"name"` Description string `json:"description,omitempty"` InstalledDevice *NestedDevice `json:"installed_device,omitempty"` Tags []string `json:"tags,omitempty"` }
type DeviceBayTemplate ¶
type DeviceBayTemplate struct { Id int32 `json:"id,omitempty"` DeviceType *NestedDeviceType `json:"device_type"` Name string `json:"name"` }
type DeviceInterface ¶
type DeviceInterface struct { Id int32 `json:"id,omitempty"` Device *NestedDevice `json:"device"` Name string `json:"name"` Type_ *Type2 `json:"type"` Enabled bool `json:"enabled,omitempty"` Lag *NestedInterface `json:"lag,omitempty"` Mtu int32 `json:"mtu,omitempty"` MacAddress string `json:"mac_address,omitempty"` // This interface is used only for out-of-band management MgmtOnly bool `json:"mgmt_only,omitempty"` Description string `json:"description,omitempty"` ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"` // Return the appropriate serializer for the type of connected object. ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"` ConnectionStatus *ConnectionStatus `json:"connection_status,omitempty"` Cable *NestedCable `json:"cable,omitempty"` Mode *Mode `json:"mode,omitempty"` UntaggedVlan *NestedVlan `json:"untagged_vlan,omitempty"` TaggedVlans []NestedVlan `json:"tagged_vlans,omitempty"` Tags []string `json:"tags,omitempty"` CountIpaddresses int32 `json:"count_ipaddresses,omitempty"` }
type DeviceNapalm ¶
type DeviceRole ¶
type DeviceRole struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` Slug string `json:"slug"` Color string `json:"color,omitempty"` // Virtual machines may be assigned to this role VmRole bool `json:"vm_role,omitempty"` Description string `json:"description,omitempty"` DeviceCount int32 `json:"device_count,omitempty"` VirtualmachineCount int32 `json:"virtualmachine_count,omitempty"` }
type DeviceType ¶
type DeviceType struct { Id int32 `json:"id,omitempty"` Manufacturer *NestedManufacturer `json:"manufacturer"` Model string `json:"model"` Slug string `json:"slug"` DisplayName string `json:"display_name,omitempty"` // Discrete part number (optional) PartNumber string `json:"part_number,omitempty"` UHeight int32 `json:"u_height,omitempty"` // Device consumes both front and rear rack faces IsFullDepth bool `json:"is_full_depth,omitempty"` SubdeviceRole *SubdeviceRole `json:"subdevice_role,omitempty"` FrontImage string `json:"front_image,omitempty"` RearImage string `json:"rear_image,omitempty"` Comments string `json:"comments,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` DeviceCount int32 `json:"device_count,omitempty"` }
type DeviceWithConfigContext ¶
type DeviceWithConfigContext struct { Id int32 `json:"id,omitempty"` Name string `json:"name,omitempty"` DisplayName string `json:"display_name,omitempty"` DeviceType *NestedDeviceType `json:"device_type"` DeviceRole *NestedDeviceRole `json:"device_role"` Tenant *NestedTenant `json:"tenant,omitempty"` Platform *NestedPlatform `json:"platform,omitempty"` Serial string `json:"serial,omitempty"` // A unique tag used to identify this device AssetTag string `json:"asset_tag,omitempty"` Site *NestedSite `json:"site"` Rack *NestedRack `json:"rack,omitempty"` // The lowest-numbered unit occupied by the device Position int32 `json:"position,omitempty"` Face *Face `json:"face,omitempty"` ParentDevice *NestedDevice `json:"parent_device,omitempty"` Status *Status2 `json:"status,omitempty"` PrimaryIp *NestedIpAddress `json:"primary_ip,omitempty"` PrimaryIp4 *NestedIpAddress `json:"primary_ip4,omitempty"` PrimaryIp6 *NestedIpAddress `json:"primary_ip6,omitempty"` Cluster *NestedCluster `json:"cluster,omitempty"` VirtualChassis *NestedVirtualChassis `json:"virtual_chassis,omitempty"` VcPosition int32 `json:"vc_position,omitempty"` VcPriority int32 `json:"vc_priority,omitempty"` Comments string `json:"comments,omitempty"` LocalContextData string `json:"local_context_data,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` ConfigContext *interface{} `json:"config_context,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type ExportTemplate ¶
type ExportTemplate struct { Id int32 `json:"id,omitempty"` ContentType string `json:"content_type"` Name string `json:"name"` Description string `json:"description,omitempty"` TemplateLanguage *TemplateLanguage `json:"template_language,omitempty"` // The list of objects being exported is passed as a context variable named <code>queryset</code>. TemplateCode string `json:"template_code"` // Defaults to <code>text/plain</code> MimeType string `json:"mime_type,omitempty"` // Extension to append to the rendered filename FileExtension string `json:"file_extension,omitempty"` }
type ExtrasApiExtrasConfigContextsListOpts ¶
type ExtrasApiExtrasConfigContextsListOpts struct { Id optional.String Name optional.String IsActive optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String RoleId optional.String Role optional.String PlatformId optional.String Platform optional.String ClusterGroupId optional.String ClusterGroup optional.String ClusterId optional.String TenantGroupId optional.String TenantGroup optional.String TenantId optional.String Tenant optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String RoleIdN optional.String RoleN optional.String PlatformIdN optional.String PlatformN optional.String ClusterGroupIdN optional.String ClusterGroupN optional.String ClusterIdN optional.String TenantGroupIdN optional.String TenantGroupN optional.String TenantIdN optional.String TenantN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type ExtrasApiExtrasExportTemplatesListOpts ¶
type ExtrasApiExtrasExportTemplatesListOpts struct { Id optional.String ContentType optional.String Name optional.String TemplateLanguage optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String ContentTypeN optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String TemplateLanguageN optional.String Limit optional.Int32 Offset optional.Int32 }
type ExtrasApiExtrasGraphsListOpts ¶
type ExtrasApiExtrasGraphsListOpts struct { Id optional.String Type_ optional.String Name optional.String TemplateLanguage optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String TypeN optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String TemplateLanguageN optional.String Limit optional.Int32 Offset optional.Int32 }
type ExtrasApiExtrasObjectChangesListOpts ¶
type ExtrasApiExtrasObjectChangesListOpts struct { Id optional.String User optional.String UserName optional.String RequestId optional.String Action optional.String ChangedObjectType optional.String ChangedObjectId optional.String ObjectRepr optional.String Q optional.String Time optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String UserN optional.String UserNameN optional.String UserNameIc optional.String UserNameNic optional.String UserNameIew optional.String UserNameNiew optional.String UserNameIsw optional.String UserNameNisw optional.String UserNameIe optional.String UserNameNie optional.String ActionN optional.String ChangedObjectTypeN optional.String ChangedObjectIdN optional.String ChangedObjectIdLte optional.String ChangedObjectIdLt optional.String ChangedObjectIdGte optional.String ChangedObjectIdGt optional.String ObjectReprN optional.String ObjectReprIc optional.String ObjectReprNic optional.String ObjectReprIew optional.String ObjectReprNiew optional.String ObjectReprIsw optional.String ObjectReprNisw optional.String ObjectReprIe optional.String ObjectReprNie optional.String Limit optional.Int32 Offset optional.Int32 }
type ExtrasApiExtrasTagsListOpts ¶
type ExtrasApiExtrasTagsListOpts struct { Id optional.String Name optional.String Slug optional.String Color optional.String Q optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String ColorN optional.String ColorIc optional.String ColorNic optional.String ColorIew optional.String ColorNiew optional.String ColorIsw optional.String ColorNisw optional.String ColorIe optional.String ColorNie optional.String Limit optional.Int32 Offset optional.Int32 }
type ExtrasApiService ¶
type ExtrasApiService service
func (*ExtrasApiService) ExtrasConfigContextsCreate ¶
func (a *ExtrasApiService) ExtrasConfigContextsCreate(ctx context.Context, data WritableConfigContext) (ConfigContext, *http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return ConfigContext
func (*ExtrasApiService) ExtrasConfigContextsDelete ¶
func (a *ExtrasApiService) ExtrasConfigContextsDelete(ctx context.Context, id int32) (*http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this config context.
func (*ExtrasApiService) ExtrasConfigContextsList ¶
func (a *ExtrasApiService) ExtrasConfigContextsList(ctx context.Context, localVarOptionals *ExtrasApiExtrasConfigContextsListOpts) (InlineResponse20037, *http.Response, error)
func (*ExtrasApiService) ExtrasConfigContextsPartialUpdate ¶
func (a *ExtrasApiService) ExtrasConfigContextsPartialUpdate(ctx context.Context, id int32, data WritableConfigContext) (ConfigContext, *http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this config context.
- @param data
@return ConfigContext
func (*ExtrasApiService) ExtrasConfigContextsRead ¶
func (a *ExtrasApiService) ExtrasConfigContextsRead(ctx context.Context, id int32) (ConfigContext, *http.Response, error)
ExtrasApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this config context.
@return ConfigContext
func (*ExtrasApiService) ExtrasConfigContextsUpdate ¶
func (a *ExtrasApiService) ExtrasConfigContextsUpdate(ctx context.Context, id int32, data WritableConfigContext) (ConfigContext, *http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this config context.
- @param data
@return ConfigContext
func (*ExtrasApiService) ExtrasCustomFieldChoicesList ¶
func (a *ExtrasApiService) ExtrasCustomFieldChoicesList(ctx context.Context) (*http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
func (*ExtrasApiService) ExtrasCustomFieldChoicesRead ¶
func (a *ExtrasApiService) ExtrasCustomFieldChoicesRead(ctx context.Context, id string) (*http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id
func (*ExtrasApiService) ExtrasExportTemplatesCreate ¶
func (a *ExtrasApiService) ExtrasExportTemplatesCreate(ctx context.Context, data WritableExportTemplate) (ExportTemplate, *http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return ExportTemplate
func (*ExtrasApiService) ExtrasExportTemplatesDelete ¶
func (a *ExtrasApiService) ExtrasExportTemplatesDelete(ctx context.Context, id int32) (*http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this export template.
func (*ExtrasApiService) ExtrasExportTemplatesList ¶
func (a *ExtrasApiService) ExtrasExportTemplatesList(ctx context.Context, localVarOptionals *ExtrasApiExtrasExportTemplatesListOpts) (InlineResponse20038, *http.Response, error)
func (*ExtrasApiService) ExtrasExportTemplatesPartialUpdate ¶
func (a *ExtrasApiService) ExtrasExportTemplatesPartialUpdate(ctx context.Context, id int32, data WritableExportTemplate) (ExportTemplate, *http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this export template.
- @param data
@return ExportTemplate
func (*ExtrasApiService) ExtrasExportTemplatesRead ¶
func (a *ExtrasApiService) ExtrasExportTemplatesRead(ctx context.Context, id int32) (ExportTemplate, *http.Response, error)
ExtrasApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this export template.
@return ExportTemplate
func (*ExtrasApiService) ExtrasExportTemplatesUpdate ¶
func (a *ExtrasApiService) ExtrasExportTemplatesUpdate(ctx context.Context, id int32, data WritableExportTemplate) (ExportTemplate, *http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this export template.
- @param data
@return ExportTemplate
func (*ExtrasApiService) ExtrasGraphsCreate ¶
func (a *ExtrasApiService) ExtrasGraphsCreate(ctx context.Context, data Graph) (Graph, *http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Graph
func (*ExtrasApiService) ExtrasGraphsDelete ¶
func (a *ExtrasApiService) ExtrasGraphsDelete(ctx context.Context, id int32) (*http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this graph.
func (*ExtrasApiService) ExtrasGraphsList ¶
func (a *ExtrasApiService) ExtrasGraphsList(ctx context.Context, localVarOptionals *ExtrasApiExtrasGraphsListOpts) (InlineResponse20039, *http.Response, error)
func (*ExtrasApiService) ExtrasGraphsPartialUpdate ¶
func (a *ExtrasApiService) ExtrasGraphsPartialUpdate(ctx context.Context, id int32, data Graph) (Graph, *http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this graph.
- @param data
@return Graph
func (*ExtrasApiService) ExtrasGraphsRead ¶
func (a *ExtrasApiService) ExtrasGraphsRead(ctx context.Context, id int32) (Graph, *http.Response, error)
ExtrasApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this graph.
@return Graph
func (*ExtrasApiService) ExtrasGraphsUpdate ¶
func (a *ExtrasApiService) ExtrasGraphsUpdate(ctx context.Context, id int32, data Graph) (Graph, *http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this graph.
- @param data
@return Graph
func (*ExtrasApiService) ExtrasImageAttachmentsCreate ¶
func (a *ExtrasApiService) ExtrasImageAttachmentsCreate(ctx context.Context, data ImageAttachment) (ImageAttachment, *http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return ImageAttachment
func (*ExtrasApiService) ExtrasImageAttachmentsDelete ¶
func (a *ExtrasApiService) ExtrasImageAttachmentsDelete(ctx context.Context, id int32) (*http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this image attachment.
func (*ExtrasApiService) ExtrasImageAttachmentsList ¶
func (a *ExtrasApiService) ExtrasImageAttachmentsList(ctx context.Context, localVarOptionals *ExtrasApiExtrasImageAttachmentsListOpts) (InlineResponse20040, *http.Response, error)
func (*ExtrasApiService) ExtrasImageAttachmentsPartialUpdate ¶
func (a *ExtrasApiService) ExtrasImageAttachmentsPartialUpdate(ctx context.Context, id int32, data ImageAttachment) (ImageAttachment, *http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this image attachment.
- @param data
@return ImageAttachment
func (*ExtrasApiService) ExtrasImageAttachmentsRead ¶
func (a *ExtrasApiService) ExtrasImageAttachmentsRead(ctx context.Context, id int32) (ImageAttachment, *http.Response, error)
ExtrasApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this image attachment.
@return ImageAttachment
func (*ExtrasApiService) ExtrasImageAttachmentsUpdate ¶
func (a *ExtrasApiService) ExtrasImageAttachmentsUpdate(ctx context.Context, id int32, data ImageAttachment) (ImageAttachment, *http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this image attachment.
- @param data
@return ImageAttachment
func (*ExtrasApiService) ExtrasObjectChangesList ¶
func (a *ExtrasApiService) ExtrasObjectChangesList(ctx context.Context, localVarOptionals *ExtrasApiExtrasObjectChangesListOpts) (InlineResponse20041, *http.Response, error)
func (*ExtrasApiService) ExtrasObjectChangesRead ¶
func (a *ExtrasApiService) ExtrasObjectChangesRead(ctx context.Context, id int32) (ObjectChange, *http.Response, error)
ExtrasApiService Retrieve a list of recent changes.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this object change.
@return ObjectChange
func (*ExtrasApiService) ExtrasReportsList ¶
ExtrasApiService Compile all reports and their related results (if any). Result data is deferred in the list view.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
func (*ExtrasApiService) ExtrasReportsRead ¶
func (a *ExtrasApiService) ExtrasReportsRead(ctx context.Context, id string) (*http.Response, error)
ExtrasApiService Retrieve a single Report identified as \"<module>.<report>\".
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id
func (*ExtrasApiService) ExtrasReportsRun ¶
ExtrasApiService Run a Report and create a new ReportResult, overwriting any previous result for the Report.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id
func (*ExtrasApiService) ExtrasScriptsList ¶
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
func (*ExtrasApiService) ExtrasScriptsRead ¶
func (a *ExtrasApiService) ExtrasScriptsRead(ctx context.Context, id string) (*http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id
func (*ExtrasApiService) ExtrasTagsCreate ¶
func (a *ExtrasApiService) ExtrasTagsCreate(ctx context.Context, data Tag) (Tag, *http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Tag
func (*ExtrasApiService) ExtrasTagsDelete ¶
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this tag.
func (*ExtrasApiService) ExtrasTagsList ¶
func (a *ExtrasApiService) ExtrasTagsList(ctx context.Context, localVarOptionals *ExtrasApiExtrasTagsListOpts) (InlineResponse20042, *http.Response, error)
func (*ExtrasApiService) ExtrasTagsPartialUpdate ¶
func (a *ExtrasApiService) ExtrasTagsPartialUpdate(ctx context.Context, id int32, data Tag) (Tag, *http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this tag.
- @param data
@return Tag
func (*ExtrasApiService) ExtrasTagsRead ¶
func (a *ExtrasApiService) ExtrasTagsRead(ctx context.Context, id int32) (Tag, *http.Response, error)
ExtrasApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this tag.
@return Tag
func (*ExtrasApiService) ExtrasTagsUpdate ¶
func (a *ExtrasApiService) ExtrasTagsUpdate(ctx context.Context, id int32, data Tag) (Tag, *http.Response, error)
ExtrasApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this tag.
- @param data
@return Tag
type FrontPort ¶
type FrontPort struct { Id int32 `json:"id,omitempty"` Device *NestedDevice `json:"device"` Name string `json:"name"` Type_ *Type1 `json:"type"` RearPort *FrontPortRearPort `json:"rear_port"` RearPortPosition int32 `json:"rear_port_position,omitempty"` Description string `json:"description,omitempty"` Cable *NestedCable `json:"cable,omitempty"` Tags []string `json:"tags,omitempty"` }
type FrontPortRearPort ¶
type FrontPortTemplate ¶
type FrontPortTemplate struct { Id int32 `json:"id,omitempty"` DeviceType *NestedDeviceType `json:"device_type"` Name string `json:"name"` Type_ *Type1 `json:"type"` RearPort *NestedRearPortTemplate `json:"rear_port"` RearPortPosition int32 `json:"rear_port_position,omitempty"` }
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type ImageAttachment ¶
type ImageAttachment struct { Id int32 `json:"id,omitempty"` ContentType string `json:"content_type"` ObjectId int32 `json:"object_id"` Parent map[string]string `json:"parent,omitempty"` Name string `json:"name,omitempty"` Image string `json:"image,omitempty"` ImageHeight int32 `json:"image_height"` ImageWidth int32 `json:"image_width"` Created time.Time `json:"created,omitempty"` }
type InlineResponse200 ¶
type InlineResponse200 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []CircuitTermination `json:"results"` }
type InlineResponse2001 ¶
type InlineResponse2001 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []CircuitType `json:"results"` }
type InlineResponse20010 ¶
type InlineResponse20011 ¶
type InlineResponse20011 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []DeviceRole `json:"results"` }
type InlineResponse20012 ¶
type InlineResponse20012 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []DeviceType `json:"results"` }
type InlineResponse20013 ¶
type InlineResponse20013 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []DeviceWithConfigContext `json:"results"` }
type InlineResponse20014 ¶
type InlineResponse20014 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []FrontPortTemplate `json:"results"` }
type InlineResponse20015 ¶
type InlineResponse20016 ¶
type InlineResponse20016 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []InterfaceConnection `json:"results"` }
type InlineResponse20017 ¶
type InlineResponse20017 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []InterfaceTemplate `json:"results"` }
type InlineResponse20018 ¶
type InlineResponse20018 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []DeviceInterface `json:"results"` }
type InlineResponse20019 ¶
type InlineResponse20019 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []InventoryItem `json:"results"` }
type InlineResponse2002 ¶
type InlineResponse20020 ¶
type InlineResponse20020 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []Manufacturer `json:"results"` }
type InlineResponse20021 ¶
type InlineResponse20022 ¶
type InlineResponse20023 ¶
type InlineResponse20024 ¶
type InlineResponse20024 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []PowerOutletTemplate `json:"results"` }
type InlineResponse20025 ¶
type InlineResponse20025 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []PowerOutlet `json:"results"` }
type InlineResponse20026 ¶
type InlineResponse20026 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []PowerPanel `json:"results"` }
type InlineResponse20027 ¶
type InlineResponse20027 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []PowerPortTemplate `json:"results"` }
type InlineResponse20028 ¶
type InlineResponse20029 ¶
type InlineResponse20029 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []RackReservation `json:"results"` }
type InlineResponse2003 ¶
type InlineResponse20030 ¶
type InlineResponse20031 ¶
type InlineResponse20032 ¶
type InlineResponse20032 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []RearPortTemplate `json:"results"` }
type InlineResponse20033 ¶
type InlineResponse20034 ¶
type InlineResponse20035 ¶
type InlineResponse20036 ¶
type InlineResponse20036 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []VirtualChassis `json:"results"` }
type InlineResponse20037 ¶
type InlineResponse20037 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []ConfigContext `json:"results"` }
type InlineResponse20038 ¶
type InlineResponse20038 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []ExportTemplate `json:"results"` }
type InlineResponse20039 ¶
type InlineResponse2004 ¶
type InlineResponse20040 ¶
type InlineResponse20040 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []ImageAttachment `json:"results"` }
type InlineResponse20041 ¶
type InlineResponse20041 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []ObjectChange `json:"results"` }
type InlineResponse20042 ¶
type InlineResponse20043 ¶
type InlineResponse20044 ¶
type InlineResponse20045 ¶
type InlineResponse20046 ¶
type InlineResponse20047 ¶
type InlineResponse20048 ¶
type InlineResponse20049 ¶
type InlineResponse2005 ¶
type InlineResponse2005 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []ConsolePort `json:"results"` }
type InlineResponse20050 ¶
type InlineResponse20051 ¶
type InlineResponse20052 ¶
type InlineResponse20052 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []SecretRole `json:"results"` }
type InlineResponse20053 ¶
type InlineResponse20054 ¶
type InlineResponse20054 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []TenantGroup `json:"results"` }
type InlineResponse20055 ¶
type InlineResponse20056 ¶
type InlineResponse20056 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []ClusterGroup `json:"results"` }
type InlineResponse20057 ¶
type InlineResponse20057 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []ClusterType `json:"results"` }
type InlineResponse20058 ¶
type InlineResponse20059 ¶
type InlineResponse20059 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []VirtualMachineInterface `json:"results"` }
type InlineResponse2006 ¶
type InlineResponse2006 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []ConsolePortTemplate `json:"results"` }
type InlineResponse20060 ¶
type InlineResponse20060 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []VirtualMachineWithConfigContext `json:"results"` }
type InlineResponse2007 ¶
type InlineResponse2007 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []ConsoleServerPortTemplate `json:"results"` }
type InlineResponse2008 ¶
type InlineResponse2008 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []ConsoleServerPort `json:"results"` }
type InlineResponse2009 ¶
type InlineResponse2009 struct { Count int32 `json:"count"` Next string `json:"next,omitempty"` Previous string `json:"previous,omitempty"` Results []DeviceBayTemplate `json:"results"` }
type InterfaceConnection ¶
type InterfaceConnection struct { InterfaceA *NestedInterface `json:"interface_a,omitempty"` InterfaceB *NestedInterface `json:"interface_b"` ConnectionStatus *ConnectionStatus `json:"connection_status,omitempty"` }
type InterfaceTemplate ¶
type InterfaceTemplate struct { Id int32 `json:"id,omitempty"` DeviceType *NestedDeviceType `json:"device_type"` Name string `json:"name"` Type_ *Type2 `json:"type"` MgmtOnly bool `json:"mgmt_only,omitempty"` }
type InventoryItem ¶
type InventoryItem struct { Id int32 `json:"id,omitempty"` Device *NestedDevice `json:"device"` Parent int32 `json:"parent,omitempty"` Name string `json:"name"` Manufacturer *NestedManufacturer `json:"manufacturer,omitempty"` // Manufacturer-assigned part identifier PartId string `json:"part_id,omitempty"` Serial string `json:"serial,omitempty"` // A unique tag used to identify this item AssetTag string `json:"asset_tag,omitempty"` // This item was automatically discovered Discovered bool `json:"discovered,omitempty"` Description string `json:"description,omitempty"` Tags []string `json:"tags,omitempty"` }
type IpAddress ¶
type IpAddress struct { Id int32 `json:"id,omitempty"` Family *Family `json:"family,omitempty"` // IPv4 or IPv6 address (with mask) Address string `json:"address"` Vrf *NestedVrf `json:"vrf,omitempty"` Tenant *NestedTenant `json:"tenant,omitempty"` Status *Status6 `json:"status,omitempty"` Role *Role1 `json:"role,omitempty"` Interface_ *IpAddressInterface `json:"interface,omitempty"` NatInside *NestedIpAddress `json:"nat_inside,omitempty"` NatOutside *NestedIpAddress `json:"nat_outside,omitempty"` // Hostname or FQDN (not case-sensitive) DnsName string `json:"dns_name,omitempty"` Description string `json:"description,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type IpAddressInterface ¶
type IpAddressInterface struct { Id int32 `json:"id,omitempty"` Url string `json:"url,omitempty"` Device *NestedDevice `json:"device,omitempty"` VirtualMachine *NestedVirtualMachine `json:"virtual_machine,omitempty"` Name string `json:"name"` }
type IpamApiIpamAggregatesListOpts ¶
type IpamApiIpamAggregatesListOpts struct { Id optional.String DateAdded optional.String Created optional.String CreatedGte optional.String CreatedLte optional.String LastUpdated optional.String LastUpdatedGte optional.String LastUpdatedLte optional.String Q optional.String Family optional.Float32 Prefix optional.String RirId optional.String Rir optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String DateAddedN optional.String DateAddedLte optional.String DateAddedLt optional.String DateAddedGte optional.String DateAddedGt optional.String RirIdN optional.String RirN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type IpamApiIpamIpAddressesListOpts ¶
type IpamApiIpamIpAddressesListOpts struct { Id optional.String DnsName optional.String TenantGroupId optional.String TenantGroup optional.String TenantId optional.String Tenant optional.String Created optional.String CreatedGte optional.String CreatedLte optional.String LastUpdated optional.String LastUpdatedGte optional.String LastUpdatedLte optional.String Q optional.String Family optional.Float32 Parent optional.String Address optional.String MaskLength optional.Float32 VrfId optional.String Vrf optional.String Device optional.String DeviceId optional.String VirtualMachineId optional.String VirtualMachine optional.String Interface_ optional.String InterfaceId optional.String AssignedToInterface optional.String Status optional.String Role optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String DnsNameN optional.String DnsNameIc optional.String DnsNameNic optional.String DnsNameIew optional.String DnsNameNiew optional.String DnsNameIsw optional.String DnsNameNisw optional.String DnsNameIe optional.String DnsNameNie optional.String TenantGroupIdN optional.String TenantGroupN optional.String TenantIdN optional.String TenantN optional.String VrfIdN optional.String VrfN optional.String VirtualMachineIdN optional.String VirtualMachineN optional.String InterfaceN optional.String InterfaceIdN optional.String StatusN optional.String RoleN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type IpamApiIpamPrefixesListOpts ¶
type IpamApiIpamPrefixesListOpts struct { Id optional.String IsPool optional.String TenantGroupId optional.String TenantGroup optional.String TenantId optional.String Tenant optional.String Created optional.String CreatedGte optional.String CreatedLte optional.String LastUpdated optional.String LastUpdatedGte optional.String LastUpdatedLte optional.String Q optional.String Family optional.Float32 Prefix optional.String Within optional.String WithinInclude optional.String Contains optional.String MaskLength optional.Float32 VrfId optional.String Vrf optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String VlanId optional.String VlanVid optional.Float32 RoleId optional.String Role optional.String Status optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String TenantGroupIdN optional.String TenantGroupN optional.String TenantIdN optional.String TenantN optional.String VrfIdN optional.String VrfN optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String VlanIdN optional.String RoleIdN optional.String RoleN optional.String StatusN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type IpamApiIpamRirsListOpts ¶
type IpamApiIpamRirsListOpts struct { Id optional.String Name optional.String Slug optional.String IsPrivate optional.String Description optional.String Q optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String DescriptionN optional.String DescriptionIc optional.String DescriptionNic optional.String DescriptionIew optional.String DescriptionNiew optional.String DescriptionIsw optional.String DescriptionNisw optional.String DescriptionIe optional.String DescriptionNie optional.String Limit optional.Int32 Offset optional.Int32 }
type IpamApiIpamRolesListOpts ¶
type IpamApiIpamRolesListOpts struct { Id optional.String Name optional.String Slug optional.String Q optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String Limit optional.Int32 Offset optional.Int32 }
type IpamApiIpamServicesListOpts ¶
type IpamApiIpamServicesListOpts struct { Id optional.String Name optional.String Protocol optional.String Port optional.String Created optional.String CreatedGte optional.String CreatedLte optional.String LastUpdated optional.String LastUpdatedGte optional.String LastUpdatedLte optional.String Q optional.String DeviceId optional.String Device optional.String VirtualMachineId optional.String VirtualMachine optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String ProtocolN optional.String PortN optional.String PortLte optional.String PortLt optional.String PortGte optional.String PortGt optional.String DeviceIdN optional.String DeviceN optional.String VirtualMachineIdN optional.String VirtualMachineN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type IpamApiIpamVlanGroupsListOpts ¶
type IpamApiIpamVlanGroupsListOpts struct { Id optional.String Name optional.String Slug optional.String Description optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String DescriptionN optional.String DescriptionIc optional.String DescriptionNic optional.String DescriptionIew optional.String DescriptionNiew optional.String DescriptionIsw optional.String DescriptionNisw optional.String DescriptionIe optional.String DescriptionNie optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String Limit optional.Int32 Offset optional.Int32 }
type IpamApiIpamVlansListOpts ¶
type IpamApiIpamVlansListOpts struct { Id optional.String Vid optional.String Name optional.String TenantGroupId optional.String TenantGroup optional.String TenantId optional.String Tenant optional.String Created optional.String CreatedGte optional.String CreatedLte optional.String LastUpdated optional.String LastUpdatedGte optional.String LastUpdatedLte optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String GroupId optional.String Group optional.String RoleId optional.String Role optional.String Status optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String VidN optional.String VidLte optional.String VidLt optional.String VidGte optional.String VidGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String TenantGroupIdN optional.String TenantGroupN optional.String TenantIdN optional.String TenantN optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String GroupIdN optional.String GroupN optional.String RoleIdN optional.String RoleN optional.String StatusN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type IpamApiIpamVrfsListOpts ¶
type IpamApiIpamVrfsListOpts struct { Id optional.String Name optional.String Rd optional.String EnforceUnique optional.String TenantGroupId optional.String TenantGroup optional.String TenantId optional.String Tenant optional.String Created optional.String CreatedGte optional.String CreatedLte optional.String LastUpdated optional.String LastUpdatedGte optional.String LastUpdatedLte optional.String Q optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String RdN optional.String RdIc optional.String RdNic optional.String RdIew optional.String RdNiew optional.String RdIsw optional.String RdNisw optional.String RdIe optional.String RdNie optional.String TenantGroupIdN optional.String TenantGroupN optional.String TenantIdN optional.String TenantN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type IpamApiService ¶
type IpamApiService service
func (*IpamApiService) IpamAggregatesCreate ¶
func (a *IpamApiService) IpamAggregatesCreate(ctx context.Context, data WritableAggregate) (Aggregate, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Aggregate
func (*IpamApiService) IpamAggregatesDelete ¶
func (a *IpamApiService) IpamAggregatesDelete(ctx context.Context, id int32) (*http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this aggregate.
func (*IpamApiService) IpamAggregatesList ¶
func (a *IpamApiService) IpamAggregatesList(ctx context.Context, localVarOptionals *IpamApiIpamAggregatesListOpts) (InlineResponse20043, *http.Response, error)
func (*IpamApiService) IpamAggregatesPartialUpdate ¶
func (a *IpamApiService) IpamAggregatesPartialUpdate(ctx context.Context, id int32, data WritableAggregate) (Aggregate, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this aggregate.
- @param data
@return Aggregate
func (*IpamApiService) IpamAggregatesRead ¶
func (a *IpamApiService) IpamAggregatesRead(ctx context.Context, id int32) (Aggregate, *http.Response, error)
IpamApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this aggregate.
@return Aggregate
func (*IpamApiService) IpamAggregatesUpdate ¶
func (a *IpamApiService) IpamAggregatesUpdate(ctx context.Context, id int32, data WritableAggregate) (Aggregate, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this aggregate.
- @param data
@return Aggregate
func (*IpamApiService) IpamIpAddressesCreate ¶
func (a *IpamApiService) IpamIpAddressesCreate(ctx context.Context, data WritableIpAddress) (IpAddress, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return IpAddress
func (*IpamApiService) IpamIpAddressesDelete ¶
func (a *IpamApiService) IpamIpAddressesDelete(ctx context.Context, id int32) (*http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this IP address.
func (*IpamApiService) IpamIpAddressesList ¶
func (a *IpamApiService) IpamIpAddressesList(ctx context.Context, localVarOptionals *IpamApiIpamIpAddressesListOpts) (InlineResponse20044, *http.Response, error)
func (*IpamApiService) IpamIpAddressesPartialUpdate ¶
func (a *IpamApiService) IpamIpAddressesPartialUpdate(ctx context.Context, id int32, data WritableIpAddress) (IpAddress, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this IP address.
- @param data
@return IpAddress
func (*IpamApiService) IpamIpAddressesRead ¶
func (a *IpamApiService) IpamIpAddressesRead(ctx context.Context, id int32) (IpAddress, *http.Response, error)
IpamApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this IP address.
@return IpAddress
func (*IpamApiService) IpamIpAddressesUpdate ¶
func (a *IpamApiService) IpamIpAddressesUpdate(ctx context.Context, id int32, data WritableIpAddress) (IpAddress, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this IP address.
- @param data
@return IpAddress
func (*IpamApiService) IpamPrefixesAvailableIpsCreate ¶
func (a *IpamApiService) IpamPrefixesAvailableIpsCreate(ctx context.Context, id int32, data WritablePrefix) ([]AvailableIp, *http.Response, error)
IpamApiService A convenience method for returning available IP addresses within a prefix. By default, the number of IPs returned will be equivalent to PAGINATE_COUNT. An arbitrary limit (up to MAX_PAGE_SIZE, if set) may be passed, however results will not be paginated. The advisory lock decorator uses a PostgreSQL advisory lock to prevent this API from being invoked in parallel, which results in a race condition where multiple insertions can occur.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this prefix.
- @param data
@return []AvailableIp
func (*IpamApiService) IpamPrefixesAvailableIpsRead ¶
func (a *IpamApiService) IpamPrefixesAvailableIpsRead(ctx context.Context, id int32) ([]AvailableIp, *http.Response, error)
IpamApiService A convenience method for returning available IP addresses within a prefix. By default, the number of IPs returned will be equivalent to PAGINATE_COUNT. An arbitrary limit (up to MAX_PAGE_SIZE, if set) may be passed, however results will not be paginated. The advisory lock decorator uses a PostgreSQL advisory lock to prevent this API from being invoked in parallel, which results in a race condition where multiple insertions can occur.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this prefix.
@return []AvailableIp
func (*IpamApiService) IpamPrefixesAvailablePrefixesCreate ¶
func (a *IpamApiService) IpamPrefixesAvailablePrefixesCreate(ctx context.Context, id int32, data WritablePrefix) ([]AvailablePrefix, *http.Response, error)
IpamApiService A convenience method for returning available child prefixes within a parent. The advisory lock decorator uses a PostgreSQL advisory lock to prevent this API from being invoked in parallel, which results in a race condition where multiple insertions can occur.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this prefix.
- @param data
@return []AvailablePrefix
func (*IpamApiService) IpamPrefixesAvailablePrefixesRead ¶
func (a *IpamApiService) IpamPrefixesAvailablePrefixesRead(ctx context.Context, id int32) ([]AvailablePrefix, *http.Response, error)
IpamApiService A convenience method for returning available child prefixes within a parent. The advisory lock decorator uses a PostgreSQL advisory lock to prevent this API from being invoked in parallel, which results in a race condition where multiple insertions can occur.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this prefix.
@return []AvailablePrefix
func (*IpamApiService) IpamPrefixesCreate ¶
func (a *IpamApiService) IpamPrefixesCreate(ctx context.Context, data WritablePrefix) (Prefix, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Prefix
func (*IpamApiService) IpamPrefixesDelete ¶
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this prefix.
func (*IpamApiService) IpamPrefixesList ¶
func (a *IpamApiService) IpamPrefixesList(ctx context.Context, localVarOptionals *IpamApiIpamPrefixesListOpts) (InlineResponse20045, *http.Response, error)
func (*IpamApiService) IpamPrefixesPartialUpdate ¶
func (a *IpamApiService) IpamPrefixesPartialUpdate(ctx context.Context, id int32, data WritablePrefix) (Prefix, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this prefix.
- @param data
@return Prefix
func (*IpamApiService) IpamPrefixesRead ¶
func (a *IpamApiService) IpamPrefixesRead(ctx context.Context, id int32) (Prefix, *http.Response, error)
IpamApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this prefix.
@return Prefix
func (*IpamApiService) IpamPrefixesUpdate ¶
func (a *IpamApiService) IpamPrefixesUpdate(ctx context.Context, id int32, data WritablePrefix) (Prefix, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this prefix.
- @param data
@return Prefix
func (*IpamApiService) IpamRirsCreate ¶
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Rir
func (*IpamApiService) IpamRirsDelete ¶
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this RIR.
func (*IpamApiService) IpamRirsList ¶
func (a *IpamApiService) IpamRirsList(ctx context.Context, localVarOptionals *IpamApiIpamRirsListOpts) (InlineResponse20046, *http.Response, error)
func (*IpamApiService) IpamRirsPartialUpdate ¶
func (a *IpamApiService) IpamRirsPartialUpdate(ctx context.Context, id int32, data Rir) (Rir, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this RIR.
- @param data
@return Rir
func (*IpamApiService) IpamRirsRead ¶
IpamApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this RIR.
@return Rir
func (*IpamApiService) IpamRirsUpdate ¶
func (a *IpamApiService) IpamRirsUpdate(ctx context.Context, id int32, data Rir) (Rir, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this RIR.
- @param data
@return Rir
func (*IpamApiService) IpamRolesCreate ¶
func (a *IpamApiService) IpamRolesCreate(ctx context.Context, data Role) (Role, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Role
func (*IpamApiService) IpamRolesDelete ¶
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this role.
func (*IpamApiService) IpamRolesList ¶
func (a *IpamApiService) IpamRolesList(ctx context.Context, localVarOptionals *IpamApiIpamRolesListOpts) (InlineResponse20047, *http.Response, error)
func (*IpamApiService) IpamRolesPartialUpdate ¶
func (a *IpamApiService) IpamRolesPartialUpdate(ctx context.Context, id int32, data Role) (Role, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this role.
- @param data
@return Role
func (*IpamApiService) IpamRolesRead ¶
IpamApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this role.
@return Role
func (*IpamApiService) IpamRolesUpdate ¶
func (a *IpamApiService) IpamRolesUpdate(ctx context.Context, id int32, data Role) (Role, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this role.
- @param data
@return Role
func (*IpamApiService) IpamServicesCreate ¶
func (a *IpamApiService) IpamServicesCreate(ctx context.Context, data WritableService) (Service, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Service
func (*IpamApiService) IpamServicesDelete ¶
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this service.
func (*IpamApiService) IpamServicesList ¶
func (a *IpamApiService) IpamServicesList(ctx context.Context, localVarOptionals *IpamApiIpamServicesListOpts) (InlineResponse20048, *http.Response, error)
func (*IpamApiService) IpamServicesPartialUpdate ¶
func (a *IpamApiService) IpamServicesPartialUpdate(ctx context.Context, id int32, data WritableService) (Service, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this service.
- @param data
@return Service
func (*IpamApiService) IpamServicesRead ¶
func (a *IpamApiService) IpamServicesRead(ctx context.Context, id int32) (Service, *http.Response, error)
IpamApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this service.
@return Service
func (*IpamApiService) IpamServicesUpdate ¶
func (a *IpamApiService) IpamServicesUpdate(ctx context.Context, id int32, data WritableService) (Service, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this service.
- @param data
@return Service
func (*IpamApiService) IpamVlanGroupsCreate ¶
func (a *IpamApiService) IpamVlanGroupsCreate(ctx context.Context, data WritableVlanGroup) (VlanGroup, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return VlanGroup
func (*IpamApiService) IpamVlanGroupsDelete ¶
func (a *IpamApiService) IpamVlanGroupsDelete(ctx context.Context, id int32) (*http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this VLAN group.
func (*IpamApiService) IpamVlanGroupsList ¶
func (a *IpamApiService) IpamVlanGroupsList(ctx context.Context, localVarOptionals *IpamApiIpamVlanGroupsListOpts) (InlineResponse20049, *http.Response, error)
func (*IpamApiService) IpamVlanGroupsPartialUpdate ¶
func (a *IpamApiService) IpamVlanGroupsPartialUpdate(ctx context.Context, id int32, data WritableVlanGroup) (VlanGroup, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this VLAN group.
- @param data
@return VlanGroup
func (*IpamApiService) IpamVlanGroupsRead ¶
func (a *IpamApiService) IpamVlanGroupsRead(ctx context.Context, id int32) (VlanGroup, *http.Response, error)
IpamApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this VLAN group.
@return VlanGroup
func (*IpamApiService) IpamVlanGroupsUpdate ¶
func (a *IpamApiService) IpamVlanGroupsUpdate(ctx context.Context, id int32, data WritableVlanGroup) (VlanGroup, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this VLAN group.
- @param data
@return VlanGroup
func (*IpamApiService) IpamVlansCreate ¶
func (a *IpamApiService) IpamVlansCreate(ctx context.Context, data WritableVlan) (Vlan, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Vlan
func (*IpamApiService) IpamVlansDelete ¶
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this VLAN.
func (*IpamApiService) IpamVlansList ¶
func (a *IpamApiService) IpamVlansList(ctx context.Context, localVarOptionals *IpamApiIpamVlansListOpts) (InlineResponse20050, *http.Response, error)
func (*IpamApiService) IpamVlansPartialUpdate ¶
func (a *IpamApiService) IpamVlansPartialUpdate(ctx context.Context, id int32, data WritableVlan) (Vlan, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this VLAN.
- @param data
@return Vlan
func (*IpamApiService) IpamVlansRead ¶
IpamApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this VLAN.
@return Vlan
func (*IpamApiService) IpamVlansUpdate ¶
func (a *IpamApiService) IpamVlansUpdate(ctx context.Context, id int32, data WritableVlan) (Vlan, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this VLAN.
- @param data
@return Vlan
func (*IpamApiService) IpamVrfsCreate ¶
func (a *IpamApiService) IpamVrfsCreate(ctx context.Context, data WritableVrf) (Vrf, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Vrf
func (*IpamApiService) IpamVrfsDelete ¶
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this VRF.
func (*IpamApiService) IpamVrfsList ¶
func (a *IpamApiService) IpamVrfsList(ctx context.Context, localVarOptionals *IpamApiIpamVrfsListOpts) (InlineResponse20051, *http.Response, error)
func (*IpamApiService) IpamVrfsPartialUpdate ¶
func (a *IpamApiService) IpamVrfsPartialUpdate(ctx context.Context, id int32, data WritableVrf) (Vrf, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this VRF.
- @param data
@return Vrf
func (*IpamApiService) IpamVrfsRead ¶
IpamApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this VRF.
@return Vrf
func (*IpamApiService) IpamVrfsUpdate ¶
func (a *IpamApiService) IpamVrfsUpdate(ctx context.Context, id int32, data WritableVrf) (Vrf, *http.Response, error)
IpamApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this VRF.
- @param data
@return Vrf
type LengthUnit ¶
type Manufacturer ¶
type Manufacturer struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` Slug string `json:"slug"` Description string `json:"description,omitempty"` DevicetypeCount int32 `json:"devicetype_count,omitempty"` InventoryitemCount int32 `json:"inventoryitem_count,omitempty"` PlatformCount int32 `json:"platform_count,omitempty"` }
type NestedCable ¶
type NestedCircuit ¶
type NestedCircuitType ¶
type NestedCluster ¶
type NestedClusterGroup ¶
type NestedClusterType ¶
type NestedDevice ¶
type NestedDeviceRole ¶
type NestedDeviceType ¶
type NestedDeviceType struct { Id int32 `json:"id,omitempty"` Url string `json:"url,omitempty"` Manufacturer *NestedManufacturer `json:"manufacturer,omitempty"` Model string `json:"model"` Slug string `json:"slug"` DisplayName string `json:"display_name,omitempty"` DeviceCount int32 `json:"device_count,omitempty"` }
type NestedInterface ¶
type NestedInterface struct { Id int32 `json:"id,omitempty"` Url string `json:"url,omitempty"` Device *NestedDevice `json:"device,omitempty"` Name string `json:"name"` Cable int32 `json:"cable,omitempty"` ConnectionStatus *ConnectionStatus `json:"connection_status,omitempty"` }
type NestedIpAddress ¶
type NestedManufacturer ¶
type NestedPlatform ¶
type NestedPowerPanel ¶
type NestedPowerPort ¶
type NestedPowerPort struct { Id int32 `json:"id,omitempty"` Url string `json:"url,omitempty"` Device *NestedDevice `json:"device,omitempty"` Name string `json:"name"` Cable int32 `json:"cable,omitempty"` ConnectionStatus *ConnectionStatus `json:"connection_status,omitempty"` }
type NestedPowerPortTemplate ¶
type NestedProvider ¶
type NestedRack ¶
type NestedRackGroup ¶
type NestedRackRole ¶
type NestedRearPortTemplate ¶
type NestedRegion ¶
type NestedRole ¶
type NestedSecretRole ¶
type NestedSite ¶
type NestedTenant ¶
type NestedTenantGroup ¶
type NestedUser ¶
type NestedVirtualChassis ¶
type NestedVirtualChassis struct { Id int32 `json:"id,omitempty"` Url string `json:"url,omitempty"` Master *NestedDevice `json:"master"` MemberCount int32 `json:"member_count,omitempty"` }
type NestedVirtualMachine ¶
type NestedVlan ¶
type NestedVlanGroup ¶
type ObjectChange ¶
type ObjectChange struct { Id int32 `json:"id,omitempty"` Time time.Time `json:"time,omitempty"` User *NestedUser `json:"user,omitempty"` UserName string `json:"user_name,omitempty"` RequestId string `json:"request_id,omitempty"` Action *Action `json:"action,omitempty"` ChangedObjectType string `json:"changed_object_type,omitempty"` ChangedObjectId int32 `json:"changed_object_id"` // Serialize a nested representation of the changed object. ChangedObject map[string]string `json:"changed_object,omitempty"` ObjectData string `json:"object_data,omitempty"` }
type Platform ¶
type Platform struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` Slug string `json:"slug"` Manufacturer *NestedManufacturer `json:"manufacturer,omitempty"` // The name of the NAPALM driver to use when interacting with devices NapalmDriver string `json:"napalm_driver,omitempty"` // Additional arguments to pass when initiating the NAPALM driver (JSON format) NapalmArgs string `json:"napalm_args,omitempty"` Description string `json:"description,omitempty"` DeviceCount int32 `json:"device_count,omitempty"` VirtualmachineCount int32 `json:"virtualmachine_count,omitempty"` }
type PowerFeed ¶
type PowerFeed struct { Id int32 `json:"id,omitempty"` PowerPanel *NestedPowerPanel `json:"power_panel"` Rack *NestedRack `json:"rack,omitempty"` Name string `json:"name"` Status *Status3 `json:"status,omitempty"` Type_ *Type4 `json:"type,omitempty"` Supply *Supply `json:"supply,omitempty"` Phase *Phase `json:"phase,omitempty"` Voltage int32 `json:"voltage,omitempty"` Amperage int32 `json:"amperage,omitempty"` // Maximum permissible draw (percentage) MaxUtilization int32 `json:"max_utilization,omitempty"` Comments string `json:"comments,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type PowerOutlet ¶
type PowerOutlet struct { Id int32 `json:"id,omitempty"` Device *NestedDevice `json:"device"` Name string `json:"name"` Type_ *Type5 `json:"type,omitempty"` PowerPort *NestedPowerPort `json:"power_port,omitempty"` FeedLeg *FeedLeg `json:"feed_leg,omitempty"` Description string `json:"description,omitempty"` ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"` // Return the appropriate serializer for the type of connected object. ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"` ConnectionStatus *ConnectionStatus `json:"connection_status,omitempty"` Cable *NestedCable `json:"cable,omitempty"` Tags []string `json:"tags,omitempty"` }
type PowerOutletTemplate ¶
type PowerOutletTemplate struct { Id int32 `json:"id,omitempty"` DeviceType *NestedDeviceType `json:"device_type"` Name string `json:"name"` Type_ *Type5 `json:"type,omitempty"` PowerPort *NestedPowerPortTemplate `json:"power_port,omitempty"` FeedLeg *FeedLeg `json:"feed_leg,omitempty"` }
type PowerPanel ¶
type PowerPanel struct { Id int32 `json:"id,omitempty"` Site *NestedSite `json:"site"` RackGroup *NestedRackGroup `json:"rack_group,omitempty"` Name string `json:"name"` PowerfeedCount int32 `json:"powerfeed_count,omitempty"` }
type PowerPort ¶
type PowerPort struct { Id int32 `json:"id,omitempty"` Device *NestedDevice `json:"device"` Name string `json:"name"` Type_ *Type3 `json:"type,omitempty"` // Maximum power draw (watts) MaximumDraw int32 `json:"maximum_draw,omitempty"` // Allocated power draw (watts) AllocatedDraw int32 `json:"allocated_draw,omitempty"` Description string `json:"description,omitempty"` ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"` // Return the appropriate serializer for the type of connected object. ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"` ConnectionStatus *ConnectionStatus `json:"connection_status,omitempty"` Cable *NestedCable `json:"cable,omitempty"` Tags []string `json:"tags,omitempty"` }
type PowerPortTemplate ¶
type PowerPortTemplate struct { Id int32 `json:"id,omitempty"` DeviceType *NestedDeviceType `json:"device_type"` Name string `json:"name"` Type_ *Type3 `json:"type,omitempty"` // Maximum power draw (watts) MaximumDraw int32 `json:"maximum_draw,omitempty"` // Allocated power draw (watts) AllocatedDraw int32 `json:"allocated_draw,omitempty"` }
type Prefix ¶
type Prefix struct { Id int32 `json:"id,omitempty"` Family *Family `json:"family,omitempty"` // IPv4 or IPv6 network with mask Prefix string `json:"prefix"` Site *NestedSite `json:"site,omitempty"` Vrf *NestedVrf `json:"vrf,omitempty"` Tenant *NestedTenant `json:"tenant,omitempty"` Vlan *NestedVlan `json:"vlan,omitempty"` Status *Status7 `json:"status,omitempty"` Role *NestedRole `json:"role,omitempty"` // All IP addresses within this prefix are considered usable IsPool bool `json:"is_pool,omitempty"` Description string `json:"description,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type Provider ¶
type Provider struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` Slug string `json:"slug"` // 32-bit autonomous system number Asn int32 `json:"asn,omitempty"` Account string `json:"account,omitempty"` PortalUrl string `json:"portal_url,omitempty"` NocContact string `json:"noc_contact,omitempty"` AdminContact string `json:"admin_contact,omitempty"` Comments string `json:"comments,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` CircuitCount int32 `json:"circuit_count,omitempty"` }
type Rack ¶
type Rack struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` // Locally-assigned identifier FacilityId string `json:"facility_id,omitempty"` DisplayName string `json:"display_name,omitempty"` Site *NestedSite `json:"site"` Group *NestedRackGroup `json:"group,omitempty"` Tenant *NestedTenant `json:"tenant,omitempty"` Status *Status4 `json:"status,omitempty"` Role *NestedRackRole `json:"role,omitempty"` Serial string `json:"serial,omitempty"` // A unique tag used to identify this rack AssetTag string `json:"asset_tag,omitempty"` Type_ *Type6 `json:"type,omitempty"` Width *Width `json:"width,omitempty"` // Height in rack units UHeight int32 `json:"u_height,omitempty"` // Units are numbered top-to-bottom DescUnits bool `json:"desc_units,omitempty"` // Outer dimension of rack (width) OuterWidth int32 `json:"outer_width,omitempty"` // Outer dimension of rack (depth) OuterDepth int32 `json:"outer_depth,omitempty"` OuterUnit *OuterUnit `json:"outer_unit,omitempty"` Comments string `json:"comments,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` DeviceCount int32 `json:"device_count,omitempty"` PowerfeedCount int32 `json:"powerfeed_count,omitempty"` }
type RackGroup ¶
type RackGroup struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` Slug string `json:"slug"` Site *NestedSite `json:"site"` Parent *NestedRackGroup `json:"parent,omitempty"` Description string `json:"description,omitempty"` RackCount int32 `json:"rack_count,omitempty"` }
type RackReservation ¶
type RackReservation struct { Id int32 `json:"id,omitempty"` Rack *NestedRack `json:"rack"` Units []int32 `json:"units"` Created string `json:"created,omitempty"` User *NestedUser `json:"user"` Tenant *NestedTenant `json:"tenant,omitempty"` Description string `json:"description"` }
type RackUnit ¶
type RackUnit struct { Id int32 `json:"id,omitempty"` Name string `json:"name,omitempty"` Face *Face `json:"face,omitempty"` Device *NestedDevice `json:"device,omitempty"` }
type RearPort ¶
type RearPort struct { Id int32 `json:"id,omitempty"` Device *NestedDevice `json:"device"` Name string `json:"name"` Type_ *Type1 `json:"type"` Positions int32 `json:"positions,omitempty"` Description string `json:"description,omitempty"` Cable *NestedCable `json:"cable,omitempty"` Tags []string `json:"tags,omitempty"` }
type RearPortTemplate ¶
type RearPortTemplate struct { Id int32 `json:"id,omitempty"` DeviceType *NestedDeviceType `json:"device_type"` Name string `json:"name"` Type_ *Type1 `json:"type"` Positions int32 `json:"positions,omitempty"` }
type Rir ¶
type Rir struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` Slug string `json:"slug"` // IP space managed by this RIR is considered private IsPrivate bool `json:"is_private,omitempty"` Description string `json:"description,omitempty"` AggregateCount int32 `json:"aggregate_count,omitempty"` }
type Secret ¶
type Secret struct { Id int32 `json:"id,omitempty"` Device *NestedDevice `json:"device"` Role *NestedSecretRole `json:"role"` Name string `json:"name,omitempty"` Plaintext string `json:"plaintext"` Hash string `json:"hash,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type SecretRole ¶
type SecretsApiSecretsSecretRolesListOpts ¶
type SecretsApiSecretsSecretRolesListOpts struct { Id optional.String Name optional.String Slug optional.String Q optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String Limit optional.Int32 Offset optional.Int32 }
type SecretsApiSecretsSecretsListOpts ¶
type SecretsApiSecretsSecretsListOpts struct { Id optional.String Name optional.String Created optional.String CreatedGte optional.String CreatedLte optional.String LastUpdated optional.String LastUpdatedGte optional.String LastUpdatedLte optional.String Q optional.String RoleId optional.String Role optional.String DeviceId optional.String Device optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String RoleIdN optional.String RoleN optional.String DeviceIdN optional.String DeviceN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type SecretsApiService ¶
type SecretsApiService service
func (*SecretsApiService) SecretsGenerateRsaKeyPairList ¶
func (a *SecretsApiService) SecretsGenerateRsaKeyPairList(ctx context.Context) (*http.Response, error)
SecretsApiService This endpoint can be used to generate a new RSA key pair. The keys are returned in PEM format. { \"public_key\": \"<public key>\", \"private_key\": \"<private key>\" }
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
func (*SecretsApiService) SecretsGetSessionKeyCreate ¶
SecretsApiService Retrieve a temporary session key to use for encrypting and decrypting secrets via the API. The user's private RSA key is POSTed with the name `private_key`. An example: curl -v -X POST -H \"Authorization: Token <token>\" -H \"Accept: application/json; indent=4\" \\ --data-urlencode \"private_key@<filename>\" https://netbox/api/secrets/get-session-key/ This request will yield a base64-encoded session key to be included in an `X-Session-Key` header in future requests: { \"session_key\": \"+8t4SI6XikgVmB5+/urhozx9O5qCQANyOk1MNe6taRf=\" } This endpoint accepts one optional parameter: `preserve_key`. If True and a session key exists, the existing session key will be returned instead of a new one.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
func (*SecretsApiService) SecretsSecretRolesCreate ¶
func (a *SecretsApiService) SecretsSecretRolesCreate(ctx context.Context, data SecretRole) (SecretRole, *http.Response, error)
SecretsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return SecretRole
func (*SecretsApiService) SecretsSecretRolesDelete ¶
func (a *SecretsApiService) SecretsSecretRolesDelete(ctx context.Context, id int32) (*http.Response, error)
SecretsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this secret role.
func (*SecretsApiService) SecretsSecretRolesList ¶
func (a *SecretsApiService) SecretsSecretRolesList(ctx context.Context, localVarOptionals *SecretsApiSecretsSecretRolesListOpts) (InlineResponse20052, *http.Response, error)
func (*SecretsApiService) SecretsSecretRolesPartialUpdate ¶
func (a *SecretsApiService) SecretsSecretRolesPartialUpdate(ctx context.Context, id int32, data SecretRole) (SecretRole, *http.Response, error)
SecretsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this secret role.
- @param data
@return SecretRole
func (*SecretsApiService) SecretsSecretRolesRead ¶
func (a *SecretsApiService) SecretsSecretRolesRead(ctx context.Context, id int32) (SecretRole, *http.Response, error)
SecretsApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this secret role.
@return SecretRole
func (*SecretsApiService) SecretsSecretRolesUpdate ¶
func (a *SecretsApiService) SecretsSecretRolesUpdate(ctx context.Context, id int32, data SecretRole) (SecretRole, *http.Response, error)
SecretsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this secret role.
- @param data
@return SecretRole
func (*SecretsApiService) SecretsSecretsCreate ¶
func (a *SecretsApiService) SecretsSecretsCreate(ctx context.Context, data WritableSecret) (Secret, *http.Response, error)
SecretsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Secret
func (*SecretsApiService) SecretsSecretsDelete ¶
func (a *SecretsApiService) SecretsSecretsDelete(ctx context.Context, id int32) (*http.Response, error)
SecretsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this secret.
func (*SecretsApiService) SecretsSecretsList ¶
func (a *SecretsApiService) SecretsSecretsList(ctx context.Context, localVarOptionals *SecretsApiSecretsSecretsListOpts) (InlineResponse20053, *http.Response, error)
func (*SecretsApiService) SecretsSecretsPartialUpdate ¶
func (a *SecretsApiService) SecretsSecretsPartialUpdate(ctx context.Context, id int32, data WritableSecret) (Secret, *http.Response, error)
SecretsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this secret.
- @param data
@return Secret
func (*SecretsApiService) SecretsSecretsRead ¶
func (a *SecretsApiService) SecretsSecretsRead(ctx context.Context, id int32) (Secret, *http.Response, error)
SecretsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this secret.
@return Secret
func (*SecretsApiService) SecretsSecretsUpdate ¶
func (a *SecretsApiService) SecretsSecretsUpdate(ctx context.Context, id int32, data WritableSecret) (Secret, *http.Response, error)
SecretsApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this secret.
- @param data
@return Secret
type Service ¶
type Service struct { Id int32 `json:"id,omitempty"` Device *NestedDevice `json:"device,omitempty"` VirtualMachine *NestedVirtualMachine `json:"virtual_machine,omitempty"` Name string `json:"name"` Port int32 `json:"port"` Protocol *Protocol `json:"protocol,omitempty"` Ipaddresses []NestedIpAddress `json:"ipaddresses,omitempty"` Description string `json:"description,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type Site ¶
type Site struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` Slug string `json:"slug"` Status *Status5 `json:"status,omitempty"` Region *NestedRegion `json:"region,omitempty"` Tenant *NestedTenant `json:"tenant,omitempty"` // Local facility ID or description Facility string `json:"facility,omitempty"` // 32-bit autonomous system number Asn int32 `json:"asn,omitempty"` TimeZone string `json:"time_zone,omitempty"` Description string `json:"description,omitempty"` PhysicalAddress string `json:"physical_address,omitempty"` ShippingAddress string `json:"shipping_address,omitempty"` // GPS coordinate (latitude) Latitude string `json:"latitude,omitempty"` // GPS coordinate (longitude) Longitude string `json:"longitude,omitempty"` ContactName string `json:"contact_name,omitempty"` ContactPhone string `json:"contact_phone,omitempty"` ContactEmail string `json:"contact_email,omitempty"` Comments string `json:"comments,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` CircuitCount int32 `json:"circuit_count,omitempty"` DeviceCount int32 `json:"device_count,omitempty"` PrefixCount int32 `json:"prefix_count,omitempty"` RackCount int32 `json:"rack_count,omitempty"` VirtualmachineCount int32 `json:"virtualmachine_count,omitempty"` VlanCount int32 `json:"vlan_count,omitempty"` }
type SubdeviceRole ¶
type TemplateLanguage ¶
type TenancyApiService ¶
type TenancyApiService service
func (*TenancyApiService) TenancyTenantGroupsCreate ¶
func (a *TenancyApiService) TenancyTenantGroupsCreate(ctx context.Context, data WritableTenantGroup) (TenantGroup, *http.Response, error)
TenancyApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return TenantGroup
func (*TenancyApiService) TenancyTenantGroupsDelete ¶
func (a *TenancyApiService) TenancyTenantGroupsDelete(ctx context.Context, id int32) (*http.Response, error)
TenancyApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this tenant group.
func (*TenancyApiService) TenancyTenantGroupsList ¶
func (a *TenancyApiService) TenancyTenantGroupsList(ctx context.Context, localVarOptionals *TenancyApiTenancyTenantGroupsListOpts) (InlineResponse20054, *http.Response, error)
func (*TenancyApiService) TenancyTenantGroupsPartialUpdate ¶
func (a *TenancyApiService) TenancyTenantGroupsPartialUpdate(ctx context.Context, id int32, data WritableTenantGroup) (TenantGroup, *http.Response, error)
TenancyApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this tenant group.
- @param data
@return TenantGroup
func (*TenancyApiService) TenancyTenantGroupsRead ¶
func (a *TenancyApiService) TenancyTenantGroupsRead(ctx context.Context, id int32) (TenantGroup, *http.Response, error)
TenancyApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this tenant group.
@return TenantGroup
func (*TenancyApiService) TenancyTenantGroupsUpdate ¶
func (a *TenancyApiService) TenancyTenantGroupsUpdate(ctx context.Context, id int32, data WritableTenantGroup) (TenantGroup, *http.Response, error)
TenancyApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this tenant group.
- @param data
@return TenantGroup
func (*TenancyApiService) TenancyTenantsCreate ¶
func (a *TenancyApiService) TenancyTenantsCreate(ctx context.Context, data WritableTenant) (Tenant, *http.Response, error)
TenancyApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Tenant
func (*TenancyApiService) TenancyTenantsDelete ¶
func (a *TenancyApiService) TenancyTenantsDelete(ctx context.Context, id int32) (*http.Response, error)
TenancyApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this tenant.
func (*TenancyApiService) TenancyTenantsList ¶
func (a *TenancyApiService) TenancyTenantsList(ctx context.Context, localVarOptionals *TenancyApiTenancyTenantsListOpts) (InlineResponse20055, *http.Response, error)
func (*TenancyApiService) TenancyTenantsPartialUpdate ¶
func (a *TenancyApiService) TenancyTenantsPartialUpdate(ctx context.Context, id int32, data WritableTenant) (Tenant, *http.Response, error)
TenancyApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this tenant.
- @param data
@return Tenant
func (*TenancyApiService) TenancyTenantsRead ¶
func (a *TenancyApiService) TenancyTenantsRead(ctx context.Context, id int32) (Tenant, *http.Response, error)
TenancyApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this tenant.
@return Tenant
func (*TenancyApiService) TenancyTenantsUpdate ¶
func (a *TenancyApiService) TenancyTenantsUpdate(ctx context.Context, id int32, data WritableTenant) (Tenant, *http.Response, error)
TenancyApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this tenant.
- @param data
@return Tenant
type TenancyApiTenancyTenantGroupsListOpts ¶
type TenancyApiTenancyTenantGroupsListOpts struct { Id optional.String Name optional.String Slug optional.String Description optional.String Q optional.String ParentId optional.String Parent optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String DescriptionN optional.String DescriptionIc optional.String DescriptionNic optional.String DescriptionIew optional.String DescriptionNiew optional.String DescriptionIsw optional.String DescriptionNisw optional.String DescriptionIe optional.String DescriptionNie optional.String ParentIdN optional.String ParentN optional.String Limit optional.Int32 Offset optional.Int32 }
type TenancyApiTenancyTenantsListOpts ¶
type TenancyApiTenancyTenantsListOpts struct { Id optional.String Name optional.String Slug optional.String Created optional.String CreatedGte optional.String CreatedLte optional.String LastUpdated optional.String LastUpdatedGte optional.String LastUpdatedLte optional.String Q optional.String GroupId optional.String Group optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String GroupIdN optional.String GroupN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type Tenant ¶
type Tenant struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` Slug string `json:"slug"` Group *NestedTenantGroup `json:"group,omitempty"` Description string `json:"description,omitempty"` Comments string `json:"comments,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` CircuitCount int32 `json:"circuit_count,omitempty"` DeviceCount int32 `json:"device_count,omitempty"` IpaddressCount int32 `json:"ipaddress_count,omitempty"` PrefixCount int32 `json:"prefix_count,omitempty"` RackCount int32 `json:"rack_count,omitempty"` SiteCount int32 `json:"site_count,omitempty"` VirtualmachineCount int32 `json:"virtualmachine_count,omitempty"` VlanCount int32 `json:"vlan_count,omitempty"` VrfCount int32 `json:"vrf_count,omitempty"` ClusterCount int32 `json:"cluster_count,omitempty"` }
type TenantGroup ¶
type VirtualChassis ¶
type VirtualChassis struct { Id int32 `json:"id,omitempty"` Master *NestedDevice `json:"master"` Domain string `json:"domain,omitempty"` Tags []string `json:"tags,omitempty"` MemberCount int32 `json:"member_count,omitempty"` }
type VirtualMachineInterface ¶
type VirtualMachineInterface struct { Id int32 `json:"id,omitempty"` VirtualMachine *NestedVirtualMachine `json:"virtual_machine"` Name string `json:"name"` Type_ *Type7 `json:"type,omitempty"` Enabled bool `json:"enabled,omitempty"` Mtu int32 `json:"mtu,omitempty"` MacAddress string `json:"mac_address,omitempty"` Description string `json:"description,omitempty"` Mode *Mode `json:"mode,omitempty"` UntaggedVlan *NestedVlan `json:"untagged_vlan,omitempty"` TaggedVlans []NestedVlan `json:"tagged_vlans,omitempty"` Tags []string `json:"tags,omitempty"` }
type VirtualMachineWithConfigContext ¶
type VirtualMachineWithConfigContext struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` Status *Status9 `json:"status,omitempty"` Site *NestedSite `json:"site,omitempty"` Cluster *NestedCluster `json:"cluster"` Role *NestedDeviceRole `json:"role,omitempty"` Tenant *NestedTenant `json:"tenant,omitempty"` Platform *NestedPlatform `json:"platform,omitempty"` PrimaryIp *NestedIpAddress `json:"primary_ip,omitempty"` PrimaryIp4 *NestedIpAddress `json:"primary_ip4,omitempty"` PrimaryIp6 *NestedIpAddress `json:"primary_ip6,omitempty"` Vcpus int32 `json:"vcpus,omitempty"` Memory int32 `json:"memory,omitempty"` Disk int32 `json:"disk,omitempty"` Comments string `json:"comments,omitempty"` LocalContextData string `json:"local_context_data,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` ConfigContext *interface{} `json:"config_context,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type VirtualizationApiService ¶
type VirtualizationApiService service
func (*VirtualizationApiService) VirtualizationClusterGroupsCreate ¶
func (a *VirtualizationApiService) VirtualizationClusterGroupsCreate(ctx context.Context, data ClusterGroup) (ClusterGroup, *http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return ClusterGroup
func (*VirtualizationApiService) VirtualizationClusterGroupsDelete ¶
func (a *VirtualizationApiService) VirtualizationClusterGroupsDelete(ctx context.Context, id int32) (*http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this cluster group.
func (*VirtualizationApiService) VirtualizationClusterGroupsList ¶
func (a *VirtualizationApiService) VirtualizationClusterGroupsList(ctx context.Context, localVarOptionals *VirtualizationApiVirtualizationClusterGroupsListOpts) (InlineResponse20056, *http.Response, error)
func (*VirtualizationApiService) VirtualizationClusterGroupsPartialUpdate ¶
func (a *VirtualizationApiService) VirtualizationClusterGroupsPartialUpdate(ctx context.Context, id int32, data ClusterGroup) (ClusterGroup, *http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this cluster group.
- @param data
@return ClusterGroup
func (*VirtualizationApiService) VirtualizationClusterGroupsRead ¶
func (a *VirtualizationApiService) VirtualizationClusterGroupsRead(ctx context.Context, id int32) (ClusterGroup, *http.Response, error)
VirtualizationApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this cluster group.
@return ClusterGroup
func (*VirtualizationApiService) VirtualizationClusterGroupsUpdate ¶
func (a *VirtualizationApiService) VirtualizationClusterGroupsUpdate(ctx context.Context, id int32, data ClusterGroup) (ClusterGroup, *http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this cluster group.
- @param data
@return ClusterGroup
func (*VirtualizationApiService) VirtualizationClusterTypesCreate ¶
func (a *VirtualizationApiService) VirtualizationClusterTypesCreate(ctx context.Context, data ClusterType) (ClusterType, *http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return ClusterType
func (*VirtualizationApiService) VirtualizationClusterTypesDelete ¶
func (a *VirtualizationApiService) VirtualizationClusterTypesDelete(ctx context.Context, id int32) (*http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this cluster type.
func (*VirtualizationApiService) VirtualizationClusterTypesList ¶
func (a *VirtualizationApiService) VirtualizationClusterTypesList(ctx context.Context, localVarOptionals *VirtualizationApiVirtualizationClusterTypesListOpts) (InlineResponse20057, *http.Response, error)
func (*VirtualizationApiService) VirtualizationClusterTypesPartialUpdate ¶
func (a *VirtualizationApiService) VirtualizationClusterTypesPartialUpdate(ctx context.Context, id int32, data ClusterType) (ClusterType, *http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this cluster type.
- @param data
@return ClusterType
func (*VirtualizationApiService) VirtualizationClusterTypesRead ¶
func (a *VirtualizationApiService) VirtualizationClusterTypesRead(ctx context.Context, id int32) (ClusterType, *http.Response, error)
VirtualizationApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this cluster type.
@return ClusterType
func (*VirtualizationApiService) VirtualizationClusterTypesUpdate ¶
func (a *VirtualizationApiService) VirtualizationClusterTypesUpdate(ctx context.Context, id int32, data ClusterType) (ClusterType, *http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this cluster type.
- @param data
@return ClusterType
func (*VirtualizationApiService) VirtualizationClustersCreate ¶
func (a *VirtualizationApiService) VirtualizationClustersCreate(ctx context.Context, data WritableCluster) (Cluster, *http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return Cluster
func (*VirtualizationApiService) VirtualizationClustersDelete ¶
func (a *VirtualizationApiService) VirtualizationClustersDelete(ctx context.Context, id int32) (*http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this cluster.
func (*VirtualizationApiService) VirtualizationClustersList ¶
func (a *VirtualizationApiService) VirtualizationClustersList(ctx context.Context, localVarOptionals *VirtualizationApiVirtualizationClustersListOpts) (InlineResponse20058, *http.Response, error)
func (*VirtualizationApiService) VirtualizationClustersPartialUpdate ¶
func (a *VirtualizationApiService) VirtualizationClustersPartialUpdate(ctx context.Context, id int32, data WritableCluster) (Cluster, *http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this cluster.
- @param data
@return Cluster
func (*VirtualizationApiService) VirtualizationClustersRead ¶
func (a *VirtualizationApiService) VirtualizationClustersRead(ctx context.Context, id int32) (Cluster, *http.Response, error)
VirtualizationApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this cluster.
@return Cluster
func (*VirtualizationApiService) VirtualizationClustersUpdate ¶
func (a *VirtualizationApiService) VirtualizationClustersUpdate(ctx context.Context, id int32, data WritableCluster) (Cluster, *http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this cluster.
- @param data
@return Cluster
func (*VirtualizationApiService) VirtualizationInterfacesCreate ¶
func (a *VirtualizationApiService) VirtualizationInterfacesCreate(ctx context.Context, data WritableVirtualMachineInterface) (VirtualMachineInterface, *http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return VirtualMachineInterface
func (*VirtualizationApiService) VirtualizationInterfacesDelete ¶
func (a *VirtualizationApiService) VirtualizationInterfacesDelete(ctx context.Context, id int32) (*http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this interface.
func (*VirtualizationApiService) VirtualizationInterfacesList ¶
func (a *VirtualizationApiService) VirtualizationInterfacesList(ctx context.Context, localVarOptionals *VirtualizationApiVirtualizationInterfacesListOpts) (InlineResponse20059, *http.Response, error)
func (*VirtualizationApiService) VirtualizationInterfacesPartialUpdate ¶
func (a *VirtualizationApiService) VirtualizationInterfacesPartialUpdate(ctx context.Context, id int32, data WritableVirtualMachineInterface) (VirtualMachineInterface, *http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this interface.
- @param data
@return VirtualMachineInterface
func (*VirtualizationApiService) VirtualizationInterfacesRead ¶
func (a *VirtualizationApiService) VirtualizationInterfacesRead(ctx context.Context, id int32) (VirtualMachineInterface, *http.Response, error)
VirtualizationApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this interface.
@return VirtualMachineInterface
func (*VirtualizationApiService) VirtualizationInterfacesUpdate ¶
func (a *VirtualizationApiService) VirtualizationInterfacesUpdate(ctx context.Context, id int32, data WritableVirtualMachineInterface) (VirtualMachineInterface, *http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this interface.
- @param data
@return VirtualMachineInterface
func (*VirtualizationApiService) VirtualizationVirtualMachinesCreate ¶
func (a *VirtualizationApiService) VirtualizationVirtualMachinesCreate(ctx context.Context, data WritableVirtualMachineWithConfigContext) (VirtualMachineWithConfigContext, *http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param data
@return VirtualMachineWithConfigContext
func (*VirtualizationApiService) VirtualizationVirtualMachinesDelete ¶
func (a *VirtualizationApiService) VirtualizationVirtualMachinesDelete(ctx context.Context, id int32) (*http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this virtual machine.
func (*VirtualizationApiService) VirtualizationVirtualMachinesList ¶
func (a *VirtualizationApiService) VirtualizationVirtualMachinesList(ctx context.Context, localVarOptionals *VirtualizationApiVirtualizationVirtualMachinesListOpts) (InlineResponse20060, *http.Response, error)
func (*VirtualizationApiService) VirtualizationVirtualMachinesPartialUpdate ¶
func (a *VirtualizationApiService) VirtualizationVirtualMachinesPartialUpdate(ctx context.Context, id int32, data WritableVirtualMachineWithConfigContext) (VirtualMachineWithConfigContext, *http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this virtual machine.
- @param data
@return VirtualMachineWithConfigContext
func (*VirtualizationApiService) VirtualizationVirtualMachinesRead ¶
func (a *VirtualizationApiService) VirtualizationVirtualMachinesRead(ctx context.Context, id int32) (VirtualMachineWithConfigContext, *http.Response, error)
VirtualizationApiService Call to super to allow for caching
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this virtual machine.
@return VirtualMachineWithConfigContext
func (*VirtualizationApiService) VirtualizationVirtualMachinesUpdate ¶
func (a *VirtualizationApiService) VirtualizationVirtualMachinesUpdate(ctx context.Context, id int32, data WritableVirtualMachineWithConfigContext) (VirtualMachineWithConfigContext, *http.Response, error)
VirtualizationApiService
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id A unique integer value identifying this virtual machine.
- @param data
@return VirtualMachineWithConfigContext
type VirtualizationApiVirtualizationClusterGroupsListOpts ¶
type VirtualizationApiVirtualizationClusterGroupsListOpts struct { Id optional.String Name optional.String Slug optional.String Description optional.String Q optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String DescriptionN optional.String DescriptionIc optional.String DescriptionNic optional.String DescriptionIew optional.String DescriptionNiew optional.String DescriptionIsw optional.String DescriptionNisw optional.String DescriptionIe optional.String DescriptionNie optional.String Limit optional.Int32 Offset optional.Int32 }
type VirtualizationApiVirtualizationClusterTypesListOpts ¶
type VirtualizationApiVirtualizationClusterTypesListOpts struct { Id optional.String Name optional.String Slug optional.String Description optional.String Q optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String SlugN optional.String SlugIc optional.String SlugNic optional.String SlugIew optional.String SlugNiew optional.String SlugIsw optional.String SlugNisw optional.String SlugIe optional.String SlugNie optional.String DescriptionN optional.String DescriptionIc optional.String DescriptionNic optional.String DescriptionIew optional.String DescriptionNiew optional.String DescriptionIsw optional.String DescriptionNisw optional.String DescriptionIe optional.String DescriptionNie optional.String Limit optional.Int32 Offset optional.Int32 }
type VirtualizationApiVirtualizationClustersListOpts ¶
type VirtualizationApiVirtualizationClustersListOpts struct { Id optional.String Name optional.String TenantGroupId optional.String TenantGroup optional.String TenantId optional.String Tenant optional.String Created optional.String CreatedGte optional.String CreatedLte optional.String LastUpdated optional.String LastUpdatedGte optional.String LastUpdatedLte optional.String Q optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String GroupId optional.String Group optional.String TypeId optional.String Type_ optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String TenantGroupIdN optional.String TenantGroupN optional.String TenantIdN optional.String TenantN optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String GroupIdN optional.String GroupN optional.String TypeIdN optional.String TypeN optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type VirtualizationApiVirtualizationInterfacesListOpts ¶
type VirtualizationApiVirtualizationInterfacesListOpts struct { Id optional.String Name optional.String Enabled optional.String Mtu optional.String Q optional.String VirtualMachineId optional.String VirtualMachine optional.String MacAddress optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String MtuN optional.String MtuLte optional.String MtuLt optional.String MtuGte optional.String MtuGt optional.String VirtualMachineIdN optional.String VirtualMachineN optional.String MacAddressN optional.String MacAddressIc optional.String MacAddressNic optional.String MacAddressIew optional.String MacAddressNiew optional.String MacAddressIsw optional.String MacAddressNisw optional.String MacAddressIe optional.String MacAddressNie optional.String Limit optional.Int32 Offset optional.Int32 }
type VirtualizationApiVirtualizationVirtualMachinesListOpts ¶
type VirtualizationApiVirtualizationVirtualMachinesListOpts struct { Id optional.String Name optional.String Cluster optional.String Vcpus optional.String Memory optional.String Disk optional.String LocalContextData optional.String TenantGroupId optional.String TenantGroup optional.String TenantId optional.String Tenant optional.String Created optional.String CreatedGte optional.String CreatedLte optional.String LastUpdated optional.String LastUpdatedGte optional.String LastUpdatedLte optional.String Q optional.String Status optional.String ClusterGroupId optional.String ClusterGroup optional.String ClusterTypeId optional.String ClusterType optional.String ClusterId optional.String RegionId optional.String Region optional.String SiteId optional.String Site optional.String RoleId optional.String Role optional.String PlatformId optional.String Platform optional.String MacAddress optional.String Tag optional.String IdN optional.String IdLte optional.String IdLt optional.String IdGte optional.String IdGt optional.String NameN optional.String NameIc optional.String NameNic optional.String NameIew optional.String NameNiew optional.String NameIsw optional.String NameNisw optional.String NameIe optional.String NameNie optional.String ClusterN optional.String VcpusN optional.String VcpusLte optional.String VcpusLt optional.String VcpusGte optional.String VcpusGt optional.String MemoryN optional.String MemoryLte optional.String MemoryLt optional.String MemoryGte optional.String MemoryGt optional.String DiskN optional.String DiskLte optional.String DiskLt optional.String DiskGte optional.String DiskGt optional.String TenantGroupIdN optional.String TenantGroupN optional.String TenantIdN optional.String TenantN optional.String StatusN optional.String ClusterGroupIdN optional.String ClusterGroupN optional.String ClusterTypeIdN optional.String ClusterTypeN optional.String ClusterIdN optional.String RegionIdN optional.String RegionN optional.String SiteIdN optional.String SiteN optional.String RoleIdN optional.String RoleN optional.String PlatformIdN optional.String PlatformN optional.String MacAddressN optional.String MacAddressIc optional.String MacAddressNic optional.String MacAddressIew optional.String MacAddressNiew optional.String MacAddressIsw optional.String MacAddressNisw optional.String MacAddressIe optional.String MacAddressNie optional.String TagN optional.String Limit optional.Int32 Offset optional.Int32 }
type Vlan ¶
type Vlan struct { Id int32 `json:"id,omitempty"` Site *NestedSite `json:"site,omitempty"` Group *NestedVlanGroup `json:"group,omitempty"` Vid int32 `json:"vid"` Name string `json:"name"` Tenant *NestedTenant `json:"tenant,omitempty"` Status *Status8 `json:"status,omitempty"` Role *NestedRole `json:"role,omitempty"` Description string `json:"description,omitempty"` Tags []string `json:"tags,omitempty"` DisplayName string `json:"display_name,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` PrefixCount int32 `json:"prefix_count,omitempty"` }
type Vrf ¶
type Vrf struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` // Unique route distinguisher (as defined in RFC 4364) Rd string `json:"rd,omitempty"` Tenant *NestedTenant `json:"tenant,omitempty"` // Prevent duplicate prefixes/IP addresses within this VRF EnforceUnique bool `json:"enforce_unique,omitempty"` Description string `json:"description,omitempty"` Tags []string `json:"tags,omitempty"` DisplayName string `json:"display_name,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` IpaddressCount int32 `json:"ipaddress_count,omitempty"` PrefixCount int32 `json:"prefix_count,omitempty"` }
type WritableAggregate ¶
type WritableAggregate struct { Id int32 `json:"id,omitempty"` Family string `json:"family,omitempty"` Prefix string `json:"prefix"` Rir int32 `json:"rir"` DateAdded string `json:"date_added,omitempty"` Description string `json:"description,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type WritableCable ¶
type WritableCable struct { Id int32 `json:"id,omitempty"` TerminationAType string `json:"termination_a_type"` TerminationAId int32 `json:"termination_a_id"` TerminationA map[string]string `json:"termination_a,omitempty"` TerminationBType string `json:"termination_b_type"` TerminationBId int32 `json:"termination_b_id"` TerminationB map[string]string `json:"termination_b,omitempty"` Type_ string `json:"type,omitempty"` Status string `json:"status,omitempty"` Label string `json:"label,omitempty"` Color string `json:"color,omitempty"` Length int32 `json:"length,omitempty"` LengthUnit string `json:"length_unit,omitempty"` }
type WritableCircuit ¶
type WritableCircuit struct { Id int32 `json:"id,omitempty"` Cid string `json:"cid"` Provider int32 `json:"provider"` Type_ int32 `json:"type"` Status string `json:"status,omitempty"` Tenant int32 `json:"tenant,omitempty"` InstallDate string `json:"install_date,omitempty"` CommitRate int32 `json:"commit_rate,omitempty"` Description string `json:"description,omitempty"` TerminationA string `json:"termination_a,omitempty"` TerminationZ string `json:"termination_z,omitempty"` Comments string `json:"comments,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type WritableCircuitTermination ¶
type WritableCircuitTermination struct { Id int32 `json:"id,omitempty"` Circuit int32 `json:"circuit"` TermSide string `json:"term_side"` Site int32 `json:"site"` PortSpeed int32 `json:"port_speed"` // Upstream speed, if different from port speed UpstreamSpeed int32 `json:"upstream_speed,omitempty"` XconnectId string `json:"xconnect_id,omitempty"` PpInfo string `json:"pp_info,omitempty"` Description string `json:"description,omitempty"` ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"` // Return the appropriate serializer for the type of connected object. ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"` ConnectionStatus bool `json:"connection_status,omitempty"` Cable *NestedCable `json:"cable,omitempty"` }
type WritableCluster ¶
type WritableCluster struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` Type_ int32 `json:"type"` Group int32 `json:"group,omitempty"` Tenant int32 `json:"tenant,omitempty"` Site int32 `json:"site,omitempty"` Comments string `json:"comments,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` DeviceCount int32 `json:"device_count,omitempty"` VirtualmachineCount int32 `json:"virtualmachine_count,omitempty"` }
type WritableConfigContext ¶
type WritableConfigContext struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` Weight int32 `json:"weight,omitempty"` Description string `json:"description,omitempty"` IsActive bool `json:"is_active,omitempty"` Regions []int32 `json:"regions,omitempty"` Sites []int32 `json:"sites,omitempty"` Roles []int32 `json:"roles,omitempty"` Platforms []int32 `json:"platforms,omitempty"` ClusterGroups []int32 `json:"cluster_groups,omitempty"` Clusters []int32 `json:"clusters,omitempty"` TenantGroups []int32 `json:"tenant_groups,omitempty"` Tenants []int32 `json:"tenants,omitempty"` Tags []string `json:"tags,omitempty"` Data string `json:"data"` }
type WritableConsolePort ¶
type WritableConsolePort struct { Id int32 `json:"id,omitempty"` Device int32 `json:"device"` Name string `json:"name"` // Physical port type Type_ string `json:"type,omitempty"` Description string `json:"description,omitempty"` ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"` // Return the appropriate serializer for the type of connected object. ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"` ConnectionStatus bool `json:"connection_status,omitempty"` Cable *NestedCable `json:"cable,omitempty"` Tags []string `json:"tags,omitempty"` }
type WritableConsoleServerPort ¶
type WritableConsoleServerPort struct { Id int32 `json:"id,omitempty"` Device int32 `json:"device"` Name string `json:"name"` // Physical port type Type_ string `json:"type,omitempty"` Description string `json:"description,omitempty"` ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"` // Return the appropriate serializer for the type of connected object. ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"` ConnectionStatus bool `json:"connection_status,omitempty"` Cable *NestedCable `json:"cable,omitempty"` Tags []string `json:"tags,omitempty"` }
type WritableDeviceBay ¶
type WritableDeviceInterface ¶
type WritableDeviceInterface struct { Id int32 `json:"id,omitempty"` Device int32 `json:"device"` Name string `json:"name"` Type_ string `json:"type"` Enabled bool `json:"enabled,omitempty"` Lag int32 `json:"lag,omitempty"` Mtu int32 `json:"mtu,omitempty"` MacAddress string `json:"mac_address,omitempty"` // This interface is used only for out-of-band management MgmtOnly bool `json:"mgmt_only,omitempty"` Description string `json:"description,omitempty"` ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"` // Return the appropriate serializer for the type of connected object. ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"` ConnectionStatus bool `json:"connection_status,omitempty"` Cable *NestedCable `json:"cable,omitempty"` Mode string `json:"mode,omitempty"` UntaggedVlan int32 `json:"untagged_vlan,omitempty"` TaggedVlans []int32 `json:"tagged_vlans,omitempty"` Tags []string `json:"tags,omitempty"` CountIpaddresses int32 `json:"count_ipaddresses,omitempty"` }
type WritableDeviceType ¶
type WritableDeviceType struct { Id int32 `json:"id,omitempty"` Manufacturer int32 `json:"manufacturer"` Model string `json:"model"` Slug string `json:"slug"` DisplayName string `json:"display_name,omitempty"` // Discrete part number (optional) PartNumber string `json:"part_number,omitempty"` UHeight int32 `json:"u_height,omitempty"` // Device consumes both front and rear rack faces IsFullDepth bool `json:"is_full_depth,omitempty"` // Parent devices house child devices in device bays. Leave blank if this device type is neither a parent nor a child. SubdeviceRole string `json:"subdevice_role,omitempty"` FrontImage string `json:"front_image,omitempty"` RearImage string `json:"rear_image,omitempty"` Comments string `json:"comments,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` DeviceCount int32 `json:"device_count,omitempty"` }
type WritableDeviceWithConfigContext ¶
type WritableDeviceWithConfigContext struct { Id int32 `json:"id,omitempty"` Name string `json:"name,omitempty"` DisplayName string `json:"display_name,omitempty"` DeviceType int32 `json:"device_type"` DeviceRole int32 `json:"device_role"` Tenant int32 `json:"tenant,omitempty"` Platform int32 `json:"platform,omitempty"` Serial string `json:"serial,omitempty"` // A unique tag used to identify this device AssetTag string `json:"asset_tag,omitempty"` Site int32 `json:"site"` Rack int32 `json:"rack,omitempty"` // The lowest-numbered unit occupied by the device Position int32 `json:"position,omitempty"` Face string `json:"face,omitempty"` ParentDevice *NestedDevice `json:"parent_device,omitempty"` Status string `json:"status,omitempty"` PrimaryIp string `json:"primary_ip,omitempty"` PrimaryIp4 int32 `json:"primary_ip4,omitempty"` PrimaryIp6 int32 `json:"primary_ip6,omitempty"` Cluster int32 `json:"cluster,omitempty"` VirtualChassis int32 `json:"virtual_chassis,omitempty"` VcPosition int32 `json:"vc_position,omitempty"` VcPriority int32 `json:"vc_priority,omitempty"` Comments string `json:"comments,omitempty"` LocalContextData string `json:"local_context_data,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` ConfigContext *interface{} `json:"config_context,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type WritableExportTemplate ¶
type WritableExportTemplate struct { Id int32 `json:"id,omitempty"` ContentType string `json:"content_type"` Name string `json:"name"` Description string `json:"description,omitempty"` TemplateLanguage string `json:"template_language,omitempty"` // The list of objects being exported is passed as a context variable named <code>queryset</code>. TemplateCode string `json:"template_code"` // Defaults to <code>text/plain</code> MimeType string `json:"mime_type,omitempty"` // Extension to append to the rendered filename FileExtension string `json:"file_extension,omitempty"` }
type WritableFrontPort ¶
type WritableFrontPort struct { Id int32 `json:"id,omitempty"` Device int32 `json:"device"` Name string `json:"name"` Type_ string `json:"type"` RearPort int32 `json:"rear_port"` RearPortPosition int32 `json:"rear_port_position,omitempty"` Description string `json:"description,omitempty"` Cable *NestedCable `json:"cable,omitempty"` Tags []string `json:"tags,omitempty"` }
type WritableInventoryItem ¶
type WritableInventoryItem struct { Id int32 `json:"id,omitempty"` Device int32 `json:"device"` Parent int32 `json:"parent,omitempty"` Name string `json:"name"` Manufacturer int32 `json:"manufacturer,omitempty"` // Manufacturer-assigned part identifier PartId string `json:"part_id,omitempty"` Serial string `json:"serial,omitempty"` // A unique tag used to identify this item AssetTag string `json:"asset_tag,omitempty"` // This item was automatically discovered Discovered bool `json:"discovered,omitempty"` Description string `json:"description,omitempty"` Tags []string `json:"tags,omitempty"` }
type WritableIpAddress ¶
type WritableIpAddress struct { Id int32 `json:"id,omitempty"` Family string `json:"family,omitempty"` // IPv4 or IPv6 address (with mask) Address string `json:"address"` Vrf int32 `json:"vrf,omitempty"` Tenant int32 `json:"tenant,omitempty"` // The operational status of this IP Status string `json:"status,omitempty"` // The functional role of this IP Role string `json:"role,omitempty"` Interface_ int32 `json:"interface,omitempty"` // The IP for which this address is the \"outside\" IP NatInside int32 `json:"nat_inside,omitempty"` NatOutside int32 `json:"nat_outside"` // Hostname or FQDN (not case-sensitive) DnsName string `json:"dns_name,omitempty"` Description string `json:"description,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type WritablePlatform ¶
type WritablePlatform struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` Slug string `json:"slug"` // Optionally limit this platform to devices of a certain manufacturer Manufacturer int32 `json:"manufacturer,omitempty"` // The name of the NAPALM driver to use when interacting with devices NapalmDriver string `json:"napalm_driver,omitempty"` // Additional arguments to pass when initiating the NAPALM driver (JSON format) NapalmArgs string `json:"napalm_args,omitempty"` Description string `json:"description,omitempty"` DeviceCount int32 `json:"device_count,omitempty"` VirtualmachineCount int32 `json:"virtualmachine_count,omitempty"` }
type WritablePowerFeed ¶
type WritablePowerFeed struct { Id int32 `json:"id,omitempty"` PowerPanel int32 `json:"power_panel"` Rack int32 `json:"rack,omitempty"` Name string `json:"name"` Status string `json:"status,omitempty"` Type_ string `json:"type,omitempty"` Supply string `json:"supply,omitempty"` Phase string `json:"phase,omitempty"` Voltage int32 `json:"voltage,omitempty"` Amperage int32 `json:"amperage,omitempty"` // Maximum permissible draw (percentage) MaxUtilization int32 `json:"max_utilization,omitempty"` Comments string `json:"comments,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type WritablePowerOutlet ¶
type WritablePowerOutlet struct { Id int32 `json:"id,omitempty"` Device int32 `json:"device"` Name string `json:"name"` // Physical port type Type_ string `json:"type,omitempty"` PowerPort int32 `json:"power_port,omitempty"` // Phase (for three-phase feeds) FeedLeg string `json:"feed_leg,omitempty"` Description string `json:"description,omitempty"` ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"` // Return the appropriate serializer for the type of connected object. ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"` ConnectionStatus bool `json:"connection_status,omitempty"` Cable *NestedCable `json:"cable,omitempty"` Tags []string `json:"tags,omitempty"` }
type WritablePowerPanel ¶
type WritablePowerPort ¶
type WritablePowerPort struct { Id int32 `json:"id,omitempty"` Device int32 `json:"device"` Name string `json:"name"` // Physical port type Type_ string `json:"type,omitempty"` // Maximum power draw (watts) MaximumDraw int32 `json:"maximum_draw,omitempty"` // Allocated power draw (watts) AllocatedDraw int32 `json:"allocated_draw,omitempty"` Description string `json:"description,omitempty"` ConnectedEndpointType string `json:"connected_endpoint_type,omitempty"` // Return the appropriate serializer for the type of connected object. ConnectedEndpoint map[string]string `json:"connected_endpoint,omitempty"` ConnectionStatus bool `json:"connection_status,omitempty"` Cable *NestedCable `json:"cable,omitempty"` Tags []string `json:"tags,omitempty"` }
type WritablePowerPortTemplate ¶
type WritablePowerPortTemplate struct { Id int32 `json:"id,omitempty"` DeviceType int32 `json:"device_type"` Name string `json:"name"` Type_ string `json:"type,omitempty"` // Maximum power draw (watts) MaximumDraw int32 `json:"maximum_draw,omitempty"` // Allocated power draw (watts) AllocatedDraw int32 `json:"allocated_draw,omitempty"` }
type WritablePrefix ¶
type WritablePrefix struct { Id int32 `json:"id,omitempty"` Family string `json:"family,omitempty"` // IPv4 or IPv6 network with mask Prefix string `json:"prefix"` Site int32 `json:"site,omitempty"` Vrf int32 `json:"vrf,omitempty"` Tenant int32 `json:"tenant,omitempty"` Vlan int32 `json:"vlan,omitempty"` // Operational status of this prefix Status string `json:"status,omitempty"` // The primary function of this prefix Role int32 `json:"role,omitempty"` // All IP addresses within this prefix are considered usable IsPool bool `json:"is_pool,omitempty"` Description string `json:"description,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type WritableRack ¶
type WritableRack struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` // Locally-assigned identifier FacilityId string `json:"facility_id,omitempty"` DisplayName string `json:"display_name,omitempty"` Site int32 `json:"site"` // Assigned group Group int32 `json:"group,omitempty"` Tenant int32 `json:"tenant,omitempty"` Status string `json:"status,omitempty"` // Functional role Role int32 `json:"role,omitempty"` Serial string `json:"serial,omitempty"` // A unique tag used to identify this rack AssetTag string `json:"asset_tag,omitempty"` Type_ string `json:"type,omitempty"` // Rail-to-rail width Width int32 `json:"width,omitempty"` // Height in rack units UHeight int32 `json:"u_height,omitempty"` // Units are numbered top-to-bottom DescUnits bool `json:"desc_units,omitempty"` // Outer dimension of rack (width) OuterWidth int32 `json:"outer_width,omitempty"` // Outer dimension of rack (depth) OuterDepth int32 `json:"outer_depth,omitempty"` OuterUnit string `json:"outer_unit,omitempty"` Comments string `json:"comments,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` DeviceCount int32 `json:"device_count,omitempty"` PowerfeedCount int32 `json:"powerfeed_count,omitempty"` }
type WritableRackGroup ¶
type WritableRackReservation ¶
type WritableRearPort ¶
type WritableRearPort struct { Id int32 `json:"id,omitempty"` Device int32 `json:"device"` Name string `json:"name"` Type_ string `json:"type"` Positions int32 `json:"positions,omitempty"` Description string `json:"description,omitempty"` Cable *NestedCable `json:"cable,omitempty"` Tags []string `json:"tags,omitempty"` }
type WritableRegion ¶
type WritableSecret ¶
type WritableSecret struct { Id int32 `json:"id,omitempty"` Device int32 `json:"device"` Role int32 `json:"role"` Name string `json:"name,omitempty"` Plaintext string `json:"plaintext"` Hash string `json:"hash,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type WritableService ¶
type WritableService struct { Id int32 `json:"id,omitempty"` Device int32 `json:"device,omitempty"` VirtualMachine int32 `json:"virtual_machine,omitempty"` Name string `json:"name"` Port int32 `json:"port"` Protocol string `json:"protocol"` Ipaddresses []int32 `json:"ipaddresses,omitempty"` Description string `json:"description,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type WritableSite ¶
type WritableSite struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` Slug string `json:"slug"` Status string `json:"status,omitempty"` Region int32 `json:"region,omitempty"` Tenant int32 `json:"tenant,omitempty"` // Local facility ID or description Facility string `json:"facility,omitempty"` // 32-bit autonomous system number Asn int32 `json:"asn,omitempty"` TimeZone string `json:"time_zone,omitempty"` Description string `json:"description,omitempty"` PhysicalAddress string `json:"physical_address,omitempty"` ShippingAddress string `json:"shipping_address,omitempty"` // GPS coordinate (latitude) Latitude string `json:"latitude,omitempty"` // GPS coordinate (longitude) Longitude string `json:"longitude,omitempty"` ContactName string `json:"contact_name,omitempty"` ContactPhone string `json:"contact_phone,omitempty"` ContactEmail string `json:"contact_email,omitempty"` Comments string `json:"comments,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` CircuitCount int32 `json:"circuit_count,omitempty"` DeviceCount int32 `json:"device_count,omitempty"` PrefixCount int32 `json:"prefix_count,omitempty"` RackCount int32 `json:"rack_count,omitempty"` VirtualmachineCount int32 `json:"virtualmachine_count,omitempty"` VlanCount int32 `json:"vlan_count,omitempty"` }
type WritableTenant ¶
type WritableTenant struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` Slug string `json:"slug"` Group int32 `json:"group,omitempty"` Description string `json:"description,omitempty"` Comments string `json:"comments,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` CircuitCount int32 `json:"circuit_count,omitempty"` DeviceCount int32 `json:"device_count,omitempty"` IpaddressCount int32 `json:"ipaddress_count,omitempty"` PrefixCount int32 `json:"prefix_count,omitempty"` RackCount int32 `json:"rack_count,omitempty"` SiteCount int32 `json:"site_count,omitempty"` VirtualmachineCount int32 `json:"virtualmachine_count,omitempty"` VlanCount int32 `json:"vlan_count,omitempty"` VrfCount int32 `json:"vrf_count,omitempty"` ClusterCount int32 `json:"cluster_count,omitempty"` }
type WritableTenantGroup ¶
type WritableVirtualChassis ¶
type WritableVirtualMachineInterface ¶
type WritableVirtualMachineInterface struct { Id int32 `json:"id,omitempty"` VirtualMachine int32 `json:"virtual_machine,omitempty"` Name string `json:"name"` Type_ string `json:"type"` Enabled bool `json:"enabled,omitempty"` Mtu int32 `json:"mtu,omitempty"` MacAddress string `json:"mac_address,omitempty"` Description string `json:"description,omitempty"` Mode string `json:"mode,omitempty"` UntaggedVlan int32 `json:"untagged_vlan,omitempty"` TaggedVlans []int32 `json:"tagged_vlans,omitempty"` Tags []string `json:"tags,omitempty"` }
type WritableVirtualMachineWithConfigContext ¶
type WritableVirtualMachineWithConfigContext struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` Status string `json:"status,omitempty"` Site string `json:"site,omitempty"` Cluster int32 `json:"cluster"` Role int32 `json:"role,omitempty"` Tenant int32 `json:"tenant,omitempty"` Platform int32 `json:"platform,omitempty"` PrimaryIp string `json:"primary_ip,omitempty"` PrimaryIp4 int32 `json:"primary_ip4,omitempty"` PrimaryIp6 int32 `json:"primary_ip6,omitempty"` Vcpus int32 `json:"vcpus,omitempty"` Memory int32 `json:"memory,omitempty"` Disk int32 `json:"disk,omitempty"` Comments string `json:"comments,omitempty"` LocalContextData string `json:"local_context_data,omitempty"` Tags []string `json:"tags,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` ConfigContext *interface{} `json:"config_context,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` }
type WritableVlan ¶
type WritableVlan struct { Id int32 `json:"id,omitempty"` Site int32 `json:"site,omitempty"` Group int32 `json:"group,omitempty"` Vid int32 `json:"vid"` Name string `json:"name"` Tenant int32 `json:"tenant,omitempty"` Status string `json:"status,omitempty"` Role int32 `json:"role,omitempty"` Description string `json:"description,omitempty"` Tags []string `json:"tags,omitempty"` DisplayName string `json:"display_name,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` PrefixCount int32 `json:"prefix_count,omitempty"` }
type WritableVlanGroup ¶
type WritableVrf ¶
type WritableVrf struct { Id int32 `json:"id,omitempty"` Name string `json:"name"` // Unique route distinguisher (as defined in RFC 4364) Rd string `json:"rd,omitempty"` Tenant int32 `json:"tenant,omitempty"` // Prevent duplicate prefixes/IP addresses within this VRF EnforceUnique bool `json:"enforce_unique,omitempty"` Description string `json:"description,omitempty"` Tags []string `json:"tags,omitempty"` DisplayName string `json:"display_name,omitempty"` CustomFields *interface{} `json:"custom_fields,omitempty"` Created string `json:"created,omitempty"` LastUpdated time.Time `json:"last_updated,omitempty"` IpaddressCount int32 `json:"ipaddress_count,omitempty"` PrefixCount int32 `json:"prefix_count,omitempty"` }
Source Files ¶
- api_circuits.go
- api_dcim.go
- api_extras.go
- api_ipam.go
- api_secrets.go
- api_tenancy.go
- api_virtualization.go
- client.go
- configuration.go
- model_action.go
- model_aggregate.go
- model_available_ip.go
- model_available_prefix.go
- model_cable.go
- model_circuit.go
- model_circuit_circuit_termination.go
- model_circuit_termination.go
- model_circuit_type.go
- model_cluster.go
- model_cluster_group.go
- model_cluster_type.go
- model_config_context.go
- model_connection_status.go
- model_console_port.go
- model_console_port_template.go
- model_console_server_port.go
- model_console_server_port_template.go
- model_device.go
- model_device_bay.go
- model_device_bay_template.go
- model_device_interface.go
- model_device_napalm.go
- model_device_role.go
- model_device_type.go
- model_device_with_config_context.go
- model_export_template.go
- model_face.go
- model_family.go
- model_feed_leg.go
- model_front_port.go
- model_front_port_rear_port.go
- model_front_port_template.go
- model_graph.go
- model_image_attachment.go
- model_inline_response_200.go
- model_inline_response_200_1.go
- model_inline_response_200_10.go
- model_inline_response_200_11.go
- model_inline_response_200_12.go
- model_inline_response_200_13.go
- model_inline_response_200_14.go
- model_inline_response_200_15.go
- model_inline_response_200_16.go
- model_inline_response_200_17.go
- model_inline_response_200_18.go
- model_inline_response_200_19.go
- model_inline_response_200_2.go
- model_inline_response_200_20.go
- model_inline_response_200_21.go
- model_inline_response_200_22.go
- model_inline_response_200_23.go
- model_inline_response_200_24.go
- model_inline_response_200_25.go
- model_inline_response_200_26.go
- model_inline_response_200_27.go
- model_inline_response_200_28.go
- model_inline_response_200_29.go
- model_inline_response_200_3.go
- model_inline_response_200_30.go
- model_inline_response_200_31.go
- model_inline_response_200_32.go
- model_inline_response_200_33.go
- model_inline_response_200_34.go
- model_inline_response_200_35.go
- model_inline_response_200_36.go
- model_inline_response_200_37.go
- model_inline_response_200_38.go
- model_inline_response_200_39.go
- model_inline_response_200_4.go
- model_inline_response_200_40.go
- model_inline_response_200_41.go
- model_inline_response_200_42.go
- model_inline_response_200_43.go
- model_inline_response_200_44.go
- model_inline_response_200_45.go
- model_inline_response_200_46.go
- model_inline_response_200_47.go
- model_inline_response_200_48.go
- model_inline_response_200_49.go
- model_inline_response_200_5.go
- model_inline_response_200_50.go
- model_inline_response_200_51.go
- model_inline_response_200_52.go
- model_inline_response_200_53.go
- model_inline_response_200_54.go
- model_inline_response_200_55.go
- model_inline_response_200_56.go
- model_inline_response_200_57.go
- model_inline_response_200_58.go
- model_inline_response_200_59.go
- model_inline_response_200_6.go
- model_inline_response_200_60.go
- model_inline_response_200_7.go
- model_inline_response_200_8.go
- model_inline_response_200_9.go
- model_interface_connection.go
- model_interface_template.go
- model_inventory_item.go
- model_ip_address.go
- model_ip_address_interface.go
- model_length_unit.go
- model_manufacturer.go
- model_mode.go
- model_nested_cable.go
- model_nested_circuit.go
- model_nested_circuit_type.go
- model_nested_cluster.go
- model_nested_cluster_group.go
- model_nested_cluster_type.go
- model_nested_device.go
- model_nested_device_role.go
- model_nested_device_type.go
- model_nested_interface.go
- model_nested_ip_address.go
- model_nested_manufacturer.go
- model_nested_platform.go
- model_nested_power_panel.go
- model_nested_power_port.go
- model_nested_power_port_template.go
- model_nested_provider.go
- model_nested_rack.go
- model_nested_rack_group.go
- model_nested_rack_role.go
- model_nested_rear_port_template.go
- model_nested_region.go
- model_nested_rir.go
- model_nested_role.go
- model_nested_secret_role.go
- model_nested_site.go
- model_nested_tenant.go
- model_nested_tenant_group.go
- model_nested_user.go
- model_nested_virtual_chassis.go
- model_nested_virtual_machine.go
- model_nested_vlan.go
- model_nested_vlan_group.go
- model_nested_vrf.go
- model_object_change.go
- model_outer_unit.go
- model_phase.go
- model_platform.go
- model_power_feed.go
- model_power_outlet.go
- model_power_outlet_template.go
- model_power_panel.go
- model_power_port.go
- model_power_port_template.go
- model_prefix.go
- model_protocol.go
- model_provider.go
- model_rack.go
- model_rack_group.go
- model_rack_reservation.go
- model_rack_role.go
- model_rack_unit.go
- model_rear_port.go
- model_rear_port_template.go
- model_region.go
- model_rir.go
- model_role.go
- model_role_1.go
- model_secret.go
- model_secret_role.go
- model_service.go
- model_site.go
- model_status.go
- model_status_1.go
- model_status_2.go
- model_status_3.go
- model_status_4.go
- model_status_5.go
- model_status_6.go
- model_status_7.go
- model_status_8.go
- model_status_9.go
- model_subdevice_role.go
- model_supply.go
- model_tag.go
- model_template_language.go
- model_tenant.go
- model_tenant_group.go
- model_type.go
- model_type_1.go
- model_type_2.go
- model_type_3.go
- model_type_4.go
- model_type_5.go
- model_type_6.go
- model_type_7.go
- model_virtual_chassis.go
- model_virtual_machine_interface.go
- model_virtual_machine_with_config_context.go
- model_vlan.go
- model_vlan_group.go
- model_vrf.go
- model_width.go
- model_writable_aggregate.go
- model_writable_cable.go
- model_writable_circuit.go
- model_writable_circuit_termination.go
- model_writable_cluster.go
- model_writable_config_context.go
- model_writable_console_port.go
- model_writable_console_port_template.go
- model_writable_console_server_port.go
- model_writable_console_server_port_template.go
- model_writable_device_bay.go
- model_writable_device_bay_template.go
- model_writable_device_interface.go
- model_writable_device_type.go
- model_writable_device_with_config_context.go
- model_writable_export_template.go
- model_writable_front_port.go
- model_writable_front_port_template.go
- model_writable_interface_template.go
- model_writable_inventory_item.go
- model_writable_ip_address.go
- model_writable_platform.go
- model_writable_power_feed.go
- model_writable_power_outlet.go
- model_writable_power_outlet_template.go
- model_writable_power_panel.go
- model_writable_power_port.go
- model_writable_power_port_template.go
- model_writable_prefix.go
- model_writable_rack.go
- model_writable_rack_group.go
- model_writable_rack_reservation.go
- model_writable_rear_port.go
- model_writable_rear_port_template.go
- model_writable_region.go
- model_writable_secret.go
- model_writable_service.go
- model_writable_site.go
- model_writable_tenant.go
- model_writable_tenant_group.go
- model_writable_virtual_chassis.go
- model_writable_virtual_machine_interface.go
- model_writable_virtual_machine_with_config_context.go
- model_writable_vlan.go
- model_writable_vlan_group.go
- model_writable_vrf.go
- response.go