1. Packages
  2. Azure Native
  3. API Docs
  4. migrate
  5. getProjectKeys
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.33.0 published on Friday, Mar 22, 2024 by Pulumi

azure-native.migrate.getProjectKeys

Explore with Pulumi AI

azure-native logo
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.33.0 published on Friday, Mar 22, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:migrate:getProjectKeys
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ProjectName string
    Name of the Azure Migrate project.
    ResourceGroupName string
    Name of the Azure Resource Group that project is part of.
    ProjectName string
    Name of the Azure Migrate project.
    ResourceGroupName string
    Name of the Azure Resource Group that project is part of.
    projectName String
    Name of the Azure Migrate project.
    resourceGroupName String
    Name of the Azure Resource Group that project is part of.
    projectName string
    Name of the Azure Migrate project.
    resourceGroupName string
    Name of the Azure Resource Group that project is part of.
    project_name str
    Name of the Azure Migrate project.
    resource_group_name str
    Name of the Azure Resource Group that project is part of.
    projectName String
    Name of the Azure Migrate project.
    resourceGroupName String
    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
    azure-native logo
    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.33.0 published on Friday, Mar 22, 2024 by Pulumi