azure-native.containerregistry.CredentialSet
Explore with Pulumi AI
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:
- Registry
Name string - The name of the container registry.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Auth
Credentials 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.
- Credential
Set 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.
- Login
Server string - The credentials are stored for this upstream or login server.
- Registry
Name string - The name of the container registry.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Auth
Credentials []AuthCredential Args - List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
- Credential
Set stringName - The name of the credential set.
- Identity
Identity
Properties Args - Identities associated with the resource. This is used to access the KeyVault secrets.
- Login
Server string - The credentials are stored for this upstream or login server.
- registry
Name String - The name of the container registry.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- auth
Credentials List<AuthCredential> - List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
- credential
Set StringName - The name of the credential set.
- identity
Identity
Properties - Identities associated with the resource. This is used to access the KeyVault secrets.
- login
Server String - The credentials are stored for this upstream or login server.
- registry
Name string - The name of the container registry.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- auth
Credentials AuthCredential[] - List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
- credential
Set stringName - The name of the credential set.
- identity
Identity
Properties - Identities associated with the resource. This is used to access the KeyVault secrets.
- login
Server 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
Identity
Properties 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.
- registry
Name String - The name of the container registry.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- auth
Credentials List<Property Map> - List of authentication credentials stored for an upstream. Usually consists of a primary and an optional secondary credential.
- credential
Set StringName - The name of the credential set.
- identity Property Map
- Identities associated with the resource. This is used to access the KeyVault secrets.
- login
Server 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:
- Creation
Date 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.
- Provisioning
State string - Provisioning state of the resource.
- System
Data 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.
- Creation
Date 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.
- Provisioning
State string - Provisioning state of the resource.
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource.
- creation
Date 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.
- provisioning
State String - Provisioning state of the resource.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource.
- creation
Date 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.
- provisioning
State string - Provisioning state of the resource.
- system
Data 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.
- creation
Date 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.
- provisioning
State String - Provisioning state of the resource.
- system
Data 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.
- Password
Secret stringIdentifier - KeyVault Secret URI for accessing the password.
- Username
Secret stringIdentifier - KeyVault Secret URI for accessing the username.
- Name
string | Credential
Name - The name of the credential.
- Password
Secret stringIdentifier - KeyVault Secret URI for accessing the password.
- Username
Secret stringIdentifier - KeyVault Secret URI for accessing the username.
- name
String | Credential
Name - The name of the credential.
- password
Secret StringIdentifier - KeyVault Secret URI for accessing the password.
- username
Secret StringIdentifier - KeyVault Secret URI for accessing the username.
- name
string | Credential
Name - The name of the credential.
- password
Secret stringIdentifier - KeyVault Secret URI for accessing the password.
- username
Secret stringIdentifier - KeyVault Secret URI for accessing the username.
- name
str | Credential
Name - 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.
- password
Secret StringIdentifier - KeyVault Secret URI for accessing the password.
- username
Secret StringIdentifier - KeyVault Secret URI for accessing the username.
AuthCredentialResponse, AuthCredentialResponseArgs
- Credential
Health 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.
- Password
Secret stringIdentifier - KeyVault Secret URI for accessing the password.
- Username
Secret stringIdentifier - KeyVault Secret URI for accessing the username.
- Credential
Health CredentialHealth Response - This provides data pertaining to the health of the auth credential.
- Name string
- The name of the credential.
- Password
Secret stringIdentifier - KeyVault Secret URI for accessing the password.
- Username
Secret stringIdentifier - KeyVault Secret URI for accessing the username.
- credential
Health CredentialHealth Response - This provides data pertaining to the health of the auth credential.
- name String
- The name of the credential.
- password
Secret StringIdentifier - KeyVault Secret URI for accessing the password.
- username
Secret StringIdentifier - KeyVault Secret URI for accessing the username.
- credential
Health CredentialHealth Response - This provides data pertaining to the health of the auth credential.
- name string
- The name of the credential.
- password
Secret stringIdentifier - KeyVault Secret URI for accessing the password.
- username
Secret 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.
- credential
Health Property Map - This provides data pertaining to the health of the auth credential.
- name String
- The name of the credential.
- password
Secret StringIdentifier - KeyVault Secret URI for accessing the password.
- username
Secret StringIdentifier - KeyVault Secret URI for accessing the username.
CredentialHealthResponse, CredentialHealthResponseArgs
- Error
Code string - Error code representing the health check error.
- Error
Message string - Descriptive message representing the health check error.
- Status string
- The health status of credential.
- Error
Code string - Error code representing the health check error.
- Error
Message string - Descriptive message representing the health check error.
- Status string
- The health status of credential.
- error
Code String - Error code representing the health check error.
- error
Message String - Descriptive message representing the health check error.
- status String
- The health status of credential.
- error
Code string - Error code representing the health check error.
- error
Message 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.
- error
Code String - Error code representing the health check error.
- error
Message String - Descriptive message representing the health check error.
- status String
- The health status of credential.
CredentialName, CredentialNameArgs
- Credential1
- Credential1
- Credential
Name Credential1 - Credential1
- Credential1
- Credential1
- Credential1
- Credential1
- CREDENTIAL1
- Credential1
- "Credential1"
- Credential1
IdentityProperties, IdentityPropertiesArgs
- Principal
Id string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type
Pulumi.
Azure Native. Container Registry. Resource Identity Type - The identity type.
- User
Assigned 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}'.
- Principal
Id string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type
Resource
Identity Type - The identity type.
- User
Assigned 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}'.
- principal
Id String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type
Resource
Identity Type - The identity type.
- user
Assigned 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}'.
- principal
Id string - The principal ID of resource identity.
- tenant
Id string - The tenant ID of resource.
- type
Resource
Identity Type - The identity type.
- user
Assigned {[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
Resource
Identity 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}'.
- principal
Id String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type
"System
Assigned" | "User Assigned" | "System Assigned, User Assigned" | "None" - The identity type.
- user
Assigned 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
- Principal
Id string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type string
- The identity type.
- User
Assigned 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}'.
- Principal
Id string - The principal ID of resource identity.
- Tenant
Id string - The tenant ID of resource.
- Type string
- The identity type.
- User
Assigned 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}'.
- principal
Id String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type String
- The identity type.
- user
Assigned 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}'.
- principal
Id string - The principal ID of resource identity.
- tenant
Id string - The tenant ID of resource.
- type string
- The identity type.
- user
Assigned {[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}'.
- principal
Id String - The principal ID of resource identity.
- tenant
Id String - The tenant ID of resource.
- type String
- The identity type.
- user
Assigned 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
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- Resource
Identity Type System Assigned - SystemAssigned
- Resource
Identity Type User Assigned - UserAssigned
- Resource
Identity Type_System Assigned_User Assigned - SystemAssigned, UserAssigned
- Resource
Identity Type None - None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned, UserAssigned
- None
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned, UserAssigned
- NONE
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned, User Assigned" - SystemAssigned, UserAssigned
- "None"
- None
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource modification (UTC).
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource modification (UTC).
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource modification (UTC).
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource modification (UTC).
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource modification (UTC).
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserIdentityProperties, UserIdentityPropertiesArgs
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
- client
Id string - The client id of user assigned identity.
- principal
Id 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.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
UserIdentityPropertiesResponse, UserIdentityPropertiesResponseArgs
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- Client
Id string - The client id of user assigned identity.
- Principal
Id string - The principal id of user assigned identity.
- client
Id String - The client id of user assigned identity.
- principal
Id String - The principal id of user assigned identity.
- client
Id string - The client id of user assigned identity.
- principal
Id 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.
- client
Id String - The client id of user assigned identity.
- principal
Id 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