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.76.0 published on Friday, Dec 6, 2024 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.76.0 published on Friday, Dec 6, 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:
- Project
Name string - Name of the Azure Migrate project.
- Resource
Group stringName - Name of the Azure Resource Group that project is part of.
- Project
Name string - Name of the Azure Migrate project.
- Resource
Group stringName - Name of the Azure Resource Group that project is part of.
- project
Name String - Name of the Azure Migrate project.
- resource
Group StringName - Name of the Azure Resource Group that project is part of.
- project
Name string - Name of the Azure Migrate project.
- resource
Group 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.
- project
Name String - Name of the Azure Migrate project.
- resource
Group StringName - Name of the Azure Resource Group that project is part of.
getProjectKeys Result
The following output properties are available:
- Workspace
Id string - ID of Migration Project.
- Workspace
Key string - Key of Migration Project.
- Workspace
Id string - ID of Migration Project.
- Workspace
Key string - Key of Migration Project.
- workspace
Id String - ID of Migration Project.
- workspace
Key String - Key of Migration Project.
- workspace
Id string - ID of Migration Project.
- workspace
Key string - Key of Migration Project.
- workspace_
id str - ID of Migration Project.
- workspace_
key str - Key of Migration Project.
- workspace
Id String - ID of Migration Project.
- workspace
Key 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.76.0 published on Friday, Dec 6, 2024 by Pulumi