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

netbox.getIpamRole

Explore with Pulumi AI

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

    Using getIpamRole

    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 getIpamRole(args: GetIpamRoleArgs, opts?: InvokeOptions): Promise<GetIpamRoleResult>
    function getIpamRoleOutput(args: GetIpamRoleOutputArgs, opts?: InvokeOptions): Output<GetIpamRoleResult>
    def get_ipam_role(id: Optional[str] = None,
                      name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetIpamRoleResult
    def get_ipam_role_output(id: Optional[pulumi.Input[str]] = None,
                      name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetIpamRoleResult]
    func LookupIpamRole(ctx *Context, args *LookupIpamRoleArgs, opts ...InvokeOption) (*LookupIpamRoleResult, error)
    func LookupIpamRoleOutput(ctx *Context, args *LookupIpamRoleOutputArgs, opts ...InvokeOption) LookupIpamRoleResultOutput

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

    public static class GetIpamRole 
    {
        public static Task<GetIpamRoleResult> InvokeAsync(GetIpamRoleArgs args, InvokeOptions? opts = null)
        public static Output<GetIpamRoleResult> Invoke(GetIpamRoleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIpamRoleResult> getIpamRole(GetIpamRoleArgs args, InvokeOptions options)
    public static Output<GetIpamRoleResult> getIpamRole(GetIpamRoleArgs args, InvokeOptions options)
    
    fn::invoke:
      function: netbox:index/getIpamRole:getIpamRole
      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.

    getIpamRole Result

    The following output properties are available:

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

    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