1. Packages
  2. Azure Native v2
  3. API Docs
  4. logic
  5. IntegrationAccountCertificate
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.logic.IntegrationAccountCertificate

Explore with Pulumi AI

The integration account certificate. Azure REST API version: 2019-05-01. Prior API version in Azure Native 1.x: 2019-05-01.

Other available API versions: 2015-08-01-preview.

Example Usage

Create or update a certificate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var integrationAccountCertificate = new AzureNative.Logic.IntegrationAccountCertificate("integrationAccountCertificate", new()
    {
        CertificateName = "testCertificate",
        IntegrationAccountName = "testIntegrationAccount",
        Key = new AzureNative.Logic.Inputs.KeyVaultKeyReferenceArgs
        {
            KeyName = "<keyName>",
            KeyVault = new AzureNative.Logic.Inputs.KeyVaultKeyReferenceKeyVaultArgs
            {
                Id = "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testResourceGroup/providers/microsoft.keyvault/vaults/<keyVaultName>",
            },
            KeyVersion = "87d9764197604449b9b8eb7bd8710868",
        },
        Location = "brazilsouth",
        PublicCertificate = "<publicCertificateValue>",
        ResourceGroupName = "testResourceGroup",
    });

});
Copy
package main

import (
	logic "github.com/pulumi/pulumi-azure-native-sdk/logic/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := logic.NewIntegrationAccountCertificate(ctx, "integrationAccountCertificate", &logic.IntegrationAccountCertificateArgs{
			CertificateName:        pulumi.String("testCertificate"),
			IntegrationAccountName: pulumi.String("testIntegrationAccount"),
			Key: &logic.KeyVaultKeyReferenceArgs{
				KeyName: pulumi.String("<keyName>"),
				KeyVault: &logic.KeyVaultKeyReferenceKeyVaultArgs{
					Id: pulumi.String("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testResourceGroup/providers/microsoft.keyvault/vaults/<keyVaultName>"),
				},
				KeyVersion: pulumi.String("87d9764197604449b9b8eb7bd8710868"),
			},
			Location:          pulumi.String("brazilsouth"),
			PublicCertificate: pulumi.String("<publicCertificateValue>"),
			ResourceGroupName: pulumi.String("testResourceGroup"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.logic.IntegrationAccountCertificate;
import com.pulumi.azurenative.logic.IntegrationAccountCertificateArgs;
import com.pulumi.azurenative.logic.inputs.KeyVaultKeyReferenceArgs;
import com.pulumi.azurenative.logic.inputs.KeyVaultKeyReferenceKeyVaultArgs;
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 integrationAccountCertificate = new IntegrationAccountCertificate("integrationAccountCertificate", IntegrationAccountCertificateArgs.builder()
            .certificateName("testCertificate")
            .integrationAccountName("testIntegrationAccount")
            .key(KeyVaultKeyReferenceArgs.builder()
                .keyName("<keyName>")
                .keyVault(KeyVaultKeyReferenceKeyVaultArgs.builder()
                    .id("/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testResourceGroup/providers/microsoft.keyvault/vaults/<keyVaultName>")
                    .build())
                .keyVersion("87d9764197604449b9b8eb7bd8710868")
                .build())
            .location("brazilsouth")
            .publicCertificate("<publicCertificateValue>")
            .resourceGroupName("testResourceGroup")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const integrationAccountCertificate = new azure_native.logic.IntegrationAccountCertificate("integrationAccountCertificate", {
    certificateName: "testCertificate",
    integrationAccountName: "testIntegrationAccount",
    key: {
        keyName: "<keyName>",
        keyVault: {
            id: "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testResourceGroup/providers/microsoft.keyvault/vaults/<keyVaultName>",
        },
        keyVersion: "87d9764197604449b9b8eb7bd8710868",
    },
    location: "brazilsouth",
    publicCertificate: "<publicCertificateValue>",
    resourceGroupName: "testResourceGroup",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

integration_account_certificate = azure_native.logic.IntegrationAccountCertificate("integrationAccountCertificate",
    certificate_name="testCertificate",
    integration_account_name="testIntegrationAccount",
    key={
        "key_name": "<keyName>",
        "key_vault": {
            "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testResourceGroup/providers/microsoft.keyvault/vaults/<keyVaultName>",
        },
        "key_version": "87d9764197604449b9b8eb7bd8710868",
    },
    location="brazilsouth",
    public_certificate="<publicCertificateValue>",
    resource_group_name="testResourceGroup")
Copy
resources:
  integrationAccountCertificate:
    type: azure-native:logic:IntegrationAccountCertificate
    properties:
      certificateName: testCertificate
      integrationAccountName: testIntegrationAccount
      key:
        keyName: <keyName>
        keyVault:
          id: /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testResourceGroup/providers/microsoft.keyvault/vaults/<keyVaultName>
        keyVersion: 87d9764197604449b9b8eb7bd8710868
      location: brazilsouth
      publicCertificate: <publicCertificateValue>
      resourceGroupName: testResourceGroup
Copy

Create IntegrationAccountCertificate Resource

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

Constructor syntax

new IntegrationAccountCertificate(name: string, args: IntegrationAccountCertificateArgs, opts?: CustomResourceOptions);
@overload
def IntegrationAccountCertificate(resource_name: str,
                                  args: IntegrationAccountCertificateArgs,
                                  opts: Optional[ResourceOptions] = None)

@overload
def IntegrationAccountCertificate(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  integration_account_name: Optional[str] = None,
                                  resource_group_name: Optional[str] = None,
                                  certificate_name: Optional[str] = None,
                                  key: Optional[KeyVaultKeyReferenceArgs] = None,
                                  location: Optional[str] = None,
                                  metadata: Optional[Any] = None,
                                  public_certificate: Optional[str] = None,
                                  tags: Optional[Mapping[str, str]] = None)
func NewIntegrationAccountCertificate(ctx *Context, name string, args IntegrationAccountCertificateArgs, opts ...ResourceOption) (*IntegrationAccountCertificate, error)
public IntegrationAccountCertificate(string name, IntegrationAccountCertificateArgs args, CustomResourceOptions? opts = null)
public IntegrationAccountCertificate(String name, IntegrationAccountCertificateArgs args)
public IntegrationAccountCertificate(String name, IntegrationAccountCertificateArgs args, CustomResourceOptions options)
type: azure-native:logic:IntegrationAccountCertificate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IntegrationAccountCertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IntegrationAccountCertificateArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IntegrationAccountCertificateArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IntegrationAccountCertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IntegrationAccountCertificateArgs
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 integrationAccountCertificateResource = new AzureNative.Logic.IntegrationAccountCertificate("integrationAccountCertificateResource", new()
{
    IntegrationAccountName = "string",
    ResourceGroupName = "string",
    CertificateName = "string",
    Key = 
    {
        { "keyName", "string" },
        { "keyVault", 
        {
            { "id", "string" },
        } },
        { "keyVersion", "string" },
    },
    Location = "string",
    Metadata = "any",
    PublicCertificate = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := logic.NewIntegrationAccountCertificate(ctx, "integrationAccountCertificateResource", &logic.IntegrationAccountCertificateArgs{
	IntegrationAccountName: "string",
	ResourceGroupName:      "string",
	CertificateName:        "string",
	Key: map[string]interface{}{
		"keyName": "string",
		"keyVault": map[string]interface{}{
			"id": "string",
		},
		"keyVersion": "string",
	},
	Location:          "string",
	Metadata:          "any",
	PublicCertificate: "string",
	Tags: map[string]interface{}{
		"string": "string",
	},
})
Copy
var integrationAccountCertificateResource = new IntegrationAccountCertificate("integrationAccountCertificateResource", IntegrationAccountCertificateArgs.builder()
    .integrationAccountName("string")
    .resourceGroupName("string")
    .certificateName("string")
    .key(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .location("string")
    .metadata("any")
    .publicCertificate("string")
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
integration_account_certificate_resource = azure_native.logic.IntegrationAccountCertificate("integrationAccountCertificateResource",
    integration_account_name=string,
    resource_group_name=string,
    certificate_name=string,
    key={
        keyName: string,
        keyVault: {
            id: string,
        },
        keyVersion: string,
    },
    location=string,
    metadata=any,
    public_certificate=string,
    tags={
        string: string,
    })
Copy
const integrationAccountCertificateResource = new azure_native.logic.IntegrationAccountCertificate("integrationAccountCertificateResource", {
    integrationAccountName: "string",
    resourceGroupName: "string",
    certificateName: "string",
    key: {
        keyName: "string",
        keyVault: {
            id: "string",
        },
        keyVersion: "string",
    },
    location: "string",
    metadata: "any",
    publicCertificate: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:logic:IntegrationAccountCertificate
properties:
    certificateName: string
    integrationAccountName: string
    key:
        keyName: string
        keyVault:
            id: string
        keyVersion: string
    location: string
    metadata: any
    publicCertificate: string
    resourceGroupName: string
    tags:
        string: string
Copy

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

IntegrationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The integration account name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
CertificateName Changes to this property will trigger replacement. string
The integration account certificate name.
Key Pulumi.AzureNative.Logic.Inputs.KeyVaultKeyReference
The key details in the key vault.
Location string
The resource location.
Metadata object
The metadata.
PublicCertificate string
The public certificate.
Tags Dictionary<string, string>
The resource tags.
IntegrationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The integration account name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
CertificateName Changes to this property will trigger replacement. string
The integration account certificate name.
Key KeyVaultKeyReferenceArgs
The key details in the key vault.
Location string
The resource location.
Metadata interface{}
The metadata.
PublicCertificate string
The public certificate.
Tags map[string]string
The resource tags.
integrationAccountName
This property is required.
Changes to this property will trigger replacement.
String
The integration account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.
certificateName Changes to this property will trigger replacement. String
The integration account certificate name.
key KeyVaultKeyReference
The key details in the key vault.
location String
The resource location.
metadata Object
The metadata.
publicCertificate String
The public certificate.
tags Map<String,String>
The resource tags.
integrationAccountName
This property is required.
Changes to this property will trigger replacement.
string
The integration account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The resource group name.
certificateName Changes to this property will trigger replacement. string
The integration account certificate name.
key KeyVaultKeyReference
The key details in the key vault.
location string
The resource location.
metadata any
The metadata.
publicCertificate string
The public certificate.
tags {[key: string]: string}
The resource tags.
integration_account_name
This property is required.
Changes to this property will trigger replacement.
str
The integration account name.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The resource group name.
certificate_name Changes to this property will trigger replacement. str
The integration account certificate name.
key KeyVaultKeyReferenceArgs
The key details in the key vault.
location str
The resource location.
metadata Any
The metadata.
public_certificate str
The public certificate.
tags Mapping[str, str]
The resource tags.
integrationAccountName
This property is required.
Changes to this property will trigger replacement.
String
The integration account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The resource group name.
certificateName Changes to this property will trigger replacement. String
The integration account certificate name.
key Property Map
The key details in the key vault.
location String
The resource location.
metadata Any
The metadata.
publicCertificate String
The public certificate.
tags Map<String>
The resource tags.

Outputs

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

ChangedTime string
The changed time.
CreatedTime string
The created time.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Gets the resource name.
Type string
Gets the resource type.
ChangedTime string
The changed time.
CreatedTime string
The created time.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Gets the resource name.
Type string
Gets the resource type.
changedTime String
The changed time.
createdTime String
The created time.
id String
The provider-assigned unique ID for this managed resource.
name String
Gets the resource name.
type String
Gets the resource type.
changedTime string
The changed time.
createdTime string
The created time.
id string
The provider-assigned unique ID for this managed resource.
name string
Gets the resource name.
type string
Gets the resource type.
changed_time str
The changed time.
created_time str
The created time.
id str
The provider-assigned unique ID for this managed resource.
name str
Gets the resource name.
type str
Gets the resource type.
changedTime String
The changed time.
createdTime String
The created time.
id String
The provider-assigned unique ID for this managed resource.
name String
Gets the resource name.
type String
Gets the resource type.

Supporting Types

KeyVaultKeyReference
, KeyVaultKeyReferenceArgs

KeyName This property is required. string
The private key name in key vault.
KeyVault This property is required. Pulumi.AzureNative.Logic.Inputs.KeyVaultKeyReferenceKeyVault
The key vault reference.
KeyVersion string
The private key version in key vault.
KeyName This property is required. string
The private key name in key vault.
KeyVault This property is required. KeyVaultKeyReferenceKeyVault
The key vault reference.
KeyVersion string
The private key version in key vault.
keyName This property is required. String
The private key name in key vault.
keyVault This property is required. KeyVaultKeyReferenceKeyVault
The key vault reference.
keyVersion String
The private key version in key vault.
keyName This property is required. string
The private key name in key vault.
keyVault This property is required. KeyVaultKeyReferenceKeyVault
The key vault reference.
keyVersion string
The private key version in key vault.
key_name This property is required. str
The private key name in key vault.
key_vault This property is required. KeyVaultKeyReferenceKeyVault
The key vault reference.
key_version str
The private key version in key vault.
keyName This property is required. String
The private key name in key vault.
keyVault This property is required. Property Map
The key vault reference.
keyVersion String
The private key version in key vault.

KeyVaultKeyReferenceKeyVault
, KeyVaultKeyReferenceKeyVaultArgs

Id string
The resource id.
Id string
The resource id.
id String
The resource id.
id string
The resource id.
id str
The resource id.
id String
The resource id.

KeyVaultKeyReferenceResponse
, KeyVaultKeyReferenceResponseArgs

KeyName This property is required. string
The private key name in key vault.
KeyVault This property is required. Pulumi.AzureNative.Logic.Inputs.KeyVaultKeyReferenceResponseKeyVault
The key vault reference.
KeyVersion string
The private key version in key vault.
KeyName This property is required. string
The private key name in key vault.
KeyVault This property is required. KeyVaultKeyReferenceResponseKeyVault
The key vault reference.
KeyVersion string
The private key version in key vault.
keyName This property is required. String
The private key name in key vault.
keyVault This property is required. KeyVaultKeyReferenceResponseKeyVault
The key vault reference.
keyVersion String
The private key version in key vault.
keyName This property is required. string
The private key name in key vault.
keyVault This property is required. KeyVaultKeyReferenceResponseKeyVault
The key vault reference.
keyVersion string
The private key version in key vault.
key_name This property is required. str
The private key name in key vault.
key_vault This property is required. KeyVaultKeyReferenceResponseKeyVault
The key vault reference.
key_version str
The private key version in key vault.
keyName This property is required. String
The private key name in key vault.
keyVault This property is required. Property Map
The key vault reference.
keyVersion String
The private key version in key vault.

KeyVaultKeyReferenceResponseKeyVault
, KeyVaultKeyReferenceResponseKeyVaultArgs

Name This property is required. string
The resource name.
Type This property is required. string
The resource type.
Id string
The resource id.
Name This property is required. string
The resource name.
Type This property is required. string
The resource type.
Id string
The resource id.
name This property is required. String
The resource name.
type This property is required. String
The resource type.
id String
The resource id.
name This property is required. string
The resource name.
type This property is required. string
The resource type.
id string
The resource id.
name This property is required. str
The resource name.
type This property is required. str
The resource type.
id str
The resource id.
name This property is required. String
The resource name.
type This property is required. String
The resource type.
id String
The resource id.

Import

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

$ pulumi import azure-native:logic:IntegrationAccountCertificate testCertificate /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/integrationAccounts/{integrationAccountName}/certificates/{certificateName} 
Copy

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

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0