1. Packages
  2. Azure Native v1
  3. API Docs
  4. containerregistry
  5. listRegistryCredentials
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.containerregistry.listRegistryCredentials

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

    Lists the login credentials for the specified container registry. API Version: 2019-05-01.

    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 to which the container registry belongs.
    RegistryName string
    The name of the container registry.
    ResourceGroupName string
    The name of the resource group to which the container registry belongs.
    registryName String
    The name of the container registry.
    resourceGroupName String
    The name of the resource group to which the container registry belongs.
    registryName string
    The name of the container registry.
    resourceGroupName string
    The name of the resource group to which the container registry belongs.
    registry_name str
    The name of the container registry.
    resource_group_name str
    The name of the resource group to which the container registry belongs.
    registryName String
    The name of the container registry.
    resourceGroupName String
    The name of the resource group to which the container registry belongs.

    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-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