GetKey
Using GetKey
function getKey(args: GetKeyArgs, opts?: InvokeOptions): Promise<GetKeyResult>
def get_key(key_name: Optional[str] = None, resource_group_name: Optional[str] = None, workspace_name: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetKeyResult
func LookupKey(ctx *Context, args *LookupKeyArgs, opts ...InvokeOption) (*LookupKeyResult, error)
Note: This function is named
LookupKey
in the Go SDK.
public static class GetKey {
public static Task<GetKeyResult> InvokeAsync(GetKeyArgs args, InvokeOptions? opts = null)
}
The following arguments are supported:
- Key
Name string - The name of the workspace key
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - The name of the workspace
- Key
Name string - The name of the workspace key
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Workspace
Name string - The name of the workspace
- key
Name string - The name of the workspace key
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- workspace
Name string - The name of the workspace
- key_
name str - The name of the workspace key
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- workspace_
name str - The name of the workspace
GetKey Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- Is
Active boolCMK - Used to activate the workspace after a customer managed key is provided.
- Key
Vault stringUrl - The Key Vault Url of the workspace key.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- Is
Active boolCMK - Used to activate the workspace after a customer managed key is provided.
- Key
Vault stringUrl - The Key Vault Url of the workspace key.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name string
- The name of the resource
- type string
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- is
Active booleanCMK - Used to activate the workspace after a customer managed key is provided.
- key
Vault stringUrl - The Key Vault Url of the workspace key.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name str
- The name of the resource
- type str
- The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”
- is_
active_ boolcmk - Used to activate the workspace after a customer managed key is provided.
- key_
vault_ strurl - The Key Vault Url of the workspace key.
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure-nextgen
- License
- Apache-2.0