This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.migrate.getProjectKeys
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets the Log Analytics Workspace ID and Primary Key for the specified project. Azure REST API version: 2018-02-02.
Using getProjectKeys
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 getProjectKeys(args: GetProjectKeysArgs, opts?: InvokeOptions): Promise<GetProjectKeysResult>
function getProjectKeysOutput(args: GetProjectKeysOutputArgs, opts?: InvokeOptions): Output<GetProjectKeysResult>def get_project_keys(project_name: Optional[str] = None,
                     resource_group_name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetProjectKeysResult
def get_project_keys_output(project_name: Optional[pulumi.Input[str]] = None,
                     resource_group_name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetProjectKeysResult]func GetProjectKeys(ctx *Context, args *GetProjectKeysArgs, opts ...InvokeOption) (*GetProjectKeysResult, error)
func GetProjectKeysOutput(ctx *Context, args *GetProjectKeysOutputArgs, opts ...InvokeOption) GetProjectKeysResultOutput> Note: This function is named GetProjectKeys in the Go SDK.
public static class GetProjectKeys 
{
    public static Task<GetProjectKeysResult> InvokeAsync(GetProjectKeysArgs args, InvokeOptions? opts = null)
    public static Output<GetProjectKeysResult> Invoke(GetProjectKeysInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProjectKeysResult> getProjectKeys(GetProjectKeysArgs args, InvokeOptions options)
public static Output<GetProjectKeysResult> getProjectKeys(GetProjectKeysArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:migrate:getProjectKeys
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ProjectName string
- Name of the Azure Migrate project.
- ResourceGroup stringName 
- Name of the Azure Resource Group that project is part of.
- ProjectName string
- Name of the Azure Migrate project.
- ResourceGroup stringName 
- Name of the Azure Resource Group that project is part of.
- projectName String
- Name of the Azure Migrate project.
- resourceGroup StringName 
- Name of the Azure Resource Group that project is part of.
- projectName string
- Name of the Azure Migrate project.
- resourceGroup stringName 
- Name of the Azure Resource Group that project is part of.
- project_name str
- Name of the Azure Migrate project.
- resource_group_ strname 
- Name of the Azure Resource Group that project is part of.
- projectName String
- Name of the Azure Migrate project.
- resourceGroup StringName 
- Name of the Azure Resource Group that project is part of.
getProjectKeys Result
The following output properties are available:
- WorkspaceId string
- ID of Migration Project.
- WorkspaceKey string
- Key of Migration Project.
- WorkspaceId string
- ID of Migration Project.
- WorkspaceKey string
- Key of Migration Project.
- workspaceId String
- ID of Migration Project.
- workspaceKey String
- Key of Migration Project.
- workspaceId string
- ID of Migration Project.
- workspaceKey string
- Key of Migration Project.
- workspace_id str
- ID of Migration Project.
- workspace_key str
- Key of Migration Project.
- workspaceId String
- ID of Migration Project.
- workspaceKey String
- Key of Migration Project.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi