1. Packages
  2. Azure Native v1
  3. API Docs
  4. operationalinsights
  5. getSharedKeys
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.operationalinsights.getSharedKeys

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Gets the shared keys for a workspace. API Version: 2020-08-01.

    Using getSharedKeys

    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 getSharedKeys(args: GetSharedKeysArgs, opts?: InvokeOptions): Promise<GetSharedKeysResult>
    function getSharedKeysOutput(args: GetSharedKeysOutputArgs, opts?: InvokeOptions): Output<GetSharedKeysResult>
    def get_shared_keys(resource_group_name: Optional[str] = None,
                        workspace_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetSharedKeysResult
    def get_shared_keys_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                        workspace_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetSharedKeysResult]
    func GetSharedKeys(ctx *Context, args *GetSharedKeysArgs, opts ...InvokeOption) (*GetSharedKeysResult, error)
    func GetSharedKeysOutput(ctx *Context, args *GetSharedKeysOutputArgs, opts ...InvokeOption) GetSharedKeysResultOutput

    > Note: This function is named GetSharedKeys in the Go SDK.

    public static class GetSharedKeys 
    {
        public static Task<GetSharedKeysResult> InvokeAsync(GetSharedKeysArgs args, InvokeOptions? opts = null)
        public static Output<GetSharedKeysResult> Invoke(GetSharedKeysInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSharedKeysResult> getSharedKeys(GetSharedKeysArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:operationalinsights:getSharedKeys
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WorkspaceName string
    The name of the workspace.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    WorkspaceName string
    The name of the workspace.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workspaceName String
    The name of the workspace.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    workspaceName string
    The name of the workspace.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    workspace_name str
    The name of the workspace.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    workspaceName String
    The name of the workspace.

    getSharedKeys Result

    The following output properties are available:

    PrimarySharedKey string
    The primary shared key of a workspace.
    SecondarySharedKey string
    The secondary shared key of a workspace.
    PrimarySharedKey string
    The primary shared key of a workspace.
    SecondarySharedKey string
    The secondary shared key of a workspace.
    primarySharedKey String
    The primary shared key of a workspace.
    secondarySharedKey String
    The secondary shared key of a workspace.
    primarySharedKey string
    The primary shared key of a workspace.
    secondarySharedKey string
    The secondary shared key of a workspace.
    primary_shared_key str
    The primary shared key of a workspace.
    secondary_shared_key str
    The secondary shared key of a workspace.
    primarySharedKey String
    The primary shared key of a workspace.
    secondarySharedKey String
    The secondary shared key of a workspace.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi