1. Packages
  2. Azure Native
  3. API Docs
  4. logic
  5. IntegrationAccountCertificate
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.logic.IntegrationAccountCertificate

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

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

    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 string
    The unique name of the resource.
    args IntegrationAccountCertificateArgs
    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 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 string
    The unique name of the resource.
    args IntegrationAccountCertificateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IntegrationAccountCertificateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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 = new AzureNative.Logic.Inputs.KeyVaultKeyReferenceArgs
        {
            KeyName = "string",
            KeyVault = new AzureNative.Logic.Inputs.KeyVaultKeyReferenceKeyVaultArgs
            {
                Id = "string",
            },
            KeyVersion = "string",
        },
        Location = "string",
        Metadata = "any",
        PublicCertificate = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := logic.NewIntegrationAccountCertificate(ctx, "integrationAccountCertificateResource", &logic.IntegrationAccountCertificateArgs{
    	IntegrationAccountName: pulumi.String("string"),
    	ResourceGroupName:      pulumi.String("string"),
    	CertificateName:        pulumi.String("string"),
    	Key: &logic.KeyVaultKeyReferenceArgs{
    		KeyName: pulumi.String("string"),
    		KeyVault: &logic.KeyVaultKeyReferenceKeyVaultArgs{
    			Id: pulumi.String("string"),
    		},
    		KeyVersion: pulumi.String("string"),
    	},
    	Location:          pulumi.String("string"),
    	Metadata:          pulumi.Any("any"),
    	PublicCertificate: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var integrationAccountCertificateResource = new IntegrationAccountCertificate("integrationAccountCertificateResource", IntegrationAccountCertificateArgs.builder()
        .integrationAccountName("string")
        .resourceGroupName("string")
        .certificateName("string")
        .key(KeyVaultKeyReferenceArgs.builder()
            .keyName("string")
            .keyVault(KeyVaultKeyReferenceKeyVaultArgs.builder()
                .id("string")
                .build())
            .keyVersion("string")
            .build())
        .location("string")
        .metadata("any")
        .publicCertificate("string")
        .tags(Map.of("string", "string"))
        .build());
    
    integration_account_certificate_resource = azure_native.logic.IntegrationAccountCertificate("integrationAccountCertificateResource",
        integration_account_name="string",
        resource_group_name="string",
        certificate_name="string",
        key={
            "key_name": "string",
            "key_vault": {
                "id": "string",
            },
            "key_version": "string",
        },
        location="string",
        metadata="any",
        public_certificate="string",
        tags={
            "string": "string",
        })
    
    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",
        },
    });
    
    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
    

    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 string
    The integration account name.
    ResourceGroupName string
    The resource group name.
    CertificateName 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 string
    The integration account name.
    ResourceGroupName string
    The resource group name.
    CertificateName 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 String
    The integration account name.
    resourceGroupName String
    The resource group name.
    certificateName 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 string
    The integration account name.
    resourceGroupName string
    The resource group name.
    certificateName 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 str
    The integration account name.
    resource_group_name str
    The resource group name.
    certificate_name 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 String
    The integration account name.
    resourceGroupName String
    The resource group name.
    certificateName 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 string
    The private key name in key vault.
    KeyVault Pulumi.AzureNative.Logic.Inputs.KeyVaultKeyReferenceKeyVault
    The key vault reference.
    KeyVersion string
    The private key version in key vault.
    KeyName string
    The private key name in key vault.
    KeyVault KeyVaultKeyReferenceKeyVault
    The key vault reference.
    KeyVersion string
    The private key version in key vault.
    keyName String
    The private key name in key vault.
    keyVault KeyVaultKeyReferenceKeyVault
    The key vault reference.
    keyVersion String
    The private key version in key vault.
    keyName string
    The private key name in key vault.
    keyVault KeyVaultKeyReferenceKeyVault
    The key vault reference.
    keyVersion string
    The private key version in key vault.
    key_name str
    The private key name in key vault.
    key_vault KeyVaultKeyReferenceKeyVault
    The key vault reference.
    key_version str
    The private key version in key vault.
    keyName String
    The private key name in key vault.
    keyVault 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 string
    The private key name in key vault.
    KeyVault Pulumi.AzureNative.Logic.Inputs.KeyVaultKeyReferenceResponseKeyVault
    The key vault reference.
    KeyVersion string
    The private key version in key vault.
    KeyName string
    The private key name in key vault.
    KeyVault KeyVaultKeyReferenceResponseKeyVault
    The key vault reference.
    KeyVersion string
    The private key version in key vault.
    keyName String
    The private key name in key vault.
    keyVault KeyVaultKeyReferenceResponseKeyVault
    The key vault reference.
    keyVersion String
    The private key version in key vault.
    keyName string
    The private key name in key vault.
    keyVault KeyVaultKeyReferenceResponseKeyVault
    The key vault reference.
    keyVersion string
    The private key version in key vault.
    key_name str
    The private key name in key vault.
    key_vault KeyVaultKeyReferenceResponseKeyVault
    The key vault reference.
    key_version str
    The private key version in key vault.
    keyName String
    The private key name in key vault.
    keyVault Property Map
    The key vault reference.
    keyVersion String
    The private key version in key vault.

    KeyVaultKeyReferenceResponseKeyVault, KeyVaultKeyReferenceResponseKeyVaultArgs

    Name string
    The resource name.
    Type string
    The resource type.
    Id string
    The resource id.
    Name string
    The resource name.
    Type string
    The resource type.
    Id string
    The resource id.
    name String
    The resource name.
    type String
    The resource type.
    id String
    The resource id.
    name string
    The resource name.
    type string
    The resource type.
    id string
    The resource id.
    name str
    The resource name.
    type str
    The resource type.
    id str
    The resource id.
    name String
    The resource name.
    type 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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi