1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ServiceMesh
  5. Mesh
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.ServiceMesh.Mesh

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

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

    Creates a new Mesh.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMesh = new oci.servicemesh.Mesh("test_mesh", {
        certificateAuthorities: [{
            id: meshCertificateAuthoritiesId,
        }],
        compartmentId: compartmentId,
        displayName: meshDisplayName,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        description: meshDescription,
        freeformTags: {
            "bar-key": "value",
        },
        mtls: {
            minimum: meshMtlsMinimum,
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_mesh = oci.service_mesh.Mesh("test_mesh",
        certificate_authorities=[{
            "id": mesh_certificate_authorities_id,
        }],
        compartment_id=compartment_id,
        display_name=mesh_display_name,
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        description=mesh_description,
        freeform_tags={
            "bar-key": "value",
        },
        mtls={
            "minimum": mesh_mtls_minimum,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/ServiceMesh"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ServiceMesh.NewMesh(ctx, "test_mesh", &ServiceMesh.MeshArgs{
    			CertificateAuthorities: servicemesh.MeshCertificateAuthorityArray{
    				&servicemesh.MeshCertificateAuthorityArgs{
    					Id: pulumi.Any(meshCertificateAuthoritiesId),
    				},
    			},
    			CompartmentId: pulumi.Any(compartmentId),
    			DisplayName:   pulumi.Any(meshDisplayName),
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			Description: pulumi.Any(meshDescription),
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    			Mtls: &servicemesh.MeshMtlsArgs{
    				Minimum: pulumi.Any(meshMtlsMinimum),
    			},
    		})
    		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 testMesh = new Oci.ServiceMesh.Mesh("test_mesh", new()
        {
            CertificateAuthorities = new[]
            {
                new Oci.ServiceMesh.Inputs.MeshCertificateAuthorityArgs
                {
                    Id = meshCertificateAuthoritiesId,
                },
            },
            CompartmentId = compartmentId,
            DisplayName = meshDisplayName,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = meshDescription,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            Mtls = new Oci.ServiceMesh.Inputs.MeshMtlsArgs
            {
                Minimum = meshMtlsMinimum,
            },
        });
    
    });
    
    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(meshCertificateAuthoritiesId)
                    .build())
                .compartmentId(compartmentId)
                .displayName(meshDisplayName)
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .description(meshDescription)
                .freeformTags(Map.of("bar-key", "value"))
                .mtls(MeshMtlsArgs.builder()
                    .minimum(meshMtlsMinimum)
                    .build())
                .build());
    
        }
    }
    
    resources:
      testMesh:
        type: oci:ServiceMesh:Mesh
        name: test_mesh
        properties:
          certificateAuthorities:
            - id: ${meshCertificateAuthoritiesId}
          compartmentId: ${compartmentId}
          displayName: ${meshDisplayName}
          definedTags:
            foo-namespace.bar-key: value
          description: ${meshDescription}
          freeformTags:
            bar-key: value
          mtls:
            minimum: ${meshMtlsMinimum}
    

    Create Mesh Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Mesh(name: string, args: MeshArgs, opts?: CustomResourceOptions);
    @overload
    def Mesh(resource_name: str,
             args: MeshArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Mesh(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             certificate_authorities: Optional[Sequence[_servicemesh.MeshCertificateAuthorityArgs]] = None,
             compartment_id: Optional[str] = None,
             display_name: Optional[str] = None,
             defined_tags: Optional[Mapping[str, str]] = None,
             description: Optional[str] = None,
             freeform_tags: Optional[Mapping[str, str]] = None,
             mtls: Optional[_servicemesh.MeshMtlsArgs] = 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.
    
    

    Parameters

    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.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var meshResource = new Oci.ServiceMesh.Mesh("meshResource", new()
    {
        CertificateAuthorities = new[]
        {
            new Oci.ServiceMesh.Inputs.MeshCertificateAuthorityArgs
            {
                Id = "string",
            },
        },
        CompartmentId = "string",
        DisplayName = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        Mtls = new Oci.ServiceMesh.Inputs.MeshMtlsArgs
        {
            Minimum = "string",
        },
    });
    
    example, err := ServiceMesh.NewMesh(ctx, "meshResource", &ServiceMesh.MeshArgs{
    	CertificateAuthorities: servicemesh.MeshCertificateAuthorityArray{
    		&servicemesh.MeshCertificateAuthorityArgs{
    			Id: pulumi.String("string"),
    		},
    	},
    	CompartmentId: pulumi.String("string"),
    	DisplayName:   pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Mtls: &servicemesh.MeshMtlsArgs{
    		Minimum: pulumi.String("string"),
    	},
    })
    
    var meshResource = new Mesh("meshResource", MeshArgs.builder()
        .certificateAuthorities(MeshCertificateAuthorityArgs.builder()
            .id("string")
            .build())
        .compartmentId("string")
        .displayName("string")
        .definedTags(Map.of("string", "string"))
        .description("string")
        .freeformTags(Map.of("string", "string"))
        .mtls(MeshMtlsArgs.builder()
            .minimum("string")
            .build())
        .build());
    
    mesh_resource = oci.service_mesh.Mesh("meshResource",
        certificate_authorities=[{
            "id": "string",
        }],
        compartment_id="string",
        display_name="string",
        defined_tags={
            "string": "string",
        },
        description="string",
        freeform_tags={
            "string": "string",
        },
        mtls={
            "minimum": "string",
        })
    
    const meshResource = new oci.servicemesh.Mesh("meshResource", {
        certificateAuthorities: [{
            id: "string",
        }],
        compartmentId: "string",
        displayName: "string",
        definedTags: {
            string: "string",
        },
        description: "string",
        freeformTags: {
            string: "string",
        },
        mtls: {
            minimum: "string",
        },
    });
    
    type: oci:ServiceMesh:Mesh
    properties:
        certificateAuthorities:
            - id: string
        compartmentId: string
        definedTags:
            string: string
        description: string
        displayName: string
        freeformTags:
            string: string
        mtls:
            minimum: string
    

    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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    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, string>
    (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, string>
    (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]string
    (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]string
    (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,String>
    (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,String>
    (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]: string}
    (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]: string}
    (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 Sequence[servicemesh.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, str]
    (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, str]
    (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 servicemesh.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<String>
    (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>
    (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, string>
    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]string
    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,String>
    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]: string}
    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, str]
    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<String>
    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, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            lifecycle_details: Optional[str] = None,
            mtls: Optional[_servicemesh.MeshMtlsArgs] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = 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, string>
    (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, string>
    (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, string>
    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]string
    (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]string
    (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]string
    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,String>
    (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,String>
    (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,String>
    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]: string}
    (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]: string}
    (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]: string}
    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 Sequence[servicemesh.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, str]
    (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, str]
    (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 servicemesh.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, str]
    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<String>
    (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>
    (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<String>
    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"
    

    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.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi