azure-native.containerregistry.listRegistryCredentials
Explore with Pulumi AI
Lists the login credentials for the specified container registry.
Uses Azure REST API version 2024-11-01-preview.
Other available API versions: 2019-12-01-preview, 2020-11-01-preview, 2021-06-01-preview, 2021-08-01-preview, 2021-09-01, 2021-12-01-preview, 2022-02-01-preview, 2022-12-01, 2023-01-01-preview, 2023-06-01-preview, 2023-07-01, 2023-08-01-preview, 2023-11-01-preview, 2025-03-01-preview, 2025-04-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native containerregistry [ApiVersion]
. See the version guide for details.
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)
public static Output<ListRegistryCredentialsResult> listRegistryCredentials(ListRegistryCredentialsArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:containerregistry:listRegistryCredentials
arguments:
# arguments dictionary
The following arguments are supported:
- Registry
Name string - The name of the container registry.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Registry
Name string - The name of the container registry.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- registry
Name String - The name of the container registry.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- registry
Name string - The name of the container registry.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- registry_
name str - The name of the container registry.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- registry
Name String - The name of the container registry.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
listRegistryCredentials Result
The following output properties are available:
- Passwords
List<Pulumi.
Azure Native. Container Registry. Outputs. Registry Password Response> - The list of passwords for a container registry.
- Username string
- The username for a container registry.
- Passwords
[]Registry
Password Response - The list of passwords for a container registry.
- Username string
- The username for a container registry.
- passwords
List<Registry
Password Response> - The list of passwords for a container registry.
- username String
- The username for a container registry.
- passwords
Registry
Password Response[] - The list of passwords for a container registry.
- username string
- The username for a container registry.
- passwords
Sequence[Registry
Password Response] - 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
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0