1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. AutonomousVmClusterSslCertificateManagement
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.Database.AutonomousVmClusterSslCertificateManagement

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This resource provides the Autonomous Vm Cluster Ssl Certificate Management resource in Oracle Cloud Infrastructure Database service.

    Rotates the SSL certificates for Autonomous Exadata VM cluster.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAutonomousVmClusterSslCertificateManagement = new oci.database.AutonomousVmClusterSslCertificateManagement("test_autonomous_vm_cluster_ssl_certificate_management", {
        autonomousVmClusterId: testAutonomousVmCluster.id,
        certificateGenerationType: autonomousVmClusterSslCertificateManagementCertificateGenerationType,
        caBundleId: testCaBundle.id,
        certificateAuthorityId: testCertificateAuthority.id,
        certificateId: testCertificate.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_autonomous_vm_cluster_ssl_certificate_management = oci.database.AutonomousVmClusterSslCertificateManagement("test_autonomous_vm_cluster_ssl_certificate_management",
        autonomous_vm_cluster_id=test_autonomous_vm_cluster["id"],
        certificate_generation_type=autonomous_vm_cluster_ssl_certificate_management_certificate_generation_type,
        ca_bundle_id=test_ca_bundle["id"],
        certificate_authority_id=test_certificate_authority["id"],
        certificate_id=test_certificate["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Database"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := Database.NewAutonomousVmClusterSslCertificateManagement(ctx, "test_autonomous_vm_cluster_ssl_certificate_management", &Database.AutonomousVmClusterSslCertificateManagementArgs{
    			AutonomousVmClusterId:     pulumi.Any(testAutonomousVmCluster.Id),
    			CertificateGenerationType: pulumi.Any(autonomousVmClusterSslCertificateManagementCertificateGenerationType),
    			CaBundleId:                pulumi.Any(testCaBundle.Id),
    			CertificateAuthorityId:    pulumi.Any(testCertificateAuthority.Id),
    			CertificateId:             pulumi.Any(testCertificate.Id),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testAutonomousVmClusterSslCertificateManagement = new Oci.Database.AutonomousVmClusterSslCertificateManagement("test_autonomous_vm_cluster_ssl_certificate_management", new()
        {
            AutonomousVmClusterId = testAutonomousVmCluster.Id,
            CertificateGenerationType = autonomousVmClusterSslCertificateManagementCertificateGenerationType,
            CaBundleId = testCaBundle.Id,
            CertificateAuthorityId = testCertificateAuthority.Id,
            CertificateId = testCertificate.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.Database.AutonomousVmClusterSslCertificateManagement;
    import com.pulumi.oci.Database.AutonomousVmClusterSslCertificateManagementArgs;
    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 testAutonomousVmClusterSslCertificateManagement = new AutonomousVmClusterSslCertificateManagement("testAutonomousVmClusterSslCertificateManagement", AutonomousVmClusterSslCertificateManagementArgs.builder()
                .autonomousVmClusterId(testAutonomousVmCluster.id())
                .certificateGenerationType(autonomousVmClusterSslCertificateManagementCertificateGenerationType)
                .caBundleId(testCaBundle.id())
                .certificateAuthorityId(testCertificateAuthority.id())
                .certificateId(testCertificate.id())
                .build());
    
        }
    }
    
    resources:
      testAutonomousVmClusterSslCertificateManagement:
        type: oci:Database:AutonomousVmClusterSslCertificateManagement
        name: test_autonomous_vm_cluster_ssl_certificate_management
        properties:
          autonomousVmClusterId: ${testAutonomousVmCluster.id}
          certificateGenerationType: ${autonomousVmClusterSslCertificateManagementCertificateGenerationType}
          caBundleId: ${testCaBundle.id}
          certificateAuthorityId: ${testCertificateAuthority.id}
          certificateId: ${testCertificate.id}
    

    Create AutonomousVmClusterSslCertificateManagement Resource

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

    Constructor syntax

    new AutonomousVmClusterSslCertificateManagement(name: string, args: AutonomousVmClusterSslCertificateManagementArgs, opts?: CustomResourceOptions);
    @overload
    def AutonomousVmClusterSslCertificateManagement(resource_name: str,
                                                    args: AutonomousVmClusterSslCertificateManagementArgs,
                                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def AutonomousVmClusterSslCertificateManagement(resource_name: str,
                                                    opts: Optional[ResourceOptions] = None,
                                                    autonomous_vm_cluster_id: Optional[str] = None,
                                                    certificate_generation_type: Optional[str] = None,
                                                    ca_bundle_id: Optional[str] = None,
                                                    certificate_authority_id: Optional[str] = None,
                                                    certificate_id: Optional[str] = None)
    func NewAutonomousVmClusterSslCertificateManagement(ctx *Context, name string, args AutonomousVmClusterSslCertificateManagementArgs, opts ...ResourceOption) (*AutonomousVmClusterSslCertificateManagement, error)
    public AutonomousVmClusterSslCertificateManagement(string name, AutonomousVmClusterSslCertificateManagementArgs args, CustomResourceOptions? opts = null)
    public AutonomousVmClusterSslCertificateManagement(String name, AutonomousVmClusterSslCertificateManagementArgs args)
    public AutonomousVmClusterSslCertificateManagement(String name, AutonomousVmClusterSslCertificateManagementArgs args, CustomResourceOptions options)
    
    type: oci:Database:AutonomousVmClusterSslCertificateManagement
    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 AutonomousVmClusterSslCertificateManagementArgs
    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 AutonomousVmClusterSslCertificateManagementArgs
    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 AutonomousVmClusterSslCertificateManagementArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AutonomousVmClusterSslCertificateManagementArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AutonomousVmClusterSslCertificateManagementArgs
    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 autonomousVmClusterSslCertificateManagementResource = new Oci.Database.AutonomousVmClusterSslCertificateManagement("autonomousVmClusterSslCertificateManagementResource", new()
    {
        AutonomousVmClusterId = "string",
        CertificateGenerationType = "string",
        CaBundleId = "string",
        CertificateAuthorityId = "string",
        CertificateId = "string",
    });
    
    example, err := Database.NewAutonomousVmClusterSslCertificateManagement(ctx, "autonomousVmClusterSslCertificateManagementResource", &Database.AutonomousVmClusterSslCertificateManagementArgs{
    	AutonomousVmClusterId:     pulumi.String("string"),
    	CertificateGenerationType: pulumi.String("string"),
    	CaBundleId:                pulumi.String("string"),
    	CertificateAuthorityId:    pulumi.String("string"),
    	CertificateId:             pulumi.String("string"),
    })
    
    var autonomousVmClusterSslCertificateManagementResource = new AutonomousVmClusterSslCertificateManagement("autonomousVmClusterSslCertificateManagementResource", AutonomousVmClusterSslCertificateManagementArgs.builder()
        .autonomousVmClusterId("string")
        .certificateGenerationType("string")
        .caBundleId("string")
        .certificateAuthorityId("string")
        .certificateId("string")
        .build());
    
    autonomous_vm_cluster_ssl_certificate_management_resource = oci.database.AutonomousVmClusterSslCertificateManagement("autonomousVmClusterSslCertificateManagementResource",
        autonomous_vm_cluster_id="string",
        certificate_generation_type="string",
        ca_bundle_id="string",
        certificate_authority_id="string",
        certificate_id="string")
    
    const autonomousVmClusterSslCertificateManagementResource = new oci.database.AutonomousVmClusterSslCertificateManagement("autonomousVmClusterSslCertificateManagementResource", {
        autonomousVmClusterId: "string",
        certificateGenerationType: "string",
        caBundleId: "string",
        certificateAuthorityId: "string",
        certificateId: "string",
    });
    
    type: oci:Database:AutonomousVmClusterSslCertificateManagement
    properties:
        autonomousVmClusterId: string
        caBundleId: string
        certificateAuthorityId: string
        certificateGenerationType: string
        certificateId: string
    

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

    AutonomousVmClusterId string
    The autonomous VM cluster OCID.
    CertificateGenerationType string
    Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
    CaBundleId string
    The OCID of the certificate bundle.
    CertificateAuthorityId string
    The OCID of the certificate authority.
    CertificateId string

    The OCID of the certificate to use.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AutonomousVmClusterId string
    The autonomous VM cluster OCID.
    CertificateGenerationType string
    Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
    CaBundleId string
    The OCID of the certificate bundle.
    CertificateAuthorityId string
    The OCID of the certificate authority.
    CertificateId string

    The OCID of the certificate to use.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    autonomousVmClusterId String
    The autonomous VM cluster OCID.
    certificateGenerationType String
    Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
    caBundleId String
    The OCID of the certificate bundle.
    certificateAuthorityId String
    The OCID of the certificate authority.
    certificateId String

    The OCID of the certificate to use.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    autonomousVmClusterId string
    The autonomous VM cluster OCID.
    certificateGenerationType string
    Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
    caBundleId string
    The OCID of the certificate bundle.
    certificateAuthorityId string
    The OCID of the certificate authority.
    certificateId string

    The OCID of the certificate to use.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    autonomous_vm_cluster_id str
    The autonomous VM cluster OCID.
    certificate_generation_type str
    Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
    ca_bundle_id str
    The OCID of the certificate bundle.
    certificate_authority_id str
    The OCID of the certificate authority.
    certificate_id str

    The OCID of the certificate to use.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    autonomousVmClusterId String
    The autonomous VM cluster OCID.
    certificateGenerationType String
    Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
    caBundleId String
    The OCID of the certificate bundle.
    certificateAuthorityId String
    The OCID of the certificate authority.
    certificateId String

    The OCID of the certificate to use.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AutonomousVmClusterSslCertificateManagement Resource

    Get an existing AutonomousVmClusterSslCertificateManagement resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AutonomousVmClusterSslCertificateManagementState, opts?: CustomResourceOptions): AutonomousVmClusterSslCertificateManagement
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            autonomous_vm_cluster_id: Optional[str] = None,
            ca_bundle_id: Optional[str] = None,
            certificate_authority_id: Optional[str] = None,
            certificate_generation_type: Optional[str] = None,
            certificate_id: Optional[str] = None) -> AutonomousVmClusterSslCertificateManagement
    func GetAutonomousVmClusterSslCertificateManagement(ctx *Context, name string, id IDInput, state *AutonomousVmClusterSslCertificateManagementState, opts ...ResourceOption) (*AutonomousVmClusterSslCertificateManagement, error)
    public static AutonomousVmClusterSslCertificateManagement Get(string name, Input<string> id, AutonomousVmClusterSslCertificateManagementState? state, CustomResourceOptions? opts = null)
    public static AutonomousVmClusterSslCertificateManagement get(String name, Output<String> id, AutonomousVmClusterSslCertificateManagementState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AutonomousVmClusterId string
    The autonomous VM cluster OCID.
    CaBundleId string
    The OCID of the certificate bundle.
    CertificateAuthorityId string
    The OCID of the certificate authority.
    CertificateGenerationType string
    Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
    CertificateId string

    The OCID of the certificate to use.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    AutonomousVmClusterId string
    The autonomous VM cluster OCID.
    CaBundleId string
    The OCID of the certificate bundle.
    CertificateAuthorityId string
    The OCID of the certificate authority.
    CertificateGenerationType string
    Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
    CertificateId string

    The OCID of the certificate to use.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    autonomousVmClusterId String
    The autonomous VM cluster OCID.
    caBundleId String
    The OCID of the certificate bundle.
    certificateAuthorityId String
    The OCID of the certificate authority.
    certificateGenerationType String
    Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
    certificateId String

    The OCID of the certificate to use.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    autonomousVmClusterId string
    The autonomous VM cluster OCID.
    caBundleId string
    The OCID of the certificate bundle.
    certificateAuthorityId string
    The OCID of the certificate authority.
    certificateGenerationType string
    Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
    certificateId string

    The OCID of the certificate to use.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    autonomous_vm_cluster_id str
    The autonomous VM cluster OCID.
    ca_bundle_id str
    The OCID of the certificate bundle.
    certificate_authority_id str
    The OCID of the certificate authority.
    certificate_generation_type str
    Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
    certificate_id str

    The OCID of the certificate to use.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    autonomousVmClusterId String
    The autonomous VM cluster OCID.
    caBundleId String
    The OCID of the certificate bundle.
    certificateAuthorityId String
    The OCID of the certificate authority.
    certificateGenerationType String
    Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
    certificateId String

    The OCID of the certificate to use.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Import

    Import is not supported for this resource.

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

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi