1. Packages
  2. Netbox Provider
  3. API Docs
  4. getTenantGroup
netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger

netbox.getTenantGroup

Explore with Pulumi AI

netbox logo
netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger

    Using getTenantGroup

    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 getTenantGroup(args: GetTenantGroupArgs, opts?: InvokeOptions): Promise<GetTenantGroupResult>
    function getTenantGroupOutput(args: GetTenantGroupOutputArgs, opts?: InvokeOptions): Output<GetTenantGroupResult>
    def get_tenant_group(id: Optional[str] = None,
                         name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetTenantGroupResult
    def get_tenant_group_output(id: Optional[pulumi.Input[str]] = None,
                         name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetTenantGroupResult]
    func LookupTenantGroup(ctx *Context, args *LookupTenantGroupArgs, opts ...InvokeOption) (*LookupTenantGroupResult, error)
    func LookupTenantGroupOutput(ctx *Context, args *LookupTenantGroupOutputArgs, opts ...InvokeOption) LookupTenantGroupResultOutput

    > Note: This function is named LookupTenantGroup in the Go SDK.

    public static class GetTenantGroup 
    {
        public static Task<GetTenantGroupResult> InvokeAsync(GetTenantGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetTenantGroupResult> Invoke(GetTenantGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTenantGroupResult> getTenantGroup(GetTenantGroupArgs args, InvokeOptions options)
    public static Output<GetTenantGroupResult> getTenantGroup(GetTenantGroupArgs args, InvokeOptions options)
    
    fn::invoke:
      function: netbox:index/getTenantGroup:getTenantGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Id string
    The ID of this resource.
    Name string
    Id string
    The ID of this resource.
    name String
    id String
    The ID of this resource.
    name string
    id string
    The ID of this resource.
    name str
    id str
    The ID of this resource.
    name String
    id String
    The ID of this resource.

    getTenantGroup Result

    The following output properties are available:

    Description string
    Id string
    The ID of this resource.
    Name string
    ParentId double
    Slug string
    Description string
    Id string
    The ID of this resource.
    Name string
    ParentId float64
    Slug string
    description String
    id String
    The ID of this resource.
    name String
    parentId Double
    slug String
    description string
    id string
    The ID of this resource.
    name string
    parentId number
    slug string
    description str
    id str
    The ID of this resource.
    name str
    parent_id float
    slug str
    description String
    id String
    The ID of this resource.
    name String
    parentId Number
    slug String

    Package Details

    Repository
    netbox e-breuninger/terraform-provider-netbox
    License
    Notes
    This Pulumi package is based on the netbox Terraform Provider.
    netbox logo
    netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger