azure-native.containerregistry.CredentialSet
Explore with Pulumi AI
An object that represents a credential set resource for a container registry.
Uses 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, 2024-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 * 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",
});
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")
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.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- AuthCredentials List<Pulumi.Azure Native. Container Registry. Inputs. Auth Credential> 
- List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
- CredentialSet stringName 
- The name of the credential set.
- Identity
Pulumi.Azure Native. Container Registry. Inputs. Identity Properties 
- 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.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- AuthCredentials []AuthCredential Args 
- List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
- CredentialSet stringName 
- The name of the credential set.
- Identity
IdentityProperties Args 
- 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.
- resourceGroup StringName 
- 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.
- credentialSet StringName 
- 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.
- resourceGroup stringName 
- 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.
- credentialSet stringName 
- 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_ strname 
- The name of the resource group. The name is case insensitive.
- auth_credentials Sequence[AuthCredential Args] 
- List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
- credential_set_ strname 
- The name of the credential set.
- identity
IdentityProperties Args 
- 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.
- resourceGroup StringName 
- 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.
- credentialSet StringName 
- 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.Azure Native. Container Registry. Outputs. System Data Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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 SystemData Response 
- 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.Azure Native. Container Registry. Credential Name 
- The name of the credential.
- PasswordSecret stringIdentifier 
- KeyVault Secret URI for accessing the password.
- UsernameSecret stringIdentifier 
- KeyVault Secret URI for accessing the username.
- Name
string | CredentialName 
- The name of the credential.
- PasswordSecret stringIdentifier 
- KeyVault Secret URI for accessing the password.
- UsernameSecret stringIdentifier 
- KeyVault Secret URI for accessing the username.
- name
String | CredentialName 
- The name of the credential.
- passwordSecret StringIdentifier 
- KeyVault Secret URI for accessing the password.
- usernameSecret StringIdentifier 
- KeyVault Secret URI for accessing the username.
- name
string | CredentialName 
- The name of the credential.
- passwordSecret stringIdentifier 
- KeyVault Secret URI for accessing the password.
- usernameSecret stringIdentifier 
- KeyVault Secret URI for accessing the username.
- name
str | CredentialName 
- The name of the credential.
- password_secret_ stridentifier 
- KeyVault Secret URI for accessing the password.
- username_secret_ stridentifier 
- KeyVault Secret URI for accessing the username.
- name String | "Credential1"
- The name of the credential.
- passwordSecret StringIdentifier 
- KeyVault Secret URI for accessing the password.
- usernameSecret StringIdentifier 
- KeyVault Secret URI for accessing the username.
AuthCredentialResponse, AuthCredentialResponseArgs      
- CredentialHealth Pulumi.Azure Native. Container Registry. Inputs. Credential Health Response 
- This provides data pertaining to the health of the auth credential.
- Name string
- The name of the credential.
- PasswordSecret stringIdentifier 
- KeyVault Secret URI for accessing the password.
- UsernameSecret stringIdentifier 
- KeyVault Secret URI for accessing the username.
- CredentialHealth CredentialHealth Response 
- This provides data pertaining to the health of the auth credential.
- Name string
- The name of the credential.
- PasswordSecret stringIdentifier 
- KeyVault Secret URI for accessing the password.
- UsernameSecret stringIdentifier 
- KeyVault Secret URI for accessing the username.
- credentialHealth CredentialHealth Response 
- This provides data pertaining to the health of the auth credential.
- name String
- The name of the credential.
- passwordSecret StringIdentifier 
- KeyVault Secret URI for accessing the password.
- usernameSecret StringIdentifier 
- KeyVault Secret URI for accessing the username.
- credentialHealth CredentialHealth Response 
- This provides data pertaining to the health of the auth credential.
- name string
- The name of the credential.
- passwordSecret stringIdentifier 
- KeyVault Secret URI for accessing the password.
- usernameSecret stringIdentifier 
- KeyVault Secret URI for accessing the username.
- credential_health CredentialHealth Response 
- This provides data pertaining to the health of the auth credential.
- name str
- The name of the credential.
- password_secret_ stridentifier 
- KeyVault Secret URI for accessing the password.
- username_secret_ stridentifier 
- 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.
- passwordSecret StringIdentifier 
- KeyVault Secret URI for accessing the password.
- usernameSecret StringIdentifier 
- 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
- CredentialName Credential1 
- 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.Azure Native. Container Registry. Resource Identity Type 
- The identity type.
- UserAssigned Dictionary<string, Pulumi.Identities Azure Native. Container Registry. Inputs. User Identity Properties> 
- 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
ResourceIdentity Type 
- The identity type.
- UserAssigned map[string]UserIdentities Identity Properties 
- 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
ResourceIdentity Type 
- The identity type.
- userAssigned Map<String,UserIdentities Identity Properties> 
- 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
ResourceIdentity Type 
- The identity type.
- userAssigned {[key: string]: UserIdentities Identity Properties} 
- 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
ResourceIdentity Type 
- The identity type.
- user_assigned_ Mapping[str, Useridentities Identity Properties] 
- 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" | "User Assigned" | "System Assigned, User Assigned" | "None" 
- The identity type.
- userAssigned Map<Property Map>Identities 
- 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.
- UserAssigned Dictionary<string, Pulumi.Identities Azure Native. Container Registry. Inputs. User Identity Properties Response> 
- 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.
- UserAssigned map[string]UserIdentities Identity Properties Response 
- 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.
- userAssigned Map<String,UserIdentities Identity Properties Response> 
- 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.
- userAssigned {[key: string]: UserIdentities Identity Properties Response} 
- 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_ Mapping[str, Useridentities Identity Properties Response] 
- 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.
- userAssigned Map<Property Map>Identities 
- 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_User Assigned 
- SystemAssigned, UserAssigned
- None
- None
- ResourceIdentity Type System Assigned 
- SystemAssigned
- ResourceIdentity Type User Assigned 
- UserAssigned
- ResourceIdentity Type_System Assigned_User Assigned 
- SystemAssigned, UserAssigned
- ResourceIdentity Type None 
- None
- SystemAssigned 
- SystemAssigned
- UserAssigned 
- UserAssigned
- SystemAssigned_User Assigned 
- SystemAssigned, UserAssigned
- None
- None
- SystemAssigned 
- SystemAssigned
- UserAssigned 
- UserAssigned
- SystemAssigned_User Assigned 
- SystemAssigned, UserAssigned
- None
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned, UserAssigned
- NONE
- None
- "SystemAssigned" 
- SystemAssigned
- "UserAssigned" 
- UserAssigned
- "SystemAssigned, User Assigned" 
- SystemAssigned, UserAssigned
- "None"
- None
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource modification (UTC).
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource modification (UTC).
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource modification (UTC).
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource modification (UTC).
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource modification (UTC).
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource modification (UTC).
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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