1. Packages
  2. Azure Native
  3. API Docs
  4. datadog
  5. getMonitorDefaultKey
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.datadog.getMonitorDefaultKey

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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    Azure REST API version: 2022-06-01.

    Other available API versions: 2022-08-01, 2023-01-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?: InvokeOptions): 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: Optional[pulumi.Input[str]] = None,
                                resource_group_name: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = 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 CompletableFuture<GetMonitorDefaultKeyResult> getMonitorDefaultKey(GetMonitorDefaultKeyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:datadog:getMonitorDefaultKey
      arguments:
        # arguments dictionary

    The following arguments are supported:

    MonitorName string
    Monitor resource name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    MonitorName string
    Monitor resource name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    monitorName String
    Monitor resource name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    monitorName string
    Monitor resource name
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    monitor_name str
    Monitor resource name
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    monitorName String
    Monitor resource name
    resourceGroupName String
    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.
    CreatedBy string
    The user that created the API key.
    Name string
    The name of the API key.
    Key string
    The value of the API key.
    Created string
    The time of creation of the API key.
    CreatedBy string
    The user that created the API key.
    Name string
    The name of the API key.
    key String
    The value of the API key.
    created String
    The time of creation of the API key.
    createdBy String
    The user that created the API key.
    name String
    The name of the API key.
    key string
    The value of the API key.
    created string
    The time of creation of the API key.
    createdBy 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.
    key String
    The value of the API key.
    created String
    The time of creation of the API key.
    createdBy String
    The user that created the API key.
    name String
    The name of the API key.

    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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi