1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ServiceMesh
  5. Mesh
Oracle Cloud Infrastructure v1.24.0 published on Thursday, Feb 22, 2024 by Pulumi

oci.ServiceMesh.Mesh

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.24.0 published on Thursday, Feb 22, 2024 by Pulumi

    This resource provides the Mesh resource in Oracle Cloud Infrastructure Service Mesh service.

    Creates a new Mesh.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testMesh = new Oci.ServiceMesh.Mesh("testMesh", new()
        {
            CertificateAuthorities = new[]
            {
                new Oci.ServiceMesh.Inputs.MeshCertificateAuthorityArgs
                {
                    Id = @var.Mesh_certificate_authorities_id,
                },
            },
            CompartmentId = @var.Compartment_id,
            DisplayName = @var.Mesh_display_name,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = @var.Mesh_description,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            Mtls = new Oci.ServiceMesh.Inputs.MeshMtlsArgs
            {
                Minimum = @var.Mesh_mtls_minimum,
            },
        });
    
    });
    
    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.NewMesh(ctx, "testMesh", &ServiceMesh.MeshArgs{
    			CertificateAuthorities: servicemesh.MeshCertificateAuthorityArray{
    				&servicemesh.MeshCertificateAuthorityArgs{
    					Id: pulumi.Any(_var.Mesh_certificate_authorities_id),
    				},
    			},
    			CompartmentId: pulumi.Any(_var.Compartment_id),
    			DisplayName:   pulumi.Any(_var.Mesh_display_name),
    			DefinedTags: pulumi.Map{
    				"foo-namespace.bar-key": pulumi.Any("value"),
    			},
    			Description: pulumi.Any(_var.Mesh_description),
    			FreeformTags: pulumi.Map{
    				"bar-key": pulumi.Any("value"),
    			},
    			Mtls: &servicemesh.MeshMtlsArgs{
    				Minimum: pulumi.Any(_var.Mesh_mtls_minimum),
    			},
    		})
    		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.ServiceMesh.Mesh;
    import com.pulumi.oci.ServiceMesh.MeshArgs;
    import com.pulumi.oci.ServiceMesh.inputs.MeshCertificateAuthorityArgs;
    import com.pulumi.oci.ServiceMesh.inputs.MeshMtlsArgs;
    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 testMesh = new Mesh("testMesh", MeshArgs.builder()        
                .certificateAuthorities(MeshCertificateAuthorityArgs.builder()
                    .id(var_.mesh_certificate_authorities_id())
                    .build())
                .compartmentId(var_.compartment_id())
                .displayName(var_.mesh_display_name())
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .description(var_.mesh_description())
                .freeformTags(Map.of("bar-key", "value"))
                .mtls(MeshMtlsArgs.builder()
                    .minimum(var_.mesh_mtls_minimum())
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_oci as oci
    
    test_mesh = oci.service_mesh.Mesh("testMesh",
        certificate_authorities=[oci.service_mesh.MeshCertificateAuthorityArgs(
            id=var["mesh_certificate_authorities_id"],
        )],
        compartment_id=var["compartment_id"],
        display_name=var["mesh_display_name"],
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        description=var["mesh_description"],
        freeform_tags={
            "bar-key": "value",
        },
        mtls=oci.service_mesh.MeshMtlsArgs(
            minimum=var["mesh_mtls_minimum"],
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMesh = new oci.servicemesh.Mesh("testMesh", {
        certificateAuthorities: [{
            id: _var.mesh_certificate_authorities_id,
        }],
        compartmentId: _var.compartment_id,
        displayName: _var.mesh_display_name,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        description: _var.mesh_description,
        freeformTags: {
            "bar-key": "value",
        },
        mtls: {
            minimum: _var.mesh_mtls_minimum,
        },
    });
    
    resources:
      testMesh:
        type: oci:ServiceMesh:Mesh
        properties:
          #Required
          certificateAuthorities:
            - id: ${var.mesh_certificate_authorities_id}
          compartmentId: ${var.compartment_id}
          displayName: ${var.mesh_display_name}
          #Optional
          definedTags:
            foo-namespace.bar-key: value
          description: ${var.mesh_description}
          freeformTags:
            bar-key: value
          mtls:
            minimum: ${var.mesh_mtls_minimum}
    

    Create Mesh Resource

    new Mesh(name: string, args: MeshArgs, opts?: CustomResourceOptions);
    @overload
    def Mesh(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             certificate_authorities: Optional[Sequence[_servicemesh.MeshCertificateAuthorityArgs]] = None,
             compartment_id: Optional[str] = None,
             defined_tags: Optional[Mapping[str, Any]] = None,
             description: Optional[str] = None,
             display_name: Optional[str] = None,
             freeform_tags: Optional[Mapping[str, Any]] = None,
             mtls: Optional[_servicemesh.MeshMtlsArgs] = None)
    @overload
    def Mesh(resource_name: str,
             args: MeshArgs,
             opts: Optional[ResourceOptions] = None)
    func NewMesh(ctx *Context, name string, args MeshArgs, opts ...ResourceOption) (*Mesh, error)
    public Mesh(string name, MeshArgs args, CustomResourceOptions? opts = null)
    public Mesh(String name, MeshArgs args)
    public Mesh(String name, MeshArgs args, CustomResourceOptions options)
    
    type: oci:ServiceMesh:Mesh
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args MeshArgs
    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 MeshArgs
    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 MeshArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MeshArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MeshArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Mesh 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 Mesh resource accepts the following input properties:

    CertificateAuthorities List<MeshCertificateAuthority>
    The OCID of the certificate authority resource OCID to use for creating leaf certificates.
    CompartmentId string
    (Updatable) The OCID of the compartment.
    DisplayName string
    (Updatable) A user-friendly name. The name does not have to be unique and can be changed after creation. Avoid entering confidential information. Example: My new resource
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Mtls MeshMtls
    (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
    CertificateAuthorities []MeshCertificateAuthorityArgs
    The OCID of the certificate authority resource OCID to use for creating leaf certificates.
    CompartmentId string
    (Updatable) The OCID of the compartment.
    DisplayName string
    (Updatable) A user-friendly name. The name does not have to be unique and can be changed after creation. Avoid entering confidential information. Example: My new resource
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Mtls MeshMtlsArgs
    (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
    certificateAuthorities List<MeshCertificateAuthority>
    The OCID of the certificate authority resource OCID to use for creating leaf certificates.
    compartmentId String
    (Updatable) The OCID of the compartment.
    displayName String
    (Updatable) A user-friendly name. The name does not have to be unique and can be changed after creation. Avoid entering confidential information. Example: My new resource
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    mtls MeshMtls
    (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
    certificateAuthorities MeshCertificateAuthority[]
    The OCID of the certificate authority resource OCID to use for creating leaf certificates.
    compartmentId string
    (Updatable) The OCID of the compartment.
    displayName string
    (Updatable) A user-friendly name. The name does not have to be unique and can be changed after creation. Avoid entering confidential information. Example: My new resource
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    mtls MeshMtls
    (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
    certificate_authorities MeshCertificateAuthorityArgs]
    The OCID of the certificate authority resource OCID to use for creating leaf certificates.
    compartment_id str
    (Updatable) The OCID of the compartment.
    display_name str
    (Updatable) A user-friendly name. The name does not have to be unique and can be changed after creation. Avoid entering confidential information. Example: My new resource
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) 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]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    mtls MeshMtlsArgs
    (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
    certificateAuthorities List<Property Map>
    The OCID of the certificate authority resource OCID to use for creating leaf certificates.
    compartmentId String
    (Updatable) The OCID of the compartment.
    displayName String
    (Updatable) A user-friendly name. The name does not have to be unique and can be changed after creation. Avoid entering confidential information. Example: My new resource
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    mtls Property Map
    (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Mesh resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    State string
    The current state of the Resource.
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    State string
    The current state of the Resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    state String
    The current state of the Resource.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    state string
    The current state of the Resource.
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    state str
    The current state of the Resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    state String
    The current state of the Resource.
    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.

    Look up Existing Mesh Resource

    Get an existing Mesh 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?: MeshState, opts?: CustomResourceOptions): Mesh
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            certificate_authorities: Optional[Sequence[_servicemesh.MeshCertificateAuthorityArgs]] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            lifecycle_details: Optional[str] = None,
            mtls: Optional[_servicemesh.MeshMtlsArgs] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> Mesh
    func GetMesh(ctx *Context, name string, id IDInput, state *MeshState, opts ...ResourceOption) (*Mesh, error)
    public static Mesh Get(string name, Input<string> id, MeshState? state, CustomResourceOptions? opts = null)
    public static Mesh get(String name, Output<String> id, MeshState 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:
    CertificateAuthorities List<MeshCertificateAuthority>
    The OCID of the certificate authority resource OCID to use for creating leaf certificates.
    CompartmentId string
    (Updatable) The OCID of the compartment.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
    DisplayName string
    (Updatable) A user-friendly name. The name does not have to be unique and can be changed after creation. Avoid entering confidential information. Example: My new resource
    FreeformTags Dictionary<string, object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    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.
    Mtls MeshMtls
    (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
    State string
    The current state of the Resource.
    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.
    CertificateAuthorities []MeshCertificateAuthorityArgs
    The OCID of the certificate authority resource OCID to use for creating leaf certificates.
    CompartmentId string
    (Updatable) The OCID of the compartment.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
    DisplayName string
    (Updatable) A user-friendly name. The name does not have to be unique and can be changed after creation. Avoid entering confidential information. Example: My new resource
    FreeformTags map[string]interface{}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    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.
    Mtls MeshMtlsArgs
    (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
    State string
    The current state of the Resource.
    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.
    certificateAuthorities List<MeshCertificateAuthority>
    The OCID of the certificate authority resource OCID to use for creating leaf certificates.
    compartmentId String
    (Updatable) The OCID of the compartment.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
    displayName String
    (Updatable) A user-friendly name. The name does not have to be unique and can be changed after creation. Avoid entering confidential information. Example: My new resource
    freeformTags Map<String,Object>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    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.
    mtls MeshMtls
    (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
    state String
    The current state of the Resource.
    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.
    certificateAuthorities MeshCertificateAuthority[]
    The OCID of the certificate authority resource OCID to use for creating leaf certificates.
    compartmentId string
    (Updatable) The OCID of the compartment.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
    displayName string
    (Updatable) A user-friendly name. The name does not have to be unique and can be changed after creation. Avoid entering confidential information. Example: My new resource
    freeformTags {[key: string]: any}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    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.
    mtls MeshMtls
    (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
    state string
    The current state of the Resource.
    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.
    certificate_authorities MeshCertificateAuthorityArgs]
    The OCID of the certificate authority resource OCID to use for creating leaf certificates.
    compartment_id str
    (Updatable) The OCID of the compartment.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
    display_name str
    (Updatable) A user-friendly name. The name does not have to be unique and can be changed after creation. Avoid entering confidential information. Example: My new resource
    freeform_tags Mapping[str, Any]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    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.
    mtls MeshMtlsArgs
    (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
    state str
    The current state of the Resource.
    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.
    certificateAuthorities List<Property Map>
    The OCID of the certificate authority resource OCID to use for creating leaf certificates.
    compartmentId String
    (Updatable) The OCID of the compartment.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) Description of the resource. It can be changed after creation. Avoid entering confidential information. Example: This is my new resource
    displayName String
    (Updatable) A user-friendly name. The name does not have to be unique and can be changed after creation. Avoid entering confidential information. Example: My new resource
    freeformTags Map<Any>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    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.
    mtls Property Map
    (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
    state String
    The current state of the Resource.
    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.

    Supporting Types

    MeshCertificateAuthority, MeshCertificateAuthorityArgs

    Id string
    The OCID of the certificate authority resource.
    Id string
    The OCID of the certificate authority resource.
    id String
    The OCID of the certificate authority resource.
    id string
    The OCID of the certificate authority resource.
    id str
    The OCID of the certificate authority resource.
    id String
    The OCID of the certificate authority resource.

    MeshMtls, MeshMtlsArgs

    Minimum string

    (Updatable) DISABLED: No minimum virtual services within this mesh can use any mTLS authentication mode. PERMISSIVE: Virtual services within this mesh can use either PERMISSIVE or STRICT modes. STRICT: All virtual services within this mesh must use STRICT mode.

    ** 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

    Minimum string

    (Updatable) DISABLED: No minimum virtual services within this mesh can use any mTLS authentication mode. PERMISSIVE: Virtual services within this mesh can use either PERMISSIVE or STRICT modes. STRICT: All virtual services within this mesh must use STRICT mode.

    ** 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

    minimum String

    (Updatable) DISABLED: No minimum virtual services within this mesh can use any mTLS authentication mode. PERMISSIVE: Virtual services within this mesh can use either PERMISSIVE or STRICT modes. STRICT: All virtual services within this mesh must use STRICT mode.

    ** 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

    minimum string

    (Updatable) DISABLED: No minimum virtual services within this mesh can use any mTLS authentication mode. PERMISSIVE: Virtual services within this mesh can use either PERMISSIVE or STRICT modes. STRICT: All virtual services within this mesh must use STRICT mode.

    ** 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

    minimum str

    (Updatable) DISABLED: No minimum virtual services within this mesh can use any mTLS authentication mode. PERMISSIVE: Virtual services within this mesh can use either PERMISSIVE or STRICT modes. STRICT: All virtual services within this mesh must use STRICT mode.

    ** 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

    minimum String

    (Updatable) DISABLED: No minimum virtual services within this mesh can use any mTLS authentication mode. PERMISSIVE: Virtual services within this mesh can use either PERMISSIVE or STRICT modes. STRICT: All virtual services within this mesh must use STRICT mode.

    ** 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

    Meshes can be imported using the id, e.g.

     $ pulumi import oci:ServiceMesh/mesh:Mesh test_mesh "id"
    

    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.24.0 published on Thursday, Feb 22, 2024 by Pulumi