1. Packages
  2. Nutanix
  3. API Docs
  4. getCategoryKey
Nutanix v0.0.52 published on Friday, Jun 7, 2024 by Piers Karsenbarg

nutanix.getCategoryKey

Explore with Pulumi AI

nutanix logo
Nutanix v0.0.52 published on Friday, Jun 7, 2024 by Piers Karsenbarg

    Describe a Nutanix Category Key and its values (if it has them).

    Using getCategoryKey

    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 getCategoryKey(args: GetCategoryKeyArgs, opts?: InvokeOptions): Promise<GetCategoryKeyResult>
    function getCategoryKeyOutput(args: GetCategoryKeyOutputArgs, opts?: InvokeOptions): Output<GetCategoryKeyResult>
    def get_category_key(name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetCategoryKeyResult
    def get_category_key_output(name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetCategoryKeyResult]
    func LookupCategoryKey(ctx *Context, args *LookupCategoryKeyArgs, opts ...InvokeOption) (*LookupCategoryKeyResult, error)
    func LookupCategoryKeyOutput(ctx *Context, args *LookupCategoryKeyOutputArgs, opts ...InvokeOption) LookupCategoryKeyResultOutput

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

    public static class GetCategoryKey 
    {
        public static Task<GetCategoryKeyResult> InvokeAsync(GetCategoryKeyArgs args, InvokeOptions? opts = null)
        public static Output<GetCategoryKeyResult> Invoke(GetCategoryKeyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCategoryKeyResult> getCategoryKey(GetCategoryKeyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: nutanix:index/getCategoryKey:getCategoryKey
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    • (Required) The name for the category key.
    Name string
    • (Required) The name for the category key.
    name String
    • (Required) The name for the category key.
    name string
    • (Required) The name for the category key.
    name str
    • (Required) The name for the category key.
    name String
    • (Required) The name for the category key.

    getCategoryKey Result

    The following output properties are available:

    ApiVersion string
    The version of the API.
    Description string
    • A description for category key.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    SystemDefined bool
    • Specifying whether its a system defined category.
    Values List<string>
    • A list of the values from this category key (if it has them).
    ApiVersion string
    The version of the API.
    Description string
    • A description for category key.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    SystemDefined bool
    • Specifying whether its a system defined category.
    Values []string
    • A list of the values from this category key (if it has them).
    apiVersion String
    The version of the API.
    description String
    • A description for category key.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    systemDefined Boolean
    • Specifying whether its a system defined category.
    values List<String>
    • A list of the values from this category key (if it has them).
    apiVersion string
    The version of the API.
    description string
    • A description for category key.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    systemDefined boolean
    • Specifying whether its a system defined category.
    values string[]
    • A list of the values from this category key (if it has them).
    api_version str
    The version of the API.
    description str
    • A description for category key.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    system_defined bool
    • Specifying whether its a system defined category.
    values Sequence[str]
    • A list of the values from this category key (if it has them).
    apiVersion String
    The version of the API.
    description String
    • A description for category key.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    systemDefined Boolean
    • Specifying whether its a system defined category.
    values List<String>
    • A list of the values from this category key (if it has them).

    Package Details

    Repository
    nutanix pierskarsenbarg/pulumi-nutanix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nutanix Terraform Provider.
    nutanix logo
    Nutanix v0.0.52 published on Friday, Jun 7, 2024 by Piers Karsenbarg