Azure Native

v1.88.1 published on Thursday, Dec 1, 2022 by Pulumi

CredentialOperation

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

Example Usage

Credentials_Create

using System.Collections.Generic;
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

new CredentialOperation(name: string, args: CredentialOperationArgs, opts?: CustomResourceOptions);
@overload
def CredentialOperation(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        credential_name: Optional[str] = None,
                        factory_name: Optional[str] = None,
                        properties: Optional[ManagedIdentityCredentialArgs] = None,
                        resource_group_name: Optional[str] = None)
@overload
def CredentialOperation(resource_name: str,
                        args: CredentialOperationArgs,
                        opts: Optional[ResourceOptions] = 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.

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.

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

The CredentialOperation resource accepts the following input properties:

FactoryName string

The factory name.

Properties Pulumi.AzureNative.DataFactory.Inputs.ManagedIdentityCredentialArgs

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 ManagedIdentityCredentialArgs

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

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

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

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 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0