azure-native.automation.listKeyByAutomationAccount

Explore with Pulumi AI

Retrieve the automation keys for an account. API Version: 2021-06-22.

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