oci.Database.AutonomousVmClusterOrdsCertificateManagement
Explore with Pulumi AI
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
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testAutonomousVmClusterOrdsCertificateManagement = new Oci.Database.AutonomousVmClusterOrdsCertificateManagement("testAutonomousVmClusterOrdsCertificateManagement", new()
{
AutonomousVmClusterId = oci_database_autonomous_vm_cluster.Test_autonomous_vm_cluster.Id,
CertificateGenerationType = @var.Autonomous_vm_cluster_ords_certificate_management_certificate_generation_type,
CaBundleId = oci_certificates_management_ca_bundle.Test_ca_bundle.Id,
CertificateAuthorityId = oci_certificates_management_certificate_authority.Test_certificate_authority.Id,
CertificateId = oci_apigateway_certificate.Test_certificate.Id,
});
});
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Database"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Database.NewAutonomousVmClusterOrdsCertificateManagement(ctx, "testAutonomousVmClusterOrdsCertificateManagement", &Database.AutonomousVmClusterOrdsCertificateManagementArgs{
AutonomousVmClusterId: pulumi.Any(oci_database_autonomous_vm_cluster.Test_autonomous_vm_cluster.Id),
CertificateGenerationType: pulumi.Any(_var.Autonomous_vm_cluster_ords_certificate_management_certificate_generation_type),
CaBundleId: pulumi.Any(oci_certificates_management_ca_bundle.Test_ca_bundle.Id),
CertificateAuthorityId: pulumi.Any(oci_certificates_management_certificate_authority.Test_certificate_authority.Id),
CertificateId: pulumi.Any(oci_apigateway_certificate.Test_certificate.Id),
})
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.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(oci_database_autonomous_vm_cluster.test_autonomous_vm_cluster().id())
.certificateGenerationType(var_.autonomous_vm_cluster_ords_certificate_management_certificate_generation_type())
.caBundleId(oci_certificates_management_ca_bundle.test_ca_bundle().id())
.certificateAuthorityId(oci_certificates_management_certificate_authority.test_certificate_authority().id())
.certificateId(oci_apigateway_certificate.test_certificate().id())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_autonomous_vm_cluster_ords_certificate_management = oci.database.AutonomousVmClusterOrdsCertificateManagement("testAutonomousVmClusterOrdsCertificateManagement",
autonomous_vm_cluster_id=oci_database_autonomous_vm_cluster["test_autonomous_vm_cluster"]["id"],
certificate_generation_type=var["autonomous_vm_cluster_ords_certificate_management_certificate_generation_type"],
ca_bundle_id=oci_certificates_management_ca_bundle["test_ca_bundle"]["id"],
certificate_authority_id=oci_certificates_management_certificate_authority["test_certificate_authority"]["id"],
certificate_id=oci_apigateway_certificate["test_certificate"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAutonomousVmClusterOrdsCertificateManagement = new oci.database.AutonomousVmClusterOrdsCertificateManagement("testAutonomousVmClusterOrdsCertificateManagement", {
autonomousVmClusterId: oci_database_autonomous_vm_cluster.test_autonomous_vm_cluster.id,
certificateGenerationType: _var.autonomous_vm_cluster_ords_certificate_management_certificate_generation_type,
caBundleId: oci_certificates_management_ca_bundle.test_ca_bundle.id,
certificateAuthorityId: oci_certificates_management_certificate_authority.test_certificate_authority.id,
certificateId: oci_apigateway_certificate.test_certificate.id,
});
resources:
testAutonomousVmClusterOrdsCertificateManagement:
type: oci:Database:AutonomousVmClusterOrdsCertificateManagement
properties:
#Required
autonomousVmClusterId: ${oci_database_autonomous_vm_cluster.test_autonomous_vm_cluster.id}
certificateGenerationType: ${var.autonomous_vm_cluster_ords_certificate_management_certificate_generation_type}
#Optional
caBundleId: ${oci_certificates_management_ca_bundle.test_ca_bundle.id}
certificateAuthorityId: ${oci_certificates_management_certificate_authority.test_certificate_authority.id}
certificateId: ${oci_apigateway_certificate.test_certificate.id}
Create AutonomousVmClusterOrdsCertificateManagement Resource
new AutonomousVmClusterOrdsCertificateManagement(name: string, args: AutonomousVmClusterOrdsCertificateManagementArgs, opts?: CustomResourceOptions);
@overload
def AutonomousVmClusterOrdsCertificateManagement(resource_name: 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)
@overload
def AutonomousVmClusterOrdsCertificateManagement(resource_name: str,
args: AutonomousVmClusterOrdsCertificateManagementArgs,
opts: Optional[ResourceOptions] = 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.
- 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.
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
The AutonomousVmClusterOrdsCertificateManagement resource accepts the following input properties:
- Autonomous
Vm stringCluster Id The autonomous VM cluster OCID.
- Certificate
Generation stringType Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
- Ca
Bundle stringId The OCID of the certificate bundle.
- string
The OCID of the certificate authority.
- Certificate
Id 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 stringCluster Id The autonomous VM cluster OCID.
- Certificate
Generation stringType Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
- Ca
Bundle stringId The OCID of the certificate bundle.
- string
The OCID of the certificate authority.
- Certificate
Id 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 StringCluster Id The autonomous VM cluster OCID.
- certificate
Generation StringType Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
- ca
Bundle StringId The OCID of the certificate bundle.
- String
The OCID of the certificate authority.
- certificate
Id 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 stringCluster Id The autonomous VM cluster OCID.
- certificate
Generation stringType Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
- ca
Bundle stringId The OCID of the certificate bundle.
- string
The OCID of the certificate authority.
- certificate
Id 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_ strcluster_ id The autonomous VM cluster OCID.
- certificate_
generation_ strtype Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
- ca_
bundle_ strid The OCID of the certificate bundle.
- 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
- autonomous
Vm StringCluster Id The autonomous VM cluster OCID.
- certificate
Generation StringType Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
- ca
Bundle StringId The OCID of the certificate bundle.
- String
The OCID of the certificate authority.
- certificate
Id 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.
- Autonomous
Vm stringCluster Id The autonomous VM cluster OCID.
- Ca
Bundle stringId The OCID of the certificate bundle.
- string
The OCID of the certificate authority.
- Certificate
Generation stringType Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
- Certificate
Id 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 stringCluster Id The autonomous VM cluster OCID.
- Ca
Bundle stringId The OCID of the certificate bundle.
- string
The OCID of the certificate authority.
- Certificate
Generation stringType Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
- Certificate
Id 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 StringCluster Id The autonomous VM cluster OCID.
- ca
Bundle StringId The OCID of the certificate bundle.
- String
The OCID of the certificate authority.
- certificate
Generation StringType Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
- certificate
Id 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 stringCluster Id The autonomous VM cluster OCID.
- ca
Bundle stringId The OCID of the certificate bundle.
- string
The OCID of the certificate authority.
- certificate
Generation stringType Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
- certificate
Id 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_ strcluster_ id The autonomous VM cluster OCID.
- ca_
bundle_ strid The OCID of the certificate bundle.
- str
The OCID of the certificate authority.
- certificate_
generation_ strtype 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
- autonomous
Vm StringCluster Id The autonomous VM cluster OCID.
- ca
Bundle StringId The OCID of the certificate bundle.
- String
The OCID of the certificate authority.
- certificate
Generation StringType Specify SYSTEM for using Oracle managed certificates. Specify BYOC when you want to bring your own certificate.
- certificate
Id 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.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.