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

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

    Gets the administrator login credentials for the specified container registry. API Version: 2016-06-27-preview.

    Using getRegistryCredentials

    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 getRegistryCredentials(args: GetRegistryCredentialsArgs, opts?: InvokeOptions): Promise<GetRegistryCredentialsResult>
    function getRegistryCredentialsOutput(args: GetRegistryCredentialsOutputArgs, opts?: InvokeOptions): Output<GetRegistryCredentialsResult>
    def get_registry_credentials(registry_name: Optional[str] = None,
                                 resource_group_name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetRegistryCredentialsResult
    def get_registry_credentials_output(registry_name: Optional[pulumi.Input[str]] = None,
                                 resource_group_name: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetRegistryCredentialsResult]
    func GetRegistryCredentials(ctx *Context, args *GetRegistryCredentialsArgs, opts ...InvokeOption) (*GetRegistryCredentialsResult, error)
    func GetRegistryCredentialsOutput(ctx *Context, args *GetRegistryCredentialsOutputArgs, opts ...InvokeOption) GetRegistryCredentialsResultOutput

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

    public static class GetRegistryCredentials 
    {
        public static Task<GetRegistryCredentialsResult> InvokeAsync(GetRegistryCredentialsArgs args, InvokeOptions? opts = null)
        public static Output<GetRegistryCredentialsResult> Invoke(GetRegistryCredentialsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetRegistryCredentialsResult> getRegistryCredentials(GetRegistryCredentialsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:containerregistry:getRegistryCredentials
      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.

    getRegistryCredentials Result

    The following output properties are available:

    Password string
    The administrator password.
    Username string
    The administrator username.
    Password string
    The administrator password.
    Username string
    The administrator username.
    password String
    The administrator password.
    username String
    The administrator username.
    password string
    The administrator password.
    username string
    The administrator username.
    password str
    The administrator password.
    username str
    The administrator username.
    password String
    The administrator password.
    username String
    The administrator username.

    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