Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg
nutanix.getCategoryKey
Explore with Pulumi AI
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:
- Api
Version 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
- System
Defined bool - Specifying whether its a system defined category.
- Values List<string>
- A list of the values from this category key (if it has them).
- Api
Version 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
- System
Defined bool - Specifying whether its a system defined category.
- Values []string
- A list of the values from this category key (if it has them).
- api
Version 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
- system
Defined Boolean - Specifying whether its a system defined category.
- values List<String>
- A list of the values from this category key (if it has them).
- api
Version 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
- system
Defined 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).
- api
Version 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
- system
Defined 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.