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.automation.listKeyByAutomationAccount
Explore with Pulumi AI
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
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:
- Automation
Account stringName - The name of the automation account.
- Resource
Group stringName - Name of an Azure Resource group.
- Automation
Account stringName - The name of the automation account.
- Resource
Group stringName - Name of an Azure Resource group.
- automation
Account StringName - The name of the automation account.
- resource
Group StringName - Name of an Azure Resource group.
- automation
Account stringName - The name of the automation account.
- resource
Group stringName - Name of an Azure Resource group.
- automation_
account_ strname - The name of the automation account.
- resource_
group_ strname - Name of an Azure Resource group.
- automation
Account StringName - The name of the automation account.
- resource
Group StringName - Name of an Azure Resource group.
listKeyByAutomationAccount Result
The following output properties are available:
- Keys
List<Pulumi.
Azure Native. Automation. Outputs. Key Response> - Lists the automation keys.
- Keys
[]Key
Response - Lists the automation keys.
- keys
List<Key
Response> - Lists the automation keys.
- keys
Key
Response[] - Lists the automation keys.
- keys
Sequence[Key
Response] - Lists the automation keys.
- keys List<Property Map>
- Lists the automation keys.
Supporting Types
KeyResponse
- Key
Name string - Automation key name.
- Permissions string
- Automation key permissions.
- Value string
- Value of the Automation Key used for registration.
- Key
Name string - Automation key name.
- Permissions string
- Automation key permissions.
- Value string
- Value of the Automation Key used for registration.
- key
Name String - Automation key name.
- permissions String
- Automation key permissions.
- value String
- Value of the Automation Key used for registration.
- key
Name 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.
- key
Name 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
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