CredentialOperation

class CredentialOperation : KotlinCustomResource

Credential resource type. API Version: 2018-06-01.

Example Usage

Credentials_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var credentialOperation = new AzureNative.DataFactory.CredentialOperation("credentialOperation", new()
{
CredentialName = "exampleCredential",
FactoryName = "exampleFactoryName",
Properties = new AzureNative.DataFactory.Inputs.ManagedIdentityCredentialArgs
{
ResourceId = "/subscriptions/12345678-1234-1234-1234-12345678abc/resourcegroups/exampleResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleUami",
Type = "ManagedIdentity",
},
ResourceGroupName = "exampleResourceGroup",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.datafactory.CredentialOperation;
import com.pulumi.azurenative.datafactory.CredentialOperationArgs;
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 credentialOperation = new CredentialOperation("credentialOperation", CredentialOperationArgs.builder()
.credentialName("exampleCredential")
.factoryName("exampleFactoryName")
.properties(Map.ofEntries(
Map.entry("resourceId", "/subscriptions/12345678-1234-1234-1234-12345678abc/resourcegroups/exampleResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleUami"),
Map.entry("type", "ManagedIdentity")
))
.resourceGroupName("exampleResourceGroup")
.build());
}
}

Import

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

$ pulumi import azure-native:datafactory:CredentialOperation exampleCredential /subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/credentials/exampleCredential

Properties

Link copied to clipboard
val etag: Output<String>

Etag identifies change in the resource.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The resource name.

Link copied to clipboard

Managed Identity Credential properties.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: Output<String>

The resource type.

Link copied to clipboard
val urn: Output<String>