oci.Database.AutonomousVmClusterSslCertificateManagement
Explore with Pulumi AI
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
The AutonomousVmClusterSslCertificateManagement 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 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.
- 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.
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.