azure-native.logic.IntegrationAccountCertificate
Explore with Pulumi AI
The integration account certificate. API Version: 2019-05-01.
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"
"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.KeyVaultKeyReferenceResponse{
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 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(Map.ofEntries(
Map.entry("keyName", "<keyName>"),
Map.entry("keyVault", Map.of("id", "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testResourceGroup/providers/microsoft.keyvault/vaults/<keyVaultName>")),
Map.entry("keyVersion", "87d9764197604449b9b8eb7bd8710868")
))
.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=azure_native.logic.KeyVaultKeyReferenceResponseArgs(
key_name="<keyName>",
key_vault=azure_native.logic.KeyVaultKeyReferenceKeyVaultArgs(
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 =
{
{ "keyName", "string" },
{ "keyVault",
{
{ "id", "string" },
} },
{ "keyVersion", "string" },
},
Location = "string",
Metadata = "any",
PublicCertificate = "string",
Tags =
{
{ "string", "string" },
},
});
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",
},
})
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());
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,
})
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
The IntegrationAccountCertificate resource accepts the following input properties:
- Integration
Account stringName - The integration account name.
- Resource
Group stringName - The resource group name.
- Certificate
Name string - The integration account certificate name.
- Key
Pulumi.
Azure Native. Logic. Inputs. Key Vault Key Reference - The key details in the key vault.
- Location string
- The resource location.
- Metadata object
- The metadata.
- Public
Certificate string - The public certificate.
- Dictionary<string, string>
- The resource tags.
- Integration
Account stringName - The integration account name.
- Resource
Group stringName - The resource group name.
- Certificate
Name string - The integration account certificate name.
- Key
Key
Vault Key Reference Args - The key details in the key vault.
- Location string
- The resource location.
- Metadata interface{}
- The metadata.
- Public
Certificate string - The public certificate.
- map[string]string
- The resource tags.
- integration
Account StringName - The integration account name.
- resource
Group StringName - The resource group name.
- certificate
Name String - The integration account certificate name.
- key
Key
Vault Key Reference - The key details in the key vault.
- location String
- The resource location.
- metadata Object
- The metadata.
- public
Certificate String - The public certificate.
- Map<String,String>
- The resource tags.
- integration
Account stringName - The integration account name.
- resource
Group stringName - The resource group name.
- certificate
Name string - The integration account certificate name.
- key
Key
Vault Key Reference - The key details in the key vault.
- location string
- The resource location.
- metadata any
- The metadata.
- public
Certificate string - The public certificate.
- {[key: string]: string}
- The resource tags.
- integration_
account_ strname - The integration account name.
- resource_
group_ strname - The resource group name.
- certificate_
name str - The integration account certificate name.
- key
Key
Vault Key Reference Args - The key details in the key vault.
- location str
- The resource location.
- metadata Any
- The metadata.
- public_
certificate str - The public certificate.
- Mapping[str, str]
- The resource tags.
- integration
Account StringName - The integration account name.
- resource
Group StringName - The resource group name.
- certificate
Name 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.
- public
Certificate String - The public certificate.
- Map<String>
- The resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationAccountCertificate resource produces the following output properties:
- Changed
Time string - The changed time.
- Created
Time 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 string - The changed time.
- Created
Time 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 String - The changed time.
- created
Time 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 string - The changed time.
- created
Time 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.
- changed
Time String - The changed time.
- created
Time 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
- Key
Name string - The private key name in key vault.
- Key
Vault Pulumi.Azure Native. Logic. Inputs. Key Vault Key Reference Key Vault - The key vault reference.
- Key
Version string - The private key version in key vault.
- Key
Name string - The private key name in key vault.
- Key
Vault KeyVault Key Reference Key Vault - The key vault reference.
- Key
Version string - The private key version in key vault.
- key
Name String - The private key name in key vault.
- key
Vault KeyVault Key Reference Key Vault - The key vault reference.
- key
Version String - The private key version in key vault.
- key
Name string - The private key name in key vault.
- key
Vault KeyVault Key Reference Key Vault - The key vault reference.
- key
Version string - The private key version in key vault.
- key_
name str - The private key name in key vault.
- key_
vault KeyVault Key Reference Key Vault - The key vault reference.
- key_
version str - The private key version in key vault.
- key
Name String - The private key name in key vault.
- key
Vault Property Map - The key vault reference.
- key
Version 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
- Key
Name string - The private key name in key vault.
- Key
Vault Pulumi.Azure Native. Logic. Inputs. Key Vault Key Reference Response Key Vault - The key vault reference.
- Key
Version string - The private key version in key vault.
- Key
Name string - The private key name in key vault.
- Key
Vault KeyVault Key Reference Response Key Vault - The key vault reference.
- Key
Version string - The private key version in key vault.
- key
Name String - The private key name in key vault.
- key
Vault KeyVault Key Reference Response Key Vault - The key vault reference.
- key
Version String - The private key version in key vault.
- key
Name string - The private key name in key vault.
- key
Vault KeyVault Key Reference Response Key Vault - The key vault reference.
- key
Version string - The private key version in key vault.
- key_
name str - The private key name in key vault.
- key_
vault KeyVault Key Reference Response Key Vault - The key vault reference.
- key_
version str - The private key version in key vault.
- key
Name String - The private key name in key vault.
- key
Vault Property Map - The key vault reference.
- key
Version String - The private key version in key vault.
KeyVaultKeyReferenceResponseKeyVault, KeyVaultKeyReferenceResponseKeyVaultArgs
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:logic:IntegrationAccountCertificate testCertificate /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testResourceGroup/providers/Microsoft.Logic/integrationAccounts/testIntegrationAccount/certificates/testCertificate
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