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

netbox.getRackRole

Explore with Pulumi AI

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

    Using getRackRole

    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 getRackRole(args: GetRackRoleArgs, opts?: InvokeOptions): Promise<GetRackRoleResult>
    function getRackRoleOutput(args: GetRackRoleOutputArgs, opts?: InvokeOptions): Output<GetRackRoleResult>
    def get_rack_role(id: Optional[str] = None,
                      name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetRackRoleResult
    def get_rack_role_output(id: Optional[pulumi.Input[str]] = None,
                      name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetRackRoleResult]
    func LookupRackRole(ctx *Context, args *LookupRackRoleArgs, opts ...InvokeOption) (*LookupRackRoleResult, error)
    func LookupRackRoleOutput(ctx *Context, args *LookupRackRoleOutputArgs, opts ...InvokeOption) LookupRackRoleResultOutput

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

    public static class GetRackRole 
    {
        public static Task<GetRackRoleResult> InvokeAsync(GetRackRoleArgs args, InvokeOptions? opts = null)
        public static Output<GetRackRoleResult> Invoke(GetRackRoleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRackRoleResult> getRackRole(GetRackRoleArgs args, InvokeOptions options)
    public static Output<GetRackRoleResult> getRackRole(GetRackRoleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: netbox:index/getRackRole:getRackRole
      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.

    getRackRole Result

    The following output properties are available:

    ColorHex string
    Description string
    Id string
    The ID of this resource.
    Name string
    Slug string
    Tags List<string>
    ColorHex string
    Description string
    Id string
    The ID of this resource.
    Name string
    Slug string
    Tags []string
    colorHex String
    description String
    id String
    The ID of this resource.
    name String
    slug String
    tags List<String>
    colorHex string
    description string
    id string
    The ID of this resource.
    name string
    slug string
    tags string[]
    color_hex str
    description str
    id str
    The ID of this resource.
    name str
    slug str
    tags Sequence[str]
    colorHex String
    description String
    id String
    The ID of this resource.
    name String
    slug String
    tags List<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