1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. Database
  5. AutonomousVmClusterOrdsCertificateManagement
Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi

oci.Database.AutonomousVmClusterOrdsCertificateManagement

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi

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

    Rotates the Oracle REST Data Services (ORDS) certificates for Autonomous Exadata VM cluster.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAutonomousVmClusterOrdsCertificateManagement = new oci.database.AutonomousVmClusterOrdsCertificateManagement("test_autonomous_vm_cluster_ords_certificate_management", {
        autonomousVmClusterId: testAutonomousVmCluster.id,
        certificateGenerationType: autonomousVmClusterOrdsCertificateManagementCertificateGenerationType,
        caBundleId: testCaBundle.id,
        certificateAuthorityId: testCertificateAuthority.id,
        certificateId: testCertificate.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_autonomous_vm_cluster_ords_certificate_management = oci.database.AutonomousVmClusterOrdsCertificateManagement("test_autonomous_vm_cluster_ords_certificate_management",
        autonomous_vm_cluster_id=test_autonomous_vm_cluster["id"],
        certificate_generation_type=autonomous_vm_cluster_ords_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.NewAutonomousVmClusterOrdsCertificateManagement(ctx, "test_autonomous_vm_cluster_ords_certificate_management", &Database.AutonomousVmClusterOrdsCertificateManagementArgs{
    			AutonomousVmClusterId:     pulumi.Any(testAutonomousVmCluster.Id),
    			CertificateGenerationType: pulumi.Any(autonomousVmClusterOrdsCertificateManagementCertificateGenerationType),
    			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 testAutonomousVmClusterOrdsCertificateManagement = new Oci.Database.AutonomousVmClusterOrdsCertificateManagement("test_autonomous_vm_cluster_ords_certificate_management", new()
        {
            AutonomousVmClusterId = testAutonomousVmCluster.Id,
            CertificateGenerationType = autonomousVmClusterOrdsCertificateManagementCertificateGenerationType,
            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.AutonomousVmClusterOrdsCertificateManagement;
    import com.pulumi.oci.Database.AutonomousVmClusterOrdsCertificateManagementArgs;
    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 testAutonomousVmClusterOrdsCertificateManagement = new AutonomousVmClusterOrdsCertificateManagement("testAutonomousVmClusterOrdsCertificateManagement", AutonomousVmClusterOrdsCertificateManagementArgs.builder()
                .autonomousVmClusterId(testAutonomousVmCluster.id())
                .certificateGenerationType(autonomousVmClusterOrdsCertificateManagementCertificateGenerationType)
                .caBundleId(testCaBundle.id())
                .certificateAuthorityId(testCertificateAuthority.id())
                .certificateId(testCertificate.id())
                .build());
    
        }
    }
    
    resources:
      testAutonomousVmClusterOrdsCertificateManagement:
        type: oci:Database:AutonomousVmClusterOrdsCertificateManagement
        name: test_autonomous_vm_cluster_ords_certificate_management
        properties:
          autonomousVmClusterId: ${testAutonomousVmCluster.id}
          certificateGenerationType: ${autonomousVmClusterOrdsCertificateManagementCertificateGenerationType}
          caBundleId: ${testCaBundle.id}
          certificateAuthorityId: ${testCertificateAuthority.id}
          certificateId: ${testCertificate.id}
    

    Create AutonomousVmClusterOrdsCertificateManagement Resource

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

    Constructor syntax

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

    AutonomousVmClusterOrdsCertificateManagement 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 AutonomousVmClusterOrdsCertificateManagement 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 AutonomousVmClusterOrdsCertificateManagement 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 AutonomousVmClusterOrdsCertificateManagement Resource

    Get an existing AutonomousVmClusterOrdsCertificateManagement 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?: AutonomousVmClusterOrdsCertificateManagementState, opts?: CustomResourceOptions): AutonomousVmClusterOrdsCertificateManagement
    @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) -> AutonomousVmClusterOrdsCertificateManagement
    func GetAutonomousVmClusterOrdsCertificateManagement(ctx *Context, name string, id IDInput, state *AutonomousVmClusterOrdsCertificateManagementState, opts ...ResourceOption) (*AutonomousVmClusterOrdsCertificateManagement, error)
    public static AutonomousVmClusterOrdsCertificateManagement Get(string name, Input<string> id, AutonomousVmClusterOrdsCertificateManagementState? state, CustomResourceOptions? opts = null)
    public static AutonomousVmClusterOrdsCertificateManagement get(String name, Output<String> id, AutonomousVmClusterOrdsCertificateManagementState 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.18.0 published on Friday, Nov 22, 2024 by Pulumi