1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ServiceMesh
  5. getVirtualServices
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

oci.ServiceMesh.getVirtualServices

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi

    This data source provides the list of Virtual Services in Oracle Cloud Infrastructure Service Mesh service.

    Returns a list of VirtualService objects.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testVirtualServices = oci.ServiceMesh.getVirtualServices({
        compartmentId: _var.compartment_id,
        id: _var.virtual_service_id,
        meshId: oci_service_mesh_mesh.test_mesh.id,
        name: _var.virtual_service_name,
        state: _var.virtual_service_state,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_virtual_services = oci.ServiceMesh.get_virtual_services(compartment_id=var["compartment_id"],
        id=var["virtual_service_id"],
        mesh_id=oci_service_mesh_mesh["test_mesh"]["id"],
        name=var["virtual_service_name"],
        state=var["virtual_service_state"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/ServiceMesh"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ServiceMesh.GetVirtualServices(ctx, &servicemesh.GetVirtualServicesArgs{
    			CompartmentId: _var.Compartment_id,
    			Id:            pulumi.StringRef(_var.Virtual_service_id),
    			MeshId:        pulumi.StringRef(oci_service_mesh_mesh.Test_mesh.Id),
    			Name:          pulumi.StringRef(_var.Virtual_service_name),
    			State:         pulumi.StringRef(_var.Virtual_service_state),
    		}, nil)
    		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 testVirtualServices = Oci.ServiceMesh.GetVirtualServices.Invoke(new()
        {
            CompartmentId = @var.Compartment_id,
            Id = @var.Virtual_service_id,
            MeshId = oci_service_mesh_mesh.Test_mesh.Id,
            Name = @var.Virtual_service_name,
            State = @var.Virtual_service_state,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.ServiceMesh.ServiceMeshFunctions;
    import com.pulumi.oci.ServiceMesh.inputs.GetVirtualServicesArgs;
    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) {
            final var testVirtualServices = ServiceMeshFunctions.getVirtualServices(GetVirtualServicesArgs.builder()
                .compartmentId(var_.compartment_id())
                .id(var_.virtual_service_id())
                .meshId(oci_service_mesh_mesh.test_mesh().id())
                .name(var_.virtual_service_name())
                .state(var_.virtual_service_state())
                .build());
    
        }
    }
    
    variables:
      testVirtualServices:
        fn::invoke:
          Function: oci:ServiceMesh:getVirtualServices
          Arguments:
            compartmentId: ${var.compartment_id}
            id: ${var.virtual_service_id}
            meshId: ${oci_service_mesh_mesh.test_mesh.id}
            name: ${var.virtual_service_name}
            state: ${var.virtual_service_state}
    

    Using getVirtualServices

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getVirtualServices(args: GetVirtualServicesArgs, opts?: InvokeOptions): Promise<GetVirtualServicesResult>
    function getVirtualServicesOutput(args: GetVirtualServicesOutputArgs, opts?: InvokeOptions): Output<GetVirtualServicesResult>
    def get_virtual_services(compartment_id: Optional[str] = None,
                             filters: Optional[Sequence[_servicemesh.GetVirtualServicesFilter]] = None,
                             id: Optional[str] = None,
                             mesh_id: Optional[str] = None,
                             name: Optional[str] = None,
                             state: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetVirtualServicesResult
    def get_virtual_services_output(compartment_id: Optional[pulumi.Input[str]] = None,
                             filters: Optional[pulumi.Input[Sequence[pulumi.Input[_servicemesh.GetVirtualServicesFilterArgs]]]] = None,
                             id: Optional[pulumi.Input[str]] = None,
                             mesh_id: Optional[pulumi.Input[str]] = None,
                             name: Optional[pulumi.Input[str]] = None,
                             state: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetVirtualServicesResult]
    func GetVirtualServices(ctx *Context, args *GetVirtualServicesArgs, opts ...InvokeOption) (*GetVirtualServicesResult, error)
    func GetVirtualServicesOutput(ctx *Context, args *GetVirtualServicesOutputArgs, opts ...InvokeOption) GetVirtualServicesResultOutput

    > Note: This function is named GetVirtualServices in the Go SDK.

    public static class GetVirtualServices 
    {
        public static Task<GetVirtualServicesResult> InvokeAsync(GetVirtualServicesArgs args, InvokeOptions? opts = null)
        public static Output<GetVirtualServicesResult> Invoke(GetVirtualServicesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetVirtualServicesResult> getVirtualServices(GetVirtualServicesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:ServiceMesh/getVirtualServices:getVirtualServices
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The ID of the compartment in which to list resources.
    Filters List<GetVirtualServicesFilter>
    Id string
    Unique VirtualService identifier.
    MeshId string
    Unique Mesh identifier.
    Name string
    A filter to return only resources that match the entire name given.
    State string
    A filter to return only resources that match the life cycle state given.
    CompartmentId string
    The ID of the compartment in which to list resources.
    Filters []GetVirtualServicesFilter
    Id string
    Unique VirtualService identifier.
    MeshId string
    Unique Mesh identifier.
    Name string
    A filter to return only resources that match the entire name given.
    State string
    A filter to return only resources that match the life cycle state given.
    compartmentId String
    The ID of the compartment in which to list resources.
    filters List<GetVirtualServicesFilter>
    id String
    Unique VirtualService identifier.
    meshId String
    Unique Mesh identifier.
    name String
    A filter to return only resources that match the entire name given.
    state String
    A filter to return only resources that match the life cycle state given.
    compartmentId string
    The ID of the compartment in which to list resources.
    filters GetVirtualServicesFilter[]
    id string
    Unique VirtualService identifier.
    meshId string
    Unique Mesh identifier.
    name string
    A filter to return only resources that match the entire name given.
    state string
    A filter to return only resources that match the life cycle state given.
    compartment_id str
    The ID of the compartment in which to list resources.
    filters GetVirtualServicesFilter]
    id str
    Unique VirtualService identifier.
    mesh_id str
    Unique Mesh identifier.
    name str
    A filter to return only resources that match the entire name given.
    state str
    A filter to return only resources that match the life cycle state given.
    compartmentId String
    The ID of the compartment in which to list resources.
    filters List<Property Map>
    id String
    Unique VirtualService identifier.
    meshId String
    Unique Mesh identifier.
    name String
    A filter to return only resources that match the entire name given.
    state String
    A filter to return only resources that match the life cycle state given.

    getVirtualServices Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment.
    VirtualServiceCollections List<GetVirtualServicesVirtualServiceCollection>
    The list of virtual_service_collection.
    Filters List<GetVirtualServicesFilter>
    Id string
    Unique identifier that is immutable on creation.
    MeshId string
    The OCID of the service mesh in which this virtual service is created.
    Name string
    A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
    State string
    The current state of the Resource.
    CompartmentId string
    The OCID of the compartment.
    VirtualServiceCollections []GetVirtualServicesVirtualServiceCollection
    The list of virtual_service_collection.
    Filters []GetVirtualServicesFilter
    Id string
    Unique identifier that is immutable on creation.
    MeshId string
    The OCID of the service mesh in which this virtual service is created.
    Name string
    A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
    State string
    The current state of the Resource.
    compartmentId String
    The OCID of the compartment.
    virtualServiceCollections List<GetVirtualServicesVirtualServiceCollection>
    The list of virtual_service_collection.
    filters List<GetVirtualServicesFilter>
    id String
    Unique identifier that is immutable on creation.
    meshId String
    The OCID of the service mesh in which this virtual service is created.
    name String
    A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
    state String
    The current state of the Resource.
    compartmentId string
    The OCID of the compartment.
    virtualServiceCollections GetVirtualServicesVirtualServiceCollection[]
    The list of virtual_service_collection.
    filters GetVirtualServicesFilter[]
    id string
    Unique identifier that is immutable on creation.
    meshId string
    The OCID of the service mesh in which this virtual service is created.
    name string
    A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
    state string
    The current state of the Resource.
    compartment_id str
    The OCID of the compartment.
    virtual_service_collections GetVirtualServicesVirtualServiceCollection]
    The list of virtual_service_collection.
    filters GetVirtualServicesFilter]
    id str
    Unique identifier that is immutable on creation.
    mesh_id str
    The OCID of the service mesh in which this virtual service is created.
    name str
    A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
    state str
    The current state of the Resource.
    compartmentId String
    The OCID of the compartment.
    virtualServiceCollections List<Property Map>
    The list of virtual_service_collection.
    filters List<Property Map>
    id String
    Unique identifier that is immutable on creation.
    meshId String
    The OCID of the service mesh in which this virtual service is created.
    name String
    A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information. Example: My unique resource name
    state String
    The current state of the Resource.

    Supporting Types

    GetVirtualServicesFilter

    Name string
    A filter to return only resources that match the entire name given.
    Values List<string>
    Regex bool
    Name string
    A filter to return only resources that match the entire name given.
    Values []string
    Regex bool
    name String
    A filter to return only resources that match the entire name given.
    values List<String>
    regex Boolean
    name string
    A filter to return only resources that match the entire name given.
    values string[]
    regex boolean
    name str
    A filter to return only resources that match the entire name given.
    values Sequence[str]
    regex bool
    name String
    A filter to return only resources that match the entire name given.
    values List<String>
    regex Boolean

    GetVirtualServicesVirtualServiceCollection

    GetVirtualServicesVirtualServiceCollectionItem

    CompartmentId string
    The ID of the compartment in which to list resources.
    DefaultRoutingPolicies List<GetVirtualServicesVirtualServiceCollectionItemDefaultRoutingPolicy>
    Routing policy for the virtual service.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
    FreeformTags Dictionary<string, object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Hosts List<string>
    The DNS hostnames of the virtual service that is used by its callers. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com". Can be omitted if the virtual service will only have TCP virtual deployments.
    Id string
    Unique VirtualService identifier.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
    MeshId string
    Unique Mesh identifier.
    Mtls List<GetVirtualServicesVirtualServiceCollectionItemMtl>
    Mutual TLS settings used when communicating with other virtual services or ingress gateways within the mesh.
    Name string
    A filter to return only resources that match the entire name given.
    State string
    A filter to return only resources that match the life cycle state given.
    SystemTags Dictionary<string, object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when this resource was created in an RFC3339 formatted datetime string.
    TimeUpdated string
    The time when this resource was updated in an RFC3339 formatted datetime string.
    CompartmentId string
    The ID of the compartment in which to list resources.
    DefaultRoutingPolicies []GetVirtualServicesVirtualServiceCollectionItemDefaultRoutingPolicy
    Routing policy for the virtual service.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
    FreeformTags map[string]interface{}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Hosts []string
    The DNS hostnames of the virtual service that is used by its callers. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com". Can be omitted if the virtual service will only have TCP virtual deployments.
    Id string
    Unique VirtualService identifier.
    LifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
    MeshId string
    Unique Mesh identifier.
    Mtls []GetVirtualServicesVirtualServiceCollectionItemMtl
    Mutual TLS settings used when communicating with other virtual services or ingress gateways within the mesh.
    Name string
    A filter to return only resources that match the entire name given.
    State string
    A filter to return only resources that match the life cycle state given.
    SystemTags map[string]interface{}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time when this resource was created in an RFC3339 formatted datetime string.
    TimeUpdated string
    The time when this resource was updated in an RFC3339 formatted datetime string.
    compartmentId String
    The ID of the compartment in which to list resources.
    defaultRoutingPolicies List<GetVirtualServicesVirtualServiceCollectionItemDefaultRoutingPolicy>
    Routing policy for the virtual service.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
    freeformTags Map<String,Object>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hosts List<String>
    The DNS hostnames of the virtual service that is used by its callers. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com". Can be omitted if the virtual service will only have TCP virtual deployments.
    id String
    Unique VirtualService identifier.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
    meshId String
    Unique Mesh identifier.
    mtls List<GetVirtualServicesVirtualServiceCollectionItemMtl>
    Mutual TLS settings used when communicating with other virtual services or ingress gateways within the mesh.
    name String
    A filter to return only resources that match the entire name given.
    state String
    A filter to return only resources that match the life cycle state given.
    systemTags Map<String,Object>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when this resource was created in an RFC3339 formatted datetime string.
    timeUpdated String
    The time when this resource was updated in an RFC3339 formatted datetime string.
    compartmentId string
    The ID of the compartment in which to list resources.
    defaultRoutingPolicies GetVirtualServicesVirtualServiceCollectionItemDefaultRoutingPolicy[]
    Routing policy for the virtual service.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
    freeformTags {[key: string]: any}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hosts string[]
    The DNS hostnames of the virtual service that is used by its callers. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com". Can be omitted if the virtual service will only have TCP virtual deployments.
    id string
    Unique VirtualService identifier.
    lifecycleDetails string
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
    meshId string
    Unique Mesh identifier.
    mtls GetVirtualServicesVirtualServiceCollectionItemMtl[]
    Mutual TLS settings used when communicating with other virtual services or ingress gateways within the mesh.
    name string
    A filter to return only resources that match the entire name given.
    state string
    A filter to return only resources that match the life cycle state given.
    systemTags {[key: string]: any}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time when this resource was created in an RFC3339 formatted datetime string.
    timeUpdated string
    The time when this resource was updated in an RFC3339 formatted datetime string.
    compartment_id str
    The ID of the compartment in which to list resources.
    default_routing_policies GetVirtualServicesVirtualServiceCollectionItemDefaultRoutingPolicy]
    Routing policy for the virtual service.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
    freeform_tags Mapping[str, Any]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hosts Sequence[str]
    The DNS hostnames of the virtual service that is used by its callers. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com". Can be omitted if the virtual service will only have TCP virtual deployments.
    id str
    Unique VirtualService identifier.
    lifecycle_details str
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
    mesh_id str
    Unique Mesh identifier.
    mtls GetVirtualServicesVirtualServiceCollectionItemMtl]
    Mutual TLS settings used when communicating with other virtual services or ingress gateways within the mesh.
    name str
    A filter to return only resources that match the entire name given.
    state str
    A filter to return only resources that match the life cycle state given.
    system_tags Mapping[str, Any]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time when this resource was created in an RFC3339 formatted datetime string.
    time_updated str
    The time when this resource was updated in an RFC3339 formatted datetime string.
    compartmentId String
    The ID of the compartment in which to list resources.
    defaultRoutingPolicies List<Property Map>
    Routing policy for the virtual service.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
    freeformTags Map<Any>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    hosts List<String>
    The DNS hostnames of the virtual service that is used by its callers. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", ".example.com", ".com". Can be omitted if the virtual service will only have TCP virtual deployments.
    id String
    Unique VirtualService identifier.
    lifecycleDetails String
    A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in a Failed state.
    meshId String
    Unique Mesh identifier.
    mtls List<Property Map>
    Mutual TLS settings used when communicating with other virtual services or ingress gateways within the mesh.
    name String
    A filter to return only resources that match the entire name given.
    state String
    A filter to return only resources that match the life cycle state given.
    systemTags Map<Any>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time when this resource was created in an RFC3339 formatted datetime string.
    timeUpdated String
    The time when this resource was updated in an RFC3339 formatted datetime string.

    GetVirtualServicesVirtualServiceCollectionItemDefaultRoutingPolicy

    Type string
    Type of the virtual service routing policy.
    Type string
    Type of the virtual service routing policy.
    type String
    Type of the virtual service routing policy.
    type string
    Type of the virtual service routing policy.
    type str
    Type of the virtual service routing policy.
    type String
    Type of the virtual service routing policy.

    GetVirtualServicesVirtualServiceCollectionItemMtl

    CertificateId string
    The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh.
    MaximumValidity int
    The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days.
    Mode string
    DISABLED: Connection is not tunneled. PERMISSIVE: Connection can be either plaintext or an mTLS tunnel. STRICT: Connection is an mTLS tunnel. Clients without a valid certificate will be rejected.
    CertificateId string
    The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh.
    MaximumValidity int
    The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days.
    Mode string
    DISABLED: Connection is not tunneled. PERMISSIVE: Connection can be either plaintext or an mTLS tunnel. STRICT: Connection is an mTLS tunnel. Clients without a valid certificate will be rejected.
    certificateId String
    The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh.
    maximumValidity Integer
    The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days.
    mode String
    DISABLED: Connection is not tunneled. PERMISSIVE: Connection can be either plaintext or an mTLS tunnel. STRICT: Connection is an mTLS tunnel. Clients without a valid certificate will be rejected.
    certificateId string
    The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh.
    maximumValidity number
    The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days.
    mode string
    DISABLED: Connection is not tunneled. PERMISSIVE: Connection can be either plaintext or an mTLS tunnel. STRICT: Connection is an mTLS tunnel. Clients without a valid certificate will be rejected.
    certificate_id str
    The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh.
    maximum_validity int
    The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days.
    mode str
    DISABLED: Connection is not tunneled. PERMISSIVE: Connection can be either plaintext or an mTLS tunnel. STRICT: Connection is an mTLS tunnel. Clients without a valid certificate will be rejected.
    certificateId String
    The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh.
    maximumValidity Number
    The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days.
    mode String
    DISABLED: Connection is not tunneled. PERMISSIVE: Connection can be either plaintext or an mTLS tunnel. STRICT: Connection is an mTLS tunnel. Clients without a valid certificate will be rejected.

    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 v1.29.0 published on Thursday, Mar 28, 2024 by Pulumi