1. Packages
  2. Azure Native
  3. API Docs
  4. containerregistry
  5. listRegistryCredentials
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.38.0 published on Monday, Apr 22, 2024 by Pulumi

azure-native.containerregistry.listRegistryCredentials

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.38.0 published on Monday, Apr 22, 2024 by Pulumi

    Lists the login credentials for the specified container registry. Azure REST API version: 2022-12-01.

    Other available API versions: 2017-03-01, 2019-05-01, 2023-01-01-preview, 2023-06-01-preview, 2023-07-01, 2023-08-01-preview, 2023-11-01-preview.

    Using listRegistryCredentials

    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 listRegistryCredentials(args: ListRegistryCredentialsArgs, opts?: InvokeOptions): Promise<ListRegistryCredentialsResult>
    function listRegistryCredentialsOutput(args: ListRegistryCredentialsOutputArgs, opts?: InvokeOptions): Output<ListRegistryCredentialsResult>
    def list_registry_credentials(registry_name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  opts: Optional[InvokeOptions] = None) -> ListRegistryCredentialsResult
    def list_registry_credentials_output(registry_name: Optional[pulumi.Input[str]] = None,
                                  resource_group_name: Optional[pulumi.Input[str]] = None,
                                  opts: Optional[InvokeOptions] = None) -> Output[ListRegistryCredentialsResult]
    func ListRegistryCredentials(ctx *Context, args *ListRegistryCredentialsArgs, opts ...InvokeOption) (*ListRegistryCredentialsResult, error)
    func ListRegistryCredentialsOutput(ctx *Context, args *ListRegistryCredentialsOutputArgs, opts ...InvokeOption) ListRegistryCredentialsResultOutput

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

    public static class ListRegistryCredentials 
    {
        public static Task<ListRegistryCredentialsResult> InvokeAsync(ListRegistryCredentialsArgs args, InvokeOptions? opts = null)
        public static Output<ListRegistryCredentialsResult> Invoke(ListRegistryCredentialsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListRegistryCredentialsResult> listRegistryCredentials(ListRegistryCredentialsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:containerregistry:listRegistryCredentials
      arguments:
        # arguments dictionary

    The following arguments are supported:

    RegistryName string
    The name of the container registry.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    RegistryName string
    The name of the container registry.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    registryName String
    The name of the container registry.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    registryName string
    The name of the container registry.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    registry_name str
    The name of the container registry.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    registryName String
    The name of the container registry.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.

    listRegistryCredentials Result

    The following output properties are available:

    Passwords List<Pulumi.AzureNative.ContainerRegistry.Outputs.RegistryPasswordResponse>
    The list of passwords for a container registry.
    Username string
    The username for a container registry.
    Passwords []RegistryPasswordResponse
    The list of passwords for a container registry.
    Username string
    The username for a container registry.
    passwords List<RegistryPasswordResponse>
    The list of passwords for a container registry.
    username String
    The username for a container registry.
    passwords RegistryPasswordResponse[]
    The list of passwords for a container registry.
    username string
    The username for a container registry.
    passwords Sequence[RegistryPasswordResponse]
    The list of passwords for a container registry.
    username str
    The username for a container registry.
    passwords List<Property Map>
    The list of passwords for a container registry.
    username String
    The username for a container registry.

    Supporting Types

    RegistryPasswordResponse

    Name string
    The password name.
    Value string
    The password value.
    Name string
    The password name.
    Value string
    The password value.
    name String
    The password name.
    value String
    The password value.
    name string
    The password name.
    value string
    The password value.
    name str
    The password name.
    value str
    The password value.
    name String
    The password name.
    value String
    The password value.

    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.38.0 published on Monday, Apr 22, 2024 by Pulumi