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
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testAutonomousVmClusterSslCertificateManagement = new Oci.Database.AutonomousVmClusterSslCertificateManagement("testAutonomousVmClusterSslCertificateManagement", new()
{
AutonomousVmClusterId = oci_database_autonomous_vm_cluster.Test_autonomous_vm_cluster.Id,
CertificateGenerationType = @var.Autonomous_vm_cluster_ssl_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.NewAutonomousVmClusterSslCertificateManagement(ctx, "testAutonomousVmClusterSslCertificateManagement", &Database.AutonomousVmClusterSslCertificateManagementArgs{
AutonomousVmClusterId: pulumi.Any(oci_database_autonomous_vm_cluster.Test_autonomous_vm_cluster.Id),
CertificateGenerationType: pulumi.Any(_var.Autonomous_vm_cluster_ssl_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.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(oci_database_autonomous_vm_cluster.test_autonomous_vm_cluster().id())
.certificateGenerationType(var_.autonomous_vm_cluster_ssl_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_ssl_certificate_management = oci.database.AutonomousVmClusterSslCertificateManagement("testAutonomousVmClusterSslCertificateManagement",
autonomous_vm_cluster_id=oci_database_autonomous_vm_cluster["test_autonomous_vm_cluster"]["id"],
certificate_generation_type=var["autonomous_vm_cluster_ssl_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 testAutonomousVmClusterSslCertificateManagement = new oci.database.AutonomousVmClusterSslCertificateManagement("testAutonomousVmClusterSslCertificateManagement", {
autonomousVmClusterId: oci_database_autonomous_vm_cluster.test_autonomous_vm_cluster.id,
certificateGenerationType: _var.autonomous_vm_cluster_ssl_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:
testAutonomousVmClusterSslCertificateManagement:
type: oci:Database:AutonomousVmClusterSslCertificateManagement
properties:
#Required
autonomousVmClusterId: ${oci_database_autonomous_vm_cluster.test_autonomous_vm_cluster.id}
certificateGenerationType: ${var.autonomous_vm_cluster_ssl_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 AutonomousVmClusterSslCertificateManagement Resource
new AutonomousVmClusterSslCertificateManagement(name: string, args: AutonomousVmClusterSslCertificateManagementArgs, opts?: CustomResourceOptions);
@overload
def AutonomousVmClusterSslCertificateManagement(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 AutonomousVmClusterSslCertificateManagement(resource_name: str,
args: AutonomousVmClusterSslCertificateManagementArgs,
opts: Optional[ResourceOptions] = 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.
- 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.
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.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.