Fabriques/informations d’identification Microsoft.DataFactory
Définition de ressource Bicep
Les fabriques/le type de ressource d’informations d’identification peuvent être déployés avec des opérations qui ciblent :
- groupes de ressources - Consultez commandes de déploiement de groupes de ressources
Pour obtenir la liste des propriétés modifiées dans chaque version de l’API, consultez journal des modifications.
Format de ressource
Pour créer une ressource Microsoft.DataFactory/factories/credentials, ajoutez le bicep suivant à votre modèle.
resource symbolicname 'Microsoft.DataFactory/factories/credentials@2018-06-01' = {
parent: resourceSymbolicName
name: 'string'
properties: {
annotations: [
any(Azure.Bicep.Types.Concrete.AnyType)
]
description: 'string'
type: 'string'
// For remaining properties, see Credential objects
}
}
Objets d’informations d’identification
Définissez le type propriété pour spécifier le type d’objet.
Pour ManagedIdentity, utilisez :
{
type: 'ManagedIdentity'
typeProperties: {
resourceId: 'string'
}
}
Pour ServicePrincipal, utilisez :
{
type: 'ServicePrincipal'
typeProperties: {
servicePrincipalId: any(Azure.Bicep.Types.Concrete.AnyType)
servicePrincipalKey: {
secretName: any(Azure.Bicep.Types.Concrete.AnyType)
secretVersion: any(Azure.Bicep.Types.Concrete.AnyType)
store: {
parameters: {
{customized property}: any(Azure.Bicep.Types.Concrete.AnyType)
}
referenceName: 'string'
type: 'string'
}
type: 'string'
}
tenant: any(Azure.Bicep.Types.Concrete.AnyType)
}
}
Valeurs de propriété
AzureKeyVaultSecretReference
Credential
Nom | Description | Valeur |
---|---|---|
Annotations | Liste des balises qui peuvent être utilisées pour décrire les informations d’identification. | any[] |
description | Description des informations d’identification. | corde |
type | Défini sur « ManagedIdentity » pour le type ManagedIdentityCredential. Défini sur « ServicePrincipal » pour le type ServicePrincipalCredential. | 'ManagedIdentity' 'ServicePrincipal' (obligatoire) |
LinkedServiceReference
ManagedIdentityCredential
Nom | Description | Valeur |
---|---|---|
type | Type d’informations d’identification. | 'ManagedIdentity' (obligatoire) |
typeProperties | Propriétés des informations d’identification d’identité managée. | ManagedIdentityTypeProperties |
ManagedIdentityTypeProperties
Nom | Description | Valeur |
---|---|---|
resourceId | ID de ressource de l’identité managée affectée par l’utilisateur | corde |
Microsoft.DataFactory/factories/credentials
Nom | Description | Valeur |
---|---|---|
nom | Nom de la ressource | corde Contraintes: Longueur minimale = 1 Longueur maximale = 127 Modèle = ^([_A-Za-z0-9]|([_A-Za-z0-9][-_A-Za-z0-9]{0,125}[_A-Za-z0-9]))$ (obligatoire) |
parent | Dans Bicep, vous pouvez spécifier la ressource parente d’une ressource enfant. Vous devez uniquement ajouter cette propriété lorsque la ressource enfant est déclarée en dehors de la ressource parente. Pour plus d’informations, consultez ressource enfant en dehors de la ressource parente. |
Nom symbolique de la ressource de type : fabriques de |
Propriétés | Propriétés des informations d’identification. | d’informations d’identification (obligatoire) |
ParameterValueSpecification
Nom | Description | Valeur |
---|
ServicePrincipalCredential
Nom | Description | Valeur |
---|---|---|
type | Type d’informations d’identification. | 'ServicePrincipal' (obligatoire) |
typeProperties | Propriétés des informations d’identification du principal de service. | ServicePrincipalCredentialTypeProperties (obligatoire) |
ServicePrincipalCredentialTypeProperties
Définition de ressource de modèle ARM
Les fabriques/le type de ressource d’informations d’identification peuvent être déployés avec des opérations qui ciblent :
- groupes de ressources - Consultez commandes de déploiement de groupes de ressources
Pour obtenir la liste des propriétés modifiées dans chaque version de l’API, consultez journal des modifications.
Format de ressource
Pour créer une ressource Microsoft.DataFactory/factories/credentials, ajoutez le code JSON suivant à votre modèle.
{
"type": "Microsoft.DataFactory/factories/credentials",
"apiVersion": "2018-06-01",
"name": "string",
"properties": {
"annotations": [ {} ],
"description": "string",
"type": "string"
// For remaining properties, see Credential objects
}
}
Objets d’informations d’identification
Définissez le type propriété pour spécifier le type d’objet.
Pour ManagedIdentity, utilisez :
{
"type": "ManagedIdentity",
"typeProperties": {
"resourceId": "string"
}
}
Pour ServicePrincipal, utilisez :
{
"type": "ServicePrincipal",
"typeProperties": {
"servicePrincipalId": {},
"servicePrincipalKey": {
"secretName": {},
"secretVersion": {},
"store": {
"parameters": {
"{customized property}": {}
},
"referenceName": "string",
"type": "string"
},
"type": "string"
},
"tenant": {}
}
}
Valeurs de propriété
AzureKeyVaultSecretReference
Credential
Nom | Description | Valeur |
---|---|---|
Annotations | Liste des balises qui peuvent être utilisées pour décrire les informations d’identification. | any[] |
description | Description des informations d’identification. | corde |
type | Défini sur « ManagedIdentity » pour le type ManagedIdentityCredential. Défini sur « ServicePrincipal » pour le type ServicePrincipalCredential. | 'ManagedIdentity' 'ServicePrincipal' (obligatoire) |
LinkedServiceReference
ManagedIdentityCredential
Nom | Description | Valeur |
---|---|---|
type | Type d’informations d’identification. | 'ManagedIdentity' (obligatoire) |
typeProperties | Propriétés des informations d’identification d’identité managée. | ManagedIdentityTypeProperties |
ManagedIdentityTypeProperties
Nom | Description | Valeur |
---|---|---|
resourceId | ID de ressource de l’identité managée affectée par l’utilisateur | corde |
Microsoft.DataFactory/factories/credentials
ParameterValueSpecification
Nom | Description | Valeur |
---|
ServicePrincipalCredential
Nom | Description | Valeur |
---|---|---|
type | Type d’informations d’identification. | 'ServicePrincipal' (obligatoire) |
typeProperties | Propriétés des informations d’identification du principal de service. | ServicePrincipalCredentialTypeProperties (obligatoire) |
ServicePrincipalCredentialTypeProperties
Définition de ressource Terraform (fournisseur AzAPI)
Les fabriques/le type de ressource d’informations d’identification peuvent être déployés avec des opérations qui ciblent :
- groupes de ressources
Pour obtenir la liste des propriétés modifiées dans chaque version de l’API, consultez journal des modifications.
Format de ressource
Pour créer une ressource Microsoft.DataFactory/factories/credentials, ajoutez le terraform suivant à votre modèle.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DataFactory/factories/credentials@2018-06-01"
name = "string"
body = jsonencode({
properties = {
annotations = [
?
]
description = "string"
type = "string"
// For remaining properties, see Credential objects
}
})
}
Objets d’informations d’identification
Définissez le type propriété pour spécifier le type d’objet.
Pour ManagedIdentity, utilisez :
{
type = "ManagedIdentity"
typeProperties = {
resourceId = "string"
}
}
Pour ServicePrincipal, utilisez :
{
type = "ServicePrincipal"
typeProperties = {
servicePrincipalId = ?
servicePrincipalKey = {
secretName = ?
secretVersion = ?
store = {
parameters = {
{customized property} = ?
}
referenceName = "string"
type = "string"
}
type = "string"
}
tenant = ?
}
}
Valeurs de propriété
AzureKeyVaultSecretReference
Credential
Nom | Description | Valeur |
---|---|---|
Annotations | Liste des balises qui peuvent être utilisées pour décrire les informations d’identification. | any[] |
description | Description des informations d’identification. | corde |
type | Défini sur « ManagedIdentity » pour le type ManagedIdentityCredential. Défini sur « ServicePrincipal » pour le type ServicePrincipalCredential. | 'ManagedIdentity' 'ServicePrincipal' (obligatoire) |
LinkedServiceReference
ManagedIdentityCredential
Nom | Description | Valeur |
---|---|---|
type | Type d’informations d’identification. | 'ManagedIdentity' (obligatoire) |
typeProperties | Propriétés des informations d’identification d’identité managée. | ManagedIdentityTypeProperties |
ManagedIdentityTypeProperties
Nom | Description | Valeur |
---|---|---|
resourceId | ID de ressource de l’identité managée affectée par l’utilisateur | corde |
Microsoft.DataFactory/factories/credentials
ParameterValueSpecification
Nom | Description | Valeur |
---|
ServicePrincipalCredential
Nom | Description | Valeur |
---|---|---|
type | Type d’informations d’identification. | 'ServicePrincipal' (obligatoire) |
typeProperties | Propriétés des informations d’identification du principal de service. | ServicePrincipalCredentialTypeProperties (obligatoire) |