1. Packages
  2. Azure Native
  3. API Docs
  4. containerregistry
  5. CredentialSet
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.containerregistry.CredentialSet

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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    An object that represents a credential set resource for a container registry. Azure REST API version: 2023-01-01-preview.

    Other available API versions: 2023-06-01-preview, 2023-07-01, 2023-08-01-preview, 2023-11-01-preview.

    Example Usage

    CredentialSetCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var credentialSet = new AzureNative.ContainerRegistry.CredentialSet("credentialSet", new()
        {
            AuthCredentials = new[]
            {
                new AzureNative.ContainerRegistry.Inputs.AuthCredentialArgs
                {
                    Name = AzureNative.ContainerRegistry.CredentialName.Credential1,
                    PasswordSecretIdentifier = "https://myvault.vault.azure.net/secrets/password",
                    UsernameSecretIdentifier = "https://myvault.vault.azure.net/secrets/username",
                },
            },
            CredentialSetName = "myCredentialSet",
            Identity = new AzureNative.ContainerRegistry.Inputs.IdentityPropertiesArgs
            {
                Type = AzureNative.ContainerRegistry.ResourceIdentityType.SystemAssigned,
            },
            LoginServer = "docker.io",
            RegistryName = "myRegistry",
            ResourceGroupName = "myResourceGroup",
        });
    
    });
    
    package main
    
    import (
    	containerregistry "github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := containerregistry.NewCredentialSet(ctx, "credentialSet", &containerregistry.CredentialSetArgs{
    			AuthCredentials: containerregistry.AuthCredentialArray{
    				&containerregistry.AuthCredentialArgs{
    					Name:                     pulumi.String(containerregistry.CredentialNameCredential1),
    					PasswordSecretIdentifier: pulumi.String("https://myvault.vault.azure.net/secrets/password"),
    					UsernameSecretIdentifier: pulumi.String("https://myvault.vault.azure.net/secrets/username"),
    				},
    			},
    			CredentialSetName: pulumi.String("myCredentialSet"),
    			Identity: &containerregistry.IdentityPropertiesArgs{
    				Type: containerregistry.ResourceIdentityTypeSystemAssigned,
    			},
    			LoginServer:       pulumi.String("docker.io"),
    			RegistryName:      pulumi.String("myRegistry"),
    			ResourceGroupName: pulumi.String("myResourceGroup"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.containerregistry.CredentialSet;
    import com.pulumi.azurenative.containerregistry.CredentialSetArgs;
    import com.pulumi.azurenative.containerregistry.inputs.AuthCredentialArgs;
    import com.pulumi.azurenative.containerregistry.inputs.IdentityPropertiesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var credentialSet = new CredentialSet("credentialSet", CredentialSetArgs.builder()
                .authCredentials(AuthCredentialArgs.builder()
                    .name("Credential1")
                    .passwordSecretIdentifier("https://myvault.vault.azure.net/secrets/password")
                    .usernameSecretIdentifier("https://myvault.vault.azure.net/secrets/username")
                    .build())
                .credentialSetName("myCredentialSet")
                .identity(IdentityPropertiesArgs.builder()
                    .type("SystemAssigned")
                    .build())
                .loginServer("docker.io")
                .registryName("myRegistry")
                .resourceGroupName("myResourceGroup")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    credential_set = azure_native.containerregistry.CredentialSet("credentialSet",
        auth_credentials=[{
            "name": azure_native.containerregistry.CredentialName.CREDENTIAL1,
            "password_secret_identifier": "https://myvault.vault.azure.net/secrets/password",
            "username_secret_identifier": "https://myvault.vault.azure.net/secrets/username",
        }],
        credential_set_name="myCredentialSet",
        identity={
            "type": azure_native.containerregistry.ResourceIdentityType.SYSTEM_ASSIGNED,
        },
        login_server="docker.io",
        registry_name="myRegistry",
        resource_group_name="myResourceGroup")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const credentialSet = new azure_native.containerregistry.CredentialSet("credentialSet", {
        authCredentials: [{
            name: azure_native.containerregistry.CredentialName.Credential1,
            passwordSecretIdentifier: "https://myvault.vault.azure.net/secrets/password",
            usernameSecretIdentifier: "https://myvault.vault.azure.net/secrets/username",
        }],
        credentialSetName: "myCredentialSet",
        identity: {
            type: azure_native.containerregistry.ResourceIdentityType.SystemAssigned,
        },
        loginServer: "docker.io",
        registryName: "myRegistry",
        resourceGroupName: "myResourceGroup",
    });
    
    resources:
      credentialSet:
        type: azure-native:containerregistry:CredentialSet
        properties:
          authCredentials:
            - name: Credential1
              passwordSecretIdentifier: https://myvault.vault.azure.net/secrets/password
              usernameSecretIdentifier: https://myvault.vault.azure.net/secrets/username
          credentialSetName: myCredentialSet
          identity:
            type: SystemAssigned
          loginServer: docker.io
          registryName: myRegistry
          resourceGroupName: myResourceGroup
    

    Create CredentialSet Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CredentialSet(name: string, args: CredentialSetArgs, opts?: CustomResourceOptions);
    @overload
    def CredentialSet(resource_name: str,
                      args: CredentialSetArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def CredentialSet(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      registry_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      auth_credentials: Optional[Sequence[AuthCredentialArgs]] = None,
                      credential_set_name: Optional[str] = None,
                      identity: Optional[IdentityPropertiesArgs] = None,
                      login_server: Optional[str] = None)
    func NewCredentialSet(ctx *Context, name string, args CredentialSetArgs, opts ...ResourceOption) (*CredentialSet, error)
    public CredentialSet(string name, CredentialSetArgs args, CustomResourceOptions? opts = null)
    public CredentialSet(String name, CredentialSetArgs args)
    public CredentialSet(String name, CredentialSetArgs args, CustomResourceOptions options)
    
    type: azure-native:containerregistry:CredentialSet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CredentialSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CredentialSetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CredentialSetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CredentialSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CredentialSetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var credentialSetResource = new AzureNative.ContainerRegistry.CredentialSet("credentialSetResource", new()
    {
        RegistryName = "string",
        ResourceGroupName = "string",
        AuthCredentials = new[]
        {
            new AzureNative.ContainerRegistry.Inputs.AuthCredentialArgs
            {
                Name = "string",
                PasswordSecretIdentifier = "string",
                UsernameSecretIdentifier = "string",
            },
        },
        CredentialSetName = "string",
        Identity = new AzureNative.ContainerRegistry.Inputs.IdentityPropertiesArgs
        {
            PrincipalId = "string",
            TenantId = "string",
            Type = AzureNative.ContainerRegistry.ResourceIdentityType.SystemAssigned,
            UserAssignedIdentities = 
            {
                { "string", new AzureNative.ContainerRegistry.Inputs.UserIdentityPropertiesArgs
                {
                    ClientId = "string",
                    PrincipalId = "string",
                } },
            },
        },
        LoginServer = "string",
    });
    
    example, err := containerregistry.NewCredentialSet(ctx, "credentialSetResource", &containerregistry.CredentialSetArgs{
    	RegistryName:      pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	AuthCredentials: containerregistry.AuthCredentialArray{
    		&containerregistry.AuthCredentialArgs{
    			Name:                     pulumi.String("string"),
    			PasswordSecretIdentifier: pulumi.String("string"),
    			UsernameSecretIdentifier: pulumi.String("string"),
    		},
    	},
    	CredentialSetName: pulumi.String("string"),
    	Identity: &containerregistry.IdentityPropertiesArgs{
    		PrincipalId: pulumi.String("string"),
    		TenantId:    pulumi.String("string"),
    		Type:        containerregistry.ResourceIdentityTypeSystemAssigned,
    		UserAssignedIdentities: containerregistry.UserIdentityPropertiesMap{
    			"string": &containerregistry.UserIdentityPropertiesArgs{
    				ClientId:    pulumi.String("string"),
    				PrincipalId: pulumi.String("string"),
    			},
    		},
    	},
    	LoginServer: pulumi.String("string"),
    })
    
    var credentialSetResource = new CredentialSet("credentialSetResource", CredentialSetArgs.builder()
        .registryName("string")
        .resourceGroupName("string")
        .authCredentials(AuthCredentialArgs.builder()
            .name("string")
            .passwordSecretIdentifier("string")
            .usernameSecretIdentifier("string")
            .build())
        .credentialSetName("string")
        .identity(IdentityPropertiesArgs.builder()
            .principalId("string")
            .tenantId("string")
            .type("SystemAssigned")
            .userAssignedIdentities(Map.of("string", Map.ofEntries(
                Map.entry("clientId", "string"),
                Map.entry("principalId", "string")
            )))
            .build())
        .loginServer("string")
        .build());
    
    credential_set_resource = azure_native.containerregistry.CredentialSet("credentialSetResource",
        registry_name="string",
        resource_group_name="string",
        auth_credentials=[{
            "name": "string",
            "password_secret_identifier": "string",
            "username_secret_identifier": "string",
        }],
        credential_set_name="string",
        identity={
            "principal_id": "string",
            "tenant_id": "string",
            "type": azure_native.containerregistry.ResourceIdentityType.SYSTEM_ASSIGNED,
            "user_assigned_identities": {
                "string": {
                    "client_id": "string",
                    "principal_id": "string",
                },
            },
        },
        login_server="string")
    
    const credentialSetResource = new azure_native.containerregistry.CredentialSet("credentialSetResource", {
        registryName: "string",
        resourceGroupName: "string",
        authCredentials: [{
            name: "string",
            passwordSecretIdentifier: "string",
            usernameSecretIdentifier: "string",
        }],
        credentialSetName: "string",
        identity: {
            principalId: "string",
            tenantId: "string",
            type: azure_native.containerregistry.ResourceIdentityType.SystemAssigned,
            userAssignedIdentities: {
                string: {
                    clientId: "string",
                    principalId: "string",
                },
            },
        },
        loginServer: "string",
    });
    
    type: azure-native:containerregistry:CredentialSet
    properties:
        authCredentials:
            - name: string
              passwordSecretIdentifier: string
              usernameSecretIdentifier: string
        credentialSetName: string
        identity:
            principalId: string
            tenantId: string
            type: SystemAssigned
            userAssignedIdentities:
                string:
                    clientId: string
                    principalId: string
        loginServer: string
        registryName: string
        resourceGroupName: string
    

    CredentialSet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CredentialSet resource accepts the following input properties:

    RegistryName string
    The name of the container registry.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AuthCredentials List<Pulumi.AzureNative.ContainerRegistry.Inputs.AuthCredential>
    List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
    CredentialSetName string
    The name of the credential set.
    Identity Pulumi.AzureNative.ContainerRegistry.Inputs.IdentityProperties
    Identities associated with the resource. This is used to access the KeyVault secrets.
    LoginServer string
    The credentials are stored for this upstream or login server.
    RegistryName string
    The name of the container registry.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    AuthCredentials []AuthCredentialArgs
    List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
    CredentialSetName string
    The name of the credential set.
    Identity IdentityPropertiesArgs
    Identities associated with the resource. This is used to access the KeyVault secrets.
    LoginServer string
    The credentials are stored for this upstream or login server.
    registryName String
    The name of the container registry.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    authCredentials List<AuthCredential>
    List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
    credentialSetName String
    The name of the credential set.
    identity IdentityProperties
    Identities associated with the resource. This is used to access the KeyVault secrets.
    loginServer String
    The credentials are stored for this upstream or login server.
    registryName string
    The name of the container registry.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    authCredentials AuthCredential[]
    List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
    credentialSetName string
    The name of the credential set.
    identity IdentityProperties
    Identities associated with the resource. This is used to access the KeyVault secrets.
    loginServer string
    The credentials are stored for this upstream or login server.
    registry_name str
    The name of the container registry.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    auth_credentials Sequence[AuthCredentialArgs]
    List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
    credential_set_name str
    The name of the credential set.
    identity IdentityPropertiesArgs
    Identities associated with the resource. This is used to access the KeyVault secrets.
    login_server str
    The credentials are stored for this upstream or login server.
    registryName String
    The name of the container registry.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    authCredentials List<Property Map>
    List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
    credentialSetName String
    The name of the credential set.
    identity Property Map
    Identities associated with the resource. This is used to access the KeyVault secrets.
    loginServer String
    The credentials are stored for this upstream or login server.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CredentialSet resource produces the following output properties:

    CreationDate string
    The creation date of credential store resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource.
    ProvisioningState string
    Provisioning state of the resource.
    SystemData Pulumi.AzureNative.ContainerRegistry.Outputs.SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource.
    CreationDate string
    The creation date of credential store resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource.
    ProvisioningState string
    Provisioning state of the resource.
    SystemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    Type string
    The type of the resource.
    creationDate String
    The creation date of credential store resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    provisioningState String
    Provisioning state of the resource.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource.
    creationDate string
    The creation date of credential store resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource.
    provisioningState string
    Provisioning state of the resource.
    systemData SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type string
    The type of the resource.
    creation_date str
    The creation date of credential store resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource.
    provisioning_state str
    Provisioning state of the resource.
    system_data SystemDataResponse
    Metadata pertaining to creation and last modification of the resource.
    type str
    The type of the resource.
    creationDate String
    The creation date of credential store resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource.
    provisioningState String
    Provisioning state of the resource.
    systemData Property Map
    Metadata pertaining to creation and last modification of the resource.
    type String
    The type of the resource.

    Supporting Types

    AuthCredential, AuthCredentialArgs

    Name string | Pulumi.AzureNative.ContainerRegistry.CredentialName
    The name of the credential.
    PasswordSecretIdentifier string
    KeyVault Secret URI for accessing the password.
    UsernameSecretIdentifier string
    KeyVault Secret URI for accessing the username.
    Name string | CredentialName
    The name of the credential.
    PasswordSecretIdentifier string
    KeyVault Secret URI for accessing the password.
    UsernameSecretIdentifier string
    KeyVault Secret URI for accessing the username.
    name String | CredentialName
    The name of the credential.
    passwordSecretIdentifier String
    KeyVault Secret URI for accessing the password.
    usernameSecretIdentifier String
    KeyVault Secret URI for accessing the username.
    name string | CredentialName
    The name of the credential.
    passwordSecretIdentifier string
    KeyVault Secret URI for accessing the password.
    usernameSecretIdentifier string
    KeyVault Secret URI for accessing the username.
    name str | CredentialName
    The name of the credential.
    password_secret_identifier str
    KeyVault Secret URI for accessing the password.
    username_secret_identifier str
    KeyVault Secret URI for accessing the username.
    name String | "Credential1"
    The name of the credential.
    passwordSecretIdentifier String
    KeyVault Secret URI for accessing the password.
    usernameSecretIdentifier String
    KeyVault Secret URI for accessing the username.

    AuthCredentialResponse, AuthCredentialResponseArgs

    CredentialHealth Pulumi.AzureNative.ContainerRegistry.Inputs.CredentialHealthResponse
    This provides data pertaining to the health of the auth credential.
    Name string
    The name of the credential.
    PasswordSecretIdentifier string
    KeyVault Secret URI for accessing the password.
    UsernameSecretIdentifier string
    KeyVault Secret URI for accessing the username.
    CredentialHealth CredentialHealthResponse
    This provides data pertaining to the health of the auth credential.
    Name string
    The name of the credential.
    PasswordSecretIdentifier string
    KeyVault Secret URI for accessing the password.
    UsernameSecretIdentifier string
    KeyVault Secret URI for accessing the username.
    credentialHealth CredentialHealthResponse
    This provides data pertaining to the health of the auth credential.
    name String
    The name of the credential.
    passwordSecretIdentifier String
    KeyVault Secret URI for accessing the password.
    usernameSecretIdentifier String
    KeyVault Secret URI for accessing the username.
    credentialHealth CredentialHealthResponse
    This provides data pertaining to the health of the auth credential.
    name string
    The name of the credential.
    passwordSecretIdentifier string
    KeyVault Secret URI for accessing the password.
    usernameSecretIdentifier string
    KeyVault Secret URI for accessing the username.
    credential_health CredentialHealthResponse
    This provides data pertaining to the health of the auth credential.
    name str
    The name of the credential.
    password_secret_identifier str
    KeyVault Secret URI for accessing the password.
    username_secret_identifier str
    KeyVault Secret URI for accessing the username.
    credentialHealth Property Map
    This provides data pertaining to the health of the auth credential.
    name String
    The name of the credential.
    passwordSecretIdentifier String
    KeyVault Secret URI for accessing the password.
    usernameSecretIdentifier String
    KeyVault Secret URI for accessing the username.

    CredentialHealthResponse, CredentialHealthResponseArgs

    ErrorCode string
    Error code representing the health check error.
    ErrorMessage string
    Descriptive message representing the health check error.
    Status string
    The health status of credential.
    ErrorCode string
    Error code representing the health check error.
    ErrorMessage string
    Descriptive message representing the health check error.
    Status string
    The health status of credential.
    errorCode String
    Error code representing the health check error.
    errorMessage String
    Descriptive message representing the health check error.
    status String
    The health status of credential.
    errorCode string
    Error code representing the health check error.
    errorMessage string
    Descriptive message representing the health check error.
    status string
    The health status of credential.
    error_code str
    Error code representing the health check error.
    error_message str
    Descriptive message representing the health check error.
    status str
    The health status of credential.
    errorCode String
    Error code representing the health check error.
    errorMessage String
    Descriptive message representing the health check error.
    status String
    The health status of credential.

    CredentialName, CredentialNameArgs

    Credential1
    Credential1
    CredentialNameCredential1
    Credential1
    Credential1
    Credential1
    Credential1
    Credential1
    CREDENTIAL1
    Credential1
    "Credential1"
    Credential1

    IdentityProperties, IdentityPropertiesArgs

    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type Pulumi.AzureNative.ContainerRegistry.ResourceIdentityType
    The identity type.
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.ContainerRegistry.Inputs.UserIdentityProperties>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type ResourceIdentityType
    The identity type.
    UserAssignedIdentities map[string]UserIdentityProperties
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type ResourceIdentityType
    The identity type.
    userAssignedIdentities Map<String,UserIdentityProperties>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId string
    The principal ID of resource identity.
    tenantId string
    The tenant ID of resource.
    type ResourceIdentityType
    The identity type.
    userAssignedIdentities {[key: string]: UserIdentityProperties}
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principal_id str
    The principal ID of resource identity.
    tenant_id str
    The tenant ID of resource.
    type ResourceIdentityType
    The identity type.
    user_assigned_identities Mapping[str, UserIdentityProperties]
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type "SystemAssigned" | "UserAssigned" | "SystemAssigned, UserAssigned" | "None"
    The identity type.
    userAssignedIdentities Map<Property Map>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

    IdentityPropertiesResponse, IdentityPropertiesResponseArgs

    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type string
    The identity type.
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.ContainerRegistry.Inputs.UserIdentityPropertiesResponse>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type string
    The identity type.
    UserAssignedIdentities map[string]UserIdentityPropertiesResponse
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type String
    The identity type.
    userAssignedIdentities Map<String,UserIdentityPropertiesResponse>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId string
    The principal ID of resource identity.
    tenantId string
    The tenant ID of resource.
    type string
    The identity type.
    userAssignedIdentities {[key: string]: UserIdentityPropertiesResponse}
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principal_id str
    The principal ID of resource identity.
    tenant_id str
    The tenant ID of resource.
    type str
    The identity type.
    user_assigned_identities Mapping[str, UserIdentityPropertiesResponse]
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type String
    The identity type.
    userAssignedIdentities Map<Property Map>
    The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/ providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.

    ResourceIdentityType, ResourceIdentityTypeArgs

    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned, UserAssigned
    None
    None
    ResourceIdentityTypeSystemAssigned
    SystemAssigned
    ResourceIdentityTypeUserAssigned
    UserAssigned
    ResourceIdentityType_SystemAssigned_UserAssigned
    SystemAssigned, UserAssigned
    ResourceIdentityTypeNone
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned, UserAssigned
    None
    None
    SystemAssigned
    SystemAssigned
    UserAssigned
    UserAssigned
    SystemAssigned_UserAssigned
    SystemAssigned, UserAssigned
    None
    None
    SYSTEM_ASSIGNED
    SystemAssigned
    USER_ASSIGNED
    UserAssigned
    SYSTEM_ASSIGNED_USER_ASSIGNED
    SystemAssigned, UserAssigned
    NONE
    None
    "SystemAssigned"
    SystemAssigned
    "UserAssigned"
    UserAssigned
    "SystemAssigned, UserAssigned"
    SystemAssigned, UserAssigned
    "None"
    None

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource modification (UTC).
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource modification (UTC).
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource modification (UTC).
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource modification (UTC).
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource modification (UTC).
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource modification (UTC).
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    UserIdentityProperties, UserIdentityPropertiesArgs

    ClientId string
    The client id of user assigned identity.
    PrincipalId string
    The principal id of user assigned identity.
    ClientId string
    The client id of user assigned identity.
    PrincipalId string
    The principal id of user assigned identity.
    clientId String
    The client id of user assigned identity.
    principalId String
    The principal id of user assigned identity.
    clientId string
    The client id of user assigned identity.
    principalId string
    The principal id of user assigned identity.
    client_id str
    The client id of user assigned identity.
    principal_id str
    The principal id of user assigned identity.
    clientId String
    The client id of user assigned identity.
    principalId String
    The principal id of user assigned identity.

    UserIdentityPropertiesResponse, UserIdentityPropertiesResponseArgs

    ClientId string
    The client id of user assigned identity.
    PrincipalId string
    The principal id of user assigned identity.
    ClientId string
    The client id of user assigned identity.
    PrincipalId string
    The principal id of user assigned identity.
    clientId String
    The client id of user assigned identity.
    principalId String
    The principal id of user assigned identity.
    clientId string
    The client id of user assigned identity.
    principalId string
    The principal id of user assigned identity.
    client_id str
    The client id of user assigned identity.
    principal_id str
    The principal id of user assigned identity.
    clientId String
    The client id of user assigned identity.
    principalId String
    The principal id of user assigned identity.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:containerregistry:CredentialSet myCredentialSet /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/credentialSets/{credentialSetName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi