netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger
netbox.getRacks
Explore with Pulumi AI
netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger
Using getRacks
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRacks(args: GetRacksArgs, opts?: InvokeOptions): Promise<GetRacksResult>
function getRacksOutput(args: GetRacksOutputArgs, opts?: InvokeOptions): Output<GetRacksResult>
def get_racks(filters: Optional[Sequence[GetRacksFilter]] = None,
id: Optional[str] = None,
limit: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetRacksResult
def get_racks_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetRacksFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
limit: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRacksResult]
func GetRacks(ctx *Context, args *GetRacksArgs, opts ...InvokeOption) (*GetRacksResult, error)
func GetRacksOutput(ctx *Context, args *GetRacksOutputArgs, opts ...InvokeOption) GetRacksResultOutput
> Note: This function is named GetRacks
in the Go SDK.
public static class GetRacks
{
public static Task<GetRacksResult> InvokeAsync(GetRacksArgs args, InvokeOptions? opts = null)
public static Output<GetRacksResult> Invoke(GetRacksInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRacksResult> getRacks(GetRacksArgs args, InvokeOptions options)
public static Output<GetRacksResult> getRacks(GetRacksArgs args, InvokeOptions options)
fn::invoke:
function: netbox:index/getRacks:getRacks
arguments:
# arguments dictionary
The following arguments are supported:
- Filters
List<Get
Racks Filter> - Id string
- The ID of this resource.
- Limit double
- Defaults to
0
.
- Filters
[]Get
Racks Filter - Id string
- The ID of this resource.
- Limit float64
- Defaults to
0
.
- filters
List<Get
Racks Filter> - id String
- The ID of this resource.
- limit Double
- Defaults to
0
.
- filters
Get
Racks Filter[] - id string
- The ID of this resource.
- limit number
- Defaults to
0
.
- filters
Sequence[Get
Racks Filter] - id str
- The ID of this resource.
- limit float
- Defaults to
0
.
- filters List<Property Map>
- id String
- The ID of this resource.
- limit Number
- Defaults to
0
.
getRacks Result
The following output properties are available:
- Id string
- The ID of this resource.
- Racks
List<Get
Racks Rack> - Filters
List<Get
Racks Filter> - Limit double
- Defaults to
0
.
- Id string
- The ID of this resource.
- Racks
[]Get
Racks Rack - Filters
[]Get
Racks Filter - Limit float64
- Defaults to
0
.
- id String
- The ID of this resource.
- racks
List<Get
Racks Rack> - filters
List<Get
Racks Filter> - limit Double
- Defaults to
0
.
- id string
- The ID of this resource.
- racks
Get
Racks Rack[] - filters
Get
Racks Filter[] - limit number
- Defaults to
0
.
- id str
- The ID of this resource.
- racks
Sequence[Get
Racks Rack] - filters
Sequence[Get
Racks Filter] - limit float
- Defaults to
0
.
- id String
- The ID of this resource.
- racks List<Property Map>
- filters List<Property Map>
- limit Number
- Defaults to
0
.
Supporting Types
GetRacksFilter
GetRacksRack
- Asset
Tag string - Comments string
- Custom
Fields Dictionary<string, string> - Desc
Units bool - Description string
- Facility
Id string - Id double
- Location
Id double - Max
Weight double - Mounting
Depth double - Name string
- Outer
Depth double - Outer
Unit string - Outer
Width double - Role
Id double - Serial string
- Site
Id double - Status string
- List<string>
- Tenant
Id double - Type
Id double - UHeight double
- Weight double
- Weight
Unit string - Width double
- Asset
Tag string - Comments string
- Custom
Fields map[string]string - Desc
Units bool - Description string
- Facility
Id string - Id float64
- Location
Id float64 - Max
Weight float64 - Mounting
Depth float64 - Name string
- Outer
Depth float64 - Outer
Unit string - Outer
Width float64 - Role
Id float64 - Serial string
- Site
Id float64 - Status string
- []string
- Tenant
Id float64 - Type
Id float64 - UHeight float64
- Weight float64
- Weight
Unit string - Width float64
- asset
Tag String - comments String
- custom
Fields Map<String,String> - desc
Units Boolean - description String
- facility
Id String - id Double
- location
Id Double - max
Weight Double - mounting
Depth Double - name String
- outer
Depth Double - outer
Unit String - outer
Width Double - role
Id Double - serial String
- site
Id Double - status String
- List<String>
- tenant
Id Double - type
Id Double - u
Height Double - weight Double
- weight
Unit String - width Double
- asset
Tag string - comments string
- custom
Fields {[key: string]: string} - desc
Units boolean - description string
- facility
Id string - id number
- location
Id number - max
Weight number - mounting
Depth number - name string
- outer
Depth number - outer
Unit string - outer
Width number - role
Id number - serial string
- site
Id number - status string
- string[]
- tenant
Id number - type
Id number - u
Height number - weight number
- weight
Unit string - width number
- asset_
tag str - comments str
- custom_
fields Mapping[str, str] - desc_
units bool - description str
- facility_
id str - id float
- location_
id float - max_
weight float - mounting_
depth float - name str
- outer_
depth float - outer_
unit str - outer_
width float - role_
id float - serial str
- site_
id float - status str
- Sequence[str]
- tenant_
id float - type_
id float - u_
height float - weight float
- weight_
unit str - width float
- asset
Tag String - comments String
- custom
Fields Map<String> - desc
Units Boolean - description String
- facility
Id String - id Number
- location
Id Number - max
Weight Number - mounting
Depth Number - name String
- outer
Depth Number - outer
Unit String - outer
Width Number - role
Id Number - serial String
- site
Id Number - status String
- List<String>
- tenant
Id Number - type
Id Number - u
Height Number - weight Number
- weight
Unit String - width Number
Package Details
- Repository
- netbox e-breuninger/terraform-provider-netbox
- License
- Notes
- This Pulumi package is based on the
netbox
Terraform Provider.
netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger