1. Packages
  2. Azure Native
  3. API Docs
  4. automation
  5. listKeyByAutomationAccount
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.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.automation.listKeyByAutomationAccount

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.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Retrieve the automation keys for an account. Azure REST API version: 2022-08-08.

    Other available API versions: 2023-05-15-preview, 2023-11-01.

    Using listKeyByAutomationAccount

    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 listKeyByAutomationAccount(args: ListKeyByAutomationAccountArgs, opts?: InvokeOptions): Promise<ListKeyByAutomationAccountResult>
    function listKeyByAutomationAccountOutput(args: ListKeyByAutomationAccountOutputArgs, opts?: InvokeOptions): Output<ListKeyByAutomationAccountResult>
    def list_key_by_automation_account(automation_account_name: Optional[str] = None,
                                       resource_group_name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> ListKeyByAutomationAccountResult
    def list_key_by_automation_account_output(automation_account_name: Optional[pulumi.Input[str]] = None,
                                       resource_group_name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[ListKeyByAutomationAccountResult]
    func ListKeyByAutomationAccount(ctx *Context, args *ListKeyByAutomationAccountArgs, opts ...InvokeOption) (*ListKeyByAutomationAccountResult, error)
    func ListKeyByAutomationAccountOutput(ctx *Context, args *ListKeyByAutomationAccountOutputArgs, opts ...InvokeOption) ListKeyByAutomationAccountResultOutput

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

    public static class ListKeyByAutomationAccount 
    {
        public static Task<ListKeyByAutomationAccountResult> InvokeAsync(ListKeyByAutomationAccountArgs args, InvokeOptions? opts = null)
        public static Output<ListKeyByAutomationAccountResult> Invoke(ListKeyByAutomationAccountInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListKeyByAutomationAccountResult> listKeyByAutomationAccount(ListKeyByAutomationAccountArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:automation:listKeyByAutomationAccount
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AutomationAccountName string
    The name of the automation account.
    ResourceGroupName string
    Name of an Azure Resource group.
    AutomationAccountName string
    The name of the automation account.
    ResourceGroupName string
    Name of an Azure Resource group.
    automationAccountName String
    The name of the automation account.
    resourceGroupName String
    Name of an Azure Resource group.
    automationAccountName string
    The name of the automation account.
    resourceGroupName string
    Name of an Azure Resource group.
    automation_account_name str
    The name of the automation account.
    resource_group_name str
    Name of an Azure Resource group.
    automationAccountName String
    The name of the automation account.
    resourceGroupName String
    Name of an Azure Resource group.

    listKeyByAutomationAccount Result

    The following output properties are available:

    Keys []KeyResponse
    Lists the automation keys.
    keys List<KeyResponse>
    Lists the automation keys.
    keys KeyResponse[]
    Lists the automation keys.
    keys Sequence[KeyResponse]
    Lists the automation keys.
    keys List<Property Map>
    Lists the automation keys.

    Supporting Types

    KeyResponse

    KeyName string
    Automation key name.
    Permissions string
    Automation key permissions.
    Value string
    Value of the Automation Key used for registration.
    KeyName string
    Automation key name.
    Permissions string
    Automation key permissions.
    Value string
    Value of the Automation Key used for registration.
    keyName String
    Automation key name.
    permissions String
    Automation key permissions.
    value String
    Value of the Automation Key used for registration.
    keyName string
    Automation key name.
    permissions string
    Automation key permissions.
    value string
    Value of the Automation Key used for registration.
    key_name str
    Automation key name.
    permissions str
    Automation key permissions.
    value str
    Value of the Automation Key used for registration.
    keyName String
    Automation key name.
    permissions String
    Automation key permissions.
    value String
    Value of the Automation Key used for registration.

    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.47.1 published on Monday, Jun 24, 2024 by Pulumi