netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger
netbox.getContact
Explore with Pulumi AI
netbox 3.10.0 published on Monday, Apr 14, 2025 by e-breuninger
Using getContact
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 getContact(args: GetContactArgs, opts?: InvokeOptions): Promise<GetContactResult>
function getContactOutput(args: GetContactOutputArgs, opts?: InvokeOptions): Output<GetContactResult>
def get_contact(description: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
slug: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetContactResult
def get_contact_output(description: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
slug: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetContactResult]
func LookupContact(ctx *Context, args *LookupContactArgs, opts ...InvokeOption) (*LookupContactResult, error)
func LookupContactOutput(ctx *Context, args *LookupContactOutputArgs, opts ...InvokeOption) LookupContactResultOutput
> Note: This function is named LookupContact
in the Go SDK.
public static class GetContact
{
public static Task<GetContactResult> InvokeAsync(GetContactArgs args, InvokeOptions? opts = null)
public static Output<GetContactResult> Invoke(GetContactInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetContactResult> getContact(GetContactArgs args, InvokeOptions options)
public static Output<GetContactResult> getContact(GetContactArgs args, InvokeOptions options)
fn::invoke:
function: netbox:index/getContact:getContact
arguments:
# arguments dictionary
The following arguments are supported:
- Description string
- Id string
- The ID of this resource.
- Name string
- At least one of
name
orslug
must be given. - Slug string
- At least one of
name
orslug
must be given.
- Description string
- Id string
- The ID of this resource.
- Name string
- At least one of
name
orslug
must be given. - Slug string
- At least one of
name
orslug
must be given.
- description String
- id String
- The ID of this resource.
- name String
- At least one of
name
orslug
must be given. - slug String
- At least one of
name
orslug
must be given.
- description string
- id string
- The ID of this resource.
- name string
- At least one of
name
orslug
must be given. - slug string
- At least one of
name
orslug
must be given.
- description str
- id str
- The ID of this resource.
- name str
- At least one of
name
orslug
must be given. - slug str
- At least one of
name
orslug
must be given.
- description String
- id String
- The ID of this resource.
- name String
- At least one of
name
orslug
must be given. - slug String
- At least one of
name
orslug
must be given.
getContact Result
The following output properties are available:
- Group
Id double - Id string
- The ID of this resource.
- Name string
- At least one of
name
orslug
must be given. - Slug string
- At least one of
name
orslug
must be given. - Description string
- Group
Id float64 - Id string
- The ID of this resource.
- Name string
- At least one of
name
orslug
must be given. - Slug string
- At least one of
name
orslug
must be given. - Description string
- group
Id Double - id String
- The ID of this resource.
- name String
- At least one of
name
orslug
must be given. - slug String
- At least one of
name
orslug
must be given. - description String
- group
Id number - id string
- The ID of this resource.
- name string
- At least one of
name
orslug
must be given. - slug string
- At least one of
name
orslug
must be given. - description string
- group_
id float - id str
- The ID of this resource.
- name str
- At least one of
name
orslug
must be given. - slug str
- At least one of
name
orslug
must be given. - description str
- group
Id Number - id String
- The ID of this resource.
- name String
- At least one of
name
orslug
must be given. - slug String
- At least one of
name
orslug
must be given. - description String
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