oci.ServiceMesh.Mesh
Explore with Pulumi AI
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)
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:
- List<Mesh
Certificate Authority> - The OCID of the certificate authority resource OCID to use for creating leaf certificates.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Display
Name 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
- 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
- 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
Mesh
Mtls - (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
- []Mesh
Certificate Authority Args - The OCID of the certificate authority resource OCID to use for creating leaf certificates.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- Display
Name 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
- 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
- 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
Mesh
Mtls Args - (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
- List<Mesh
Certificate Authority> - The OCID of the certificate authority resource OCID to use for creating leaf certificates.
- compartment
Id String - (Updatable) The OCID of the compartment.
- display
Name 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
- 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
- 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
Mesh
Mtls - (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
- Mesh
Certificate Authority[] - The OCID of the certificate authority resource OCID to use for creating leaf certificates.
- compartment
Id string - (Updatable) The OCID of the compartment.
- display
Name 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
- {[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
- {[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
Mesh
Mtls - (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
- Sequence[servicemesh.
Mesh Certificate Authority Args] - 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
- 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
- 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.
Mesh Mtls Args - (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
- List<Property Map>
- The OCID of the certificate authority resource OCID to use for creating leaf certificates.
- compartment
Id String - (Updatable) The OCID of the compartment.
- display
Name 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
- 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
- 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.
- Lifecycle
Details 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.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when this resource was created in an RFC3339 formatted datetime string.
- Time
Updated 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.
- Lifecycle
Details 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.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when this resource was created in an RFC3339 formatted datetime string.
- Time
Updated 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.
- lifecycle
Details 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.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when this resource was created in an RFC3339 formatted datetime string.
- time
Updated 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.
- lifecycle
Details 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.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time when this resource was created in an RFC3339 formatted datetime string.
- time
Updated 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.
- 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.
- lifecycle
Details 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.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when this resource was created in an RFC3339 formatted datetime string.
- time
Updated 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.
- List<Mesh
Certificate Authority> - The OCID of the certificate authority resource OCID to use for creating leaf certificates.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- 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
- Display
Name 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
- 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"}
- Lifecycle
Details 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
Mesh
Mtls - (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
- State string
- The current state of the Resource.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when this resource was created in an RFC3339 formatted datetime string.
- Time
Updated string - The time when this resource was updated in an RFC3339 formatted datetime string.
- []Mesh
Certificate Authority Args - The OCID of the certificate authority resource OCID to use for creating leaf certificates.
- Compartment
Id string - (Updatable) The OCID of the compartment.
- 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
- Display
Name 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
- 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"}
- Lifecycle
Details 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
Mesh
Mtls Args - (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
- State string
- The current state of the Resource.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- Time
Created string - The time when this resource was created in an RFC3339 formatted datetime string.
- Time
Updated string - The time when this resource was updated in an RFC3339 formatted datetime string.
- List<Mesh
Certificate Authority> - The OCID of the certificate authority resource OCID to use for creating leaf certificates.
- compartment
Id String - (Updatable) The OCID of the compartment.
- 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
- display
Name 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
- 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"}
- lifecycle
Details 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
Mesh
Mtls - (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
- state String
- The current state of the Resource.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when this resource was created in an RFC3339 formatted datetime string.
- time
Updated String - The time when this resource was updated in an RFC3339 formatted datetime string.
- Mesh
Certificate Authority[] - The OCID of the certificate authority resource OCID to use for creating leaf certificates.
- compartment
Id string - (Updatable) The OCID of the compartment.
- {[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
- display
Name 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
- {[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"}
- lifecycle
Details 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
Mesh
Mtls - (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
- state string
- The current state of the Resource.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created string - The time when this resource was created in an RFC3339 formatted datetime string.
- time
Updated string - The time when this resource was updated in an RFC3339 formatted datetime string.
- Sequence[servicemesh.
Mesh Certificate Authority Args] - The OCID of the certificate authority resource OCID to use for creating leaf certificates.
- compartment_
id str - (Updatable) The OCID of the compartment.
- 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
- 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.
Mesh Mtls Args - (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh.
- state str
- The current state of the Resource.
- 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.
- List<Property Map>
- The OCID of the certificate authority resource OCID to use for creating leaf certificates.
- compartment
Id String - (Updatable) The OCID of the compartment.
- 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
- display
Name 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
- 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"}
- lifecycle
Details 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.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"}
- time
Created String - The time when this resource was created in an RFC3339 formatted datetime string.
- time
Updated 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.