CertificateProfile

class CertificateProfile : KotlinCustomResource

Certificate profile resource. Uses Azure REST API version 2024-09-30-preview. In version 2.x of the Azure Native provider, it used API version 2024-02-05-preview. Other available API versions: 2024-02-05-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native codesigning [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

Create a certificate profile.

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var certificateProfile = new AzureNative.CodeSigning.CertificateProfile("certificateProfile", new()
{
AccountName = "MyAccount",
IdentityValidationId = "00000000-1234-5678-3333-444444444444",
IncludePostalCode = true,
IncludeStreetAddress = false,
ProfileName = "profileA",
ProfileType = AzureNative.CodeSigning.ProfileType.PublicTrust,
ResourceGroupName = "MyResourceGroup",
});
});
package main
import (
codesigning "github.com/pulumi/pulumi-azure-native-sdk/codesigning/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := codesigning.NewCertificateProfile(ctx, "certificateProfile", &codesigning.CertificateProfileArgs{
AccountName: pulumi.String("MyAccount"),
IdentityValidationId: pulumi.String("00000000-1234-5678-3333-444444444444"),
IncludePostalCode: pulumi.Bool(true),
IncludeStreetAddress: pulumi.Bool(false),
ProfileName: pulumi.String("profileA"),
ProfileType: pulumi.String(codesigning.ProfileTypePublicTrust),
ResourceGroupName: pulumi.String("MyResourceGroup"),
})
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.codesigning.CertificateProfile;
import com.pulumi.azurenative.codesigning.CertificateProfileArgs;
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 certificateProfile = new CertificateProfile("certificateProfile", CertificateProfileArgs.builder()
.accountName("MyAccount")
.identityValidationId("00000000-1234-5678-3333-444444444444")
.includePostalCode(true)
.includeStreetAddress(false)
.profileName("profileA")
.profileType("PublicTrust")
.resourceGroupName("MyResourceGroup")
.build());
}
}

Import

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

$ pulumi import azure-native:codesigning:CertificateProfile profileA /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CodeSigning/codeSigningAccounts/{accountName}/certificateProfiles/{profileName}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Identity validation id used for the certificate subject name.

Link copied to clipboard
val includeCity: Output<Boolean>?

Whether to include L in the certificate subject name. Applicable only for private trust, private trust ci profile types

Link copied to clipboard
val includeCountry: Output<Boolean>?

Whether to include C in the certificate subject name. Applicable only for private trust, private trust ci profile types

Link copied to clipboard

Whether to include PC in the certificate subject name.

Link copied to clipboard
val includeState: Output<Boolean>?

Whether to include S in the certificate subject name. Applicable only for private trust, private trust ci profile types

Link copied to clipboard

Whether to include STREET in the certificate subject name.

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard
val profileType: Output<String>

Profile type of the certificate.

Link copied to clipboard

Status of the current operation on certificate profile.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val status: Output<String>

Status of the certificate profile.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>