1. Packages
  2. Azure Native v1
  3. API Docs
  4. datafactory
  5. CredentialOperation
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.datafactory.CredentialOperation

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    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",
        });
    
    });
    

    Coming soon!

    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 pulumi
    import pulumi_azure_native as azure_native
    
    credential_operation = azure_native.datafactory.CredentialOperation("credentialOperation",
        credential_name="exampleCredential",
        factory_name="exampleFactoryName",
        properties=azure_native.datafactory.ManagedIdentityCredentialResponseArgs(
            resource_id="/subscriptions/12345678-1234-1234-1234-12345678abc/resourcegroups/exampleResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleUami",
            type="ManagedIdentity",
        ),
        resource_group_name="exampleResourceGroup")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const credentialOperation = new azure_native.datafactory.CredentialOperation("credentialOperation", {
        credentialName: "exampleCredential",
        factoryName: "exampleFactoryName",
        properties: {
            resourceId: "/subscriptions/12345678-1234-1234-1234-12345678abc/resourcegroups/exampleResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleUami",
            type: "ManagedIdentity",
        },
        resourceGroupName: "exampleResourceGroup",
    });
    
    resources:
      credentialOperation:
        type: azure-native:datafactory:CredentialOperation
        properties:
          credentialName: exampleCredential
          factoryName: exampleFactoryName
          properties:
            resourceId: /subscriptions/12345678-1234-1234-1234-12345678abc/resourcegroups/exampleResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/exampleUami
            type: ManagedIdentity
          resourceGroupName: exampleResourceGroup
    

    Create CredentialOperation Resource

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

    Constructor syntax

    new CredentialOperation(name: string, args: CredentialOperationArgs, opts?: CustomResourceOptions);
    @overload
    def CredentialOperation(resource_name: str,
                            args: CredentialOperationArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def CredentialOperation(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            factory_name: Optional[str] = None,
                            properties: Optional[ManagedIdentityCredentialArgs] = None,
                            resource_group_name: Optional[str] = None,
                            credential_name: Optional[str] = None)
    func NewCredentialOperation(ctx *Context, name string, args CredentialOperationArgs, opts ...ResourceOption) (*CredentialOperation, error)
    public CredentialOperation(string name, CredentialOperationArgs args, CustomResourceOptions? opts = null)
    public CredentialOperation(String name, CredentialOperationArgs args)
    public CredentialOperation(String name, CredentialOperationArgs args, CustomResourceOptions options)
    
    type: azure-native:datafactory:CredentialOperation
    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 CredentialOperationArgs
    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 CredentialOperationArgs
    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 CredentialOperationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CredentialOperationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CredentialOperationArgs
    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 credentialOperationResource = new AzureNative.Datafactory.CredentialOperation("credentialOperationResource", new()
    {
        FactoryName = "string",
        Properties = 
        {
            { "type", "ManagedIdentity" },
            { "annotations", new[]
            {
                "any",
            } },
            { "description", "string" },
            { "resourceId", "string" },
        },
        ResourceGroupName = "string",
        CredentialName = "string",
    });
    
    example, err := datafactory.NewCredentialOperation(ctx, "credentialOperationResource", &datafactory.CredentialOperationArgs{
    	FactoryName: "string",
    	Properties: map[string]interface{}{
    		"type": "ManagedIdentity",
    		"annotations": []string{
    			"any",
    		},
    		"description": "string",
    		"resourceId":  "string",
    	},
    	ResourceGroupName: "string",
    	CredentialName:    "string",
    })
    
    var credentialOperationResource = new CredentialOperation("credentialOperationResource", CredentialOperationArgs.builder()
        .factoryName("string")
        .properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .resourceGroupName("string")
        .credentialName("string")
        .build());
    
    credential_operation_resource = azure_native.datafactory.CredentialOperation("credentialOperationResource",
        factory_name=string,
        properties={
            type: ManagedIdentity,
            annotations: [any],
            description: string,
            resourceId: string,
        },
        resource_group_name=string,
        credential_name=string)
    
    const credentialOperationResource = new azure_native.datafactory.CredentialOperation("credentialOperationResource", {
        factoryName: "string",
        properties: {
            type: "ManagedIdentity",
            annotations: ["any"],
            description: "string",
            resourceId: "string",
        },
        resourceGroupName: "string",
        credentialName: "string",
    });
    
    type: azure-native:datafactory:CredentialOperation
    properties:
        credentialName: string
        factoryName: string
        properties:
            annotations:
                - any
            description: string
            resourceId: string
            type: ManagedIdentity
        resourceGroupName: string
    

    CredentialOperation 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 CredentialOperation resource accepts the following input properties:

    FactoryName string
    The factory name.
    Properties Pulumi.AzureNative.DataFactory.Inputs.ManagedIdentityCredential
    Managed Identity Credential properties.
    ResourceGroupName string
    The resource group name.
    CredentialName string
    Credential name
    FactoryName string
    The factory name.
    Properties ManagedIdentityCredentialArgs
    Managed Identity Credential properties.
    ResourceGroupName string
    The resource group name.
    CredentialName string
    Credential name
    factoryName String
    The factory name.
    properties ManagedIdentityCredential
    Managed Identity Credential properties.
    resourceGroupName String
    The resource group name.
    credentialName String
    Credential name
    factoryName string
    The factory name.
    properties ManagedIdentityCredential
    Managed Identity Credential properties.
    resourceGroupName string
    The resource group name.
    credentialName string
    Credential name
    factory_name str
    The factory name.
    properties ManagedIdentityCredentialArgs
    Managed Identity Credential properties.
    resource_group_name str
    The resource group name.
    credential_name str
    Credential name
    factoryName String
    The factory name.
    properties Property Map
    Managed Identity Credential properties.
    resourceGroupName String
    The resource group name.
    credentialName String
    Credential name

    Outputs

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

    Etag string
    Etag identifies change in the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name.
    Type string
    The resource type.
    Etag string
    Etag identifies change in the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name.
    Type string
    The resource type.
    etag String
    Etag identifies change in the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name.
    type String
    The resource type.
    etag string
    Etag identifies change in the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The resource name.
    type string
    The resource type.
    etag str
    Etag identifies change in the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The resource name.
    type str
    The resource type.
    etag String
    Etag identifies change in the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name.
    type String
    The resource type.

    Supporting Types

    ManagedIdentityCredential, ManagedIdentityCredentialArgs

    Annotations List<object>
    List of tags that can be used for describing the Credential.
    Description string
    Credential description.
    ResourceId string
    The resource id of user assigned managed identity
    Annotations []interface{}
    List of tags that can be used for describing the Credential.
    Description string
    Credential description.
    ResourceId string
    The resource id of user assigned managed identity
    annotations List<Object>
    List of tags that can be used for describing the Credential.
    description String
    Credential description.
    resourceId String
    The resource id of user assigned managed identity
    annotations any[]
    List of tags that can be used for describing the Credential.
    description string
    Credential description.
    resourceId string
    The resource id of user assigned managed identity
    annotations Sequence[Any]
    List of tags that can be used for describing the Credential.
    description str
    Credential description.
    resource_id str
    The resource id of user assigned managed identity
    annotations List<Any>
    List of tags that can be used for describing the Credential.
    description String
    Credential description.
    resourceId String
    The resource id of user assigned managed identity

    ManagedIdentityCredentialResponse, ManagedIdentityCredentialResponseArgs

    Annotations List<object>
    List of tags that can be used for describing the Credential.
    Description string
    Credential description.
    ResourceId string
    The resource id of user assigned managed identity
    Annotations []interface{}
    List of tags that can be used for describing the Credential.
    Description string
    Credential description.
    ResourceId string
    The resource id of user assigned managed identity
    annotations List<Object>
    List of tags that can be used for describing the Credential.
    description String
    Credential description.
    resourceId String
    The resource id of user assigned managed identity
    annotations any[]
    List of tags that can be used for describing the Credential.
    description string
    Credential description.
    resourceId string
    The resource id of user assigned managed identity
    annotations Sequence[Any]
    List of tags that can be used for describing the Credential.
    description str
    Credential description.
    resource_id str
    The resource id of user assigned managed identity
    annotations List<Any>
    List of tags that can be used for describing the Credential.
    description String
    Credential description.
    resourceId String
    The resource id of user assigned managed identity

    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 
    

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

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi