netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger
netbox.getTenants
Explore with Pulumi AI
netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger
Using getTenants
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 getTenants(args: GetTenantsArgs, opts?: InvokeOptions): Promise<GetTenantsResult>
function getTenantsOutput(args: GetTenantsOutputArgs, opts?: InvokeOptions): Output<GetTenantsResult>
def get_tenants(filters: Optional[Sequence[GetTenantsFilter]] = None,
id: Optional[str] = None,
limit: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetTenantsResult
def get_tenants_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetTenantsFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
limit: Optional[pulumi.Input[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTenantsResult]
func GetTenants(ctx *Context, args *GetTenantsArgs, opts ...InvokeOption) (*GetTenantsResult, error)
func GetTenantsOutput(ctx *Context, args *GetTenantsOutputArgs, opts ...InvokeOption) GetTenantsResultOutput
> Note: This function is named GetTenants
in the Go SDK.
public static class GetTenants
{
public static Task<GetTenantsResult> InvokeAsync(GetTenantsArgs args, InvokeOptions? opts = null)
public static Output<GetTenantsResult> Invoke(GetTenantsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTenantsResult> getTenants(GetTenantsArgs args, InvokeOptions options)
public static Output<GetTenantsResult> getTenants(GetTenantsArgs args, InvokeOptions options)
fn::invoke:
function: netbox:index/getTenants:getTenants
arguments:
# arguments dictionary
The following arguments are supported:
- Filters
List<Get
Tenants Filter> - Id string
- The ID of this resource.
- Limit double
- Defaults to
1000
.
- Filters
[]Get
Tenants Filter - Id string
- The ID of this resource.
- Limit float64
- Defaults to
1000
.
- filters
List<Get
Tenants Filter> - id String
- The ID of this resource.
- limit Double
- Defaults to
1000
.
- filters
Get
Tenants Filter[] - id string
- The ID of this resource.
- limit number
- Defaults to
1000
.
- filters
Sequence[Get
Tenants Filter] - id str
- The ID of this resource.
- limit float
- Defaults to
1000
.
- filters List<Property Map>
- id String
- The ID of this resource.
- limit Number
- Defaults to
1000
.
getTenants Result
The following output properties are available:
- Id string
- The ID of this resource.
- Tenants
List<Get
Tenants Tenant> - Filters
List<Get
Tenants Filter> - Limit double
- Defaults to
1000
.
- Id string
- The ID of this resource.
- Tenants
[]Get
Tenants Tenant - Filters
[]Get
Tenants Filter - Limit float64
- Defaults to
1000
.
- id String
- The ID of this resource.
- tenants
List<Get
Tenants Tenant> - filters
List<Get
Tenants Filter> - limit Double
- Defaults to
1000
.
- id string
- The ID of this resource.
- tenants
Get
Tenants Tenant[] - filters
Get
Tenants Filter[] - limit number
- Defaults to
1000
.
- id str
- The ID of this resource.
- tenants
Sequence[Get
Tenants Tenant] - filters
Sequence[Get
Tenants Filter] - limit float
- Defaults to
1000
.
- id String
- The ID of this resource.
- tenants List<Property Map>
- filters List<Property Map>
- limit Number
- Defaults to
1000
.
Supporting Types
GetTenantsFilter
GetTenantsTenant
- Circuit
Count This property is required. double - Cluster
Count This property is required. double - Comments
This property is required. string - Created
This property is required. string - Custom
Fields This property is required. Dictionary<string, string> - Description
This property is required. string - Device
Count This property is required. double - Id
This property is required. double - Ip
Address Count This property is required. double - Last
Updated This property is required. string - Name
This property is required. string - Prefix
Count This property is required. double - Rack
Count This property is required. double - Site
Count This property is required. double - Slug
This property is required. string - Tenant
Groups This property is required. List<GetTenants Tenant Tenant Group> - Vlan
Count This property is required. double - Vm
Count This property is required. double - Vrf
Count This property is required. double
- Circuit
Count This property is required. float64 - Cluster
Count This property is required. float64 - Comments
This property is required. string - Created
This property is required. string - Custom
Fields This property is required. map[string]string - Description
This property is required. string - Device
Count This property is required. float64 - Id
This property is required. float64 - Ip
Address Count This property is required. float64 - Last
Updated This property is required. string - Name
This property is required. string - Prefix
Count This property is required. float64 - Rack
Count This property is required. float64 - Site
Count This property is required. float64 - Slug
This property is required. string - Tenant
Groups This property is required. []GetTenants Tenant Tenant Group - Vlan
Count This property is required. float64 - Vm
Count This property is required. float64 - Vrf
Count This property is required. float64
- circuit
Count This property is required. Double - cluster
Count This property is required. Double - comments
This property is required. String - created
This property is required. String - custom
Fields This property is required. Map<String,String> - description
This property is required. String - device
Count This property is required. Double - id
This property is required. Double - ip
Address Count This property is required. Double - last
Updated This property is required. String - name
This property is required. String - prefix
Count This property is required. Double - rack
Count This property is required. Double - site
Count This property is required. Double - slug
This property is required. String - tenant
Groups This property is required. List<GetTenants Tenant Tenant Group> - vlan
Count This property is required. Double - vm
Count This property is required. Double - vrf
Count This property is required. Double
- circuit
Count This property is required. number - cluster
Count This property is required. number - comments
This property is required. string - created
This property is required. string - custom
Fields This property is required. {[key: string]: string} - description
This property is required. string - device
Count This property is required. number - id
This property is required. number - ip
Address Count This property is required. number - last
Updated This property is required. string - name
This property is required. string - prefix
Count This property is required. number - rack
Count This property is required. number - site
Count This property is required. number - slug
This property is required. string - tenant
Groups This property is required. GetTenants Tenant Tenant Group[] - vlan
Count This property is required. number - vm
Count This property is required. number - vrf
Count This property is required. number
- circuit_
count This property is required. float - cluster_
count This property is required. float - comments
This property is required. str - created
This property is required. str - custom_
fields This property is required. Mapping[str, str] - description
This property is required. str - device_
count This property is required. float - id
This property is required. float - ip_
address_ count This property is required. float - last_
updated This property is required. str - name
This property is required. str - prefix_
count This property is required. float - rack_
count This property is required. float - site_
count This property is required. float - slug
This property is required. str - tenant_
groups This property is required. Sequence[GetTenants Tenant Tenant Group] - vlan_
count This property is required. float - vm_
count This property is required. float - vrf_
count This property is required. float
- circuit
Count This property is required. Number - cluster
Count This property is required. Number - comments
This property is required. String - created
This property is required. String - custom
Fields This property is required. Map<String> - description
This property is required. String - device
Count This property is required. Number - id
This property is required. Number - ip
Address Count This property is required. Number - last
Updated This property is required. String - name
This property is required. String - prefix
Count This property is required. Number - rack
Count This property is required. Number - site
Count This property is required. Number - slug
This property is required. String - tenant
Groups This property is required. List<Property Map> - vlan
Count This property is required. Number - vm
Count This property is required. Number - vrf
Count This property is required. Number
GetTenantsTenantTenantGroup
- Id
This property is required. double - Name
This property is required. string - Slug
This property is required. string - Tenant
Count This property is required. double
- Id
This property is required. float64 - Name
This property is required. string - Slug
This property is required. string - Tenant
Count This property is required. float64
- id
This property is required. Double - name
This property is required. String - slug
This property is required. String - tenant
Count This property is required. Double
- id
This property is required. number - name
This property is required. string - slug
This property is required. string - tenant
Count This property is required. number
- id
This property is required. float - name
This property is required. str - slug
This property is required. str - tenant_
count This property is required. float
- id
This property is required. Number - name
This property is required. String - slug
This property is required. String - tenant
Count This property is required. 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