This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Tuesday, Oct 27, 2026 by Pulumi
published on Tuesday, Oct 27, 2026 by Pulumi
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Tuesday, Oct 27, 2026 by Pulumi
published on Tuesday, Oct 27, 2026 by Pulumi
API Version: 2021-03-01.
Using getMonitorDefaultKey
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 getMonitorDefaultKey(args: GetMonitorDefaultKeyArgs, opts?: InvokeOptions): Promise<GetMonitorDefaultKeyResult>
function getMonitorDefaultKeyOutput(args: GetMonitorDefaultKeyOutputArgs, opts?: InvokeOutputOptions): Output<GetMonitorDefaultKeyResult>def get_monitor_default_key(monitor_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMonitorDefaultKeyResult
def get_monitor_default_key_output(monitor_name: pulumi.Input[Optional[str]] = None,
resource_group_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetMonitorDefaultKeyResult]func GetMonitorDefaultKey(ctx *Context, args *GetMonitorDefaultKeyArgs, opts ...InvokeOption) (*GetMonitorDefaultKeyResult, error)
func GetMonitorDefaultKeyOutput(ctx *Context, args *GetMonitorDefaultKeyOutputArgs, opts ...InvokeOption) GetMonitorDefaultKeyResultOutput> Note: This function is named GetMonitorDefaultKey in the Go SDK.
public static class GetMonitorDefaultKey
{
public static Task<GetMonitorDefaultKeyResult> InvokeAsync(GetMonitorDefaultKeyArgs args, InvokeOptions? opts = null)
public static Output<GetMonitorDefaultKeyResult> Invoke(GetMonitorDefaultKeyInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetMonitorDefaultKeyResult> Invoke(GetMonitorDefaultKeyInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetMonitorDefaultKeyResult> getMonitorDefaultKey(GetMonitorDefaultKeyArgs args, InvokeOptions options)
public static Output<GetMonitorDefaultKeyResult> getMonitorDefaultKey(GetMonitorDefaultKeyArgs args, InvokeOptions options)
public static Output<GetMonitorDefaultKeyResult> getMonitorDefaultKey(GetMonitorDefaultKeyArgs args, InvokeOutputOptions options)
fn::invoke:
function: azure-native:datadog:getMonitorDefaultKey
arguments:
# arguments dictionarydata "azure-native_datadog_get_monitor_default_key" "name" {
# arguments
}The following arguments are supported:
- Monitor
Name string - Monitor resource name
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Monitor
Name string - Monitor resource name
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- monitor_
name string - Monitor resource name
- resource_
group_ stringname - The name of the resource group. The name is case insensitive.
- monitor
Name String - Monitor resource name
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- monitor
Name string - Monitor resource name
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- monitor_
name str - Monitor resource name
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- monitor
Name String - Monitor resource name
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getMonitorDefaultKey Result
The following output properties are available:
- key string
- The value of the API key.
- created string
- The time of creation of the API key.
- created_
by string - The user that created the API key.
- name string
- The name of the API key.
- key str
- The value of the API key.
- created str
- The time of creation of the API key.
- created_
by str - The user that created the API key.
- name str
- The name of the API key.
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 v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Tuesday, Oct 27, 2026 by Pulumi
published on Tuesday, Oct 27, 2026 by Pulumi