CreateMeshDetails

class oci.service_mesh.models.CreateMeshDetails(**kwargs)

Bases: object

The information about a new Mesh.

Methods

__init__(**kwargs) Initializes a new CreateMeshDetails object with values from keyword arguments.

Attributes

certificate_authorities [Required] Gets the certificate_authorities of this CreateMeshDetails.
compartment_id [Required] Gets the compartment_id of this CreateMeshDetails.
defined_tags Gets the defined_tags of this CreateMeshDetails.
description Gets the description of this CreateMeshDetails.
display_name [Required] Gets the display_name of this CreateMeshDetails.
freeform_tags Gets the freeform_tags of this CreateMeshDetails.
mtls Gets the mtls of this CreateMeshDetails.
__init__(**kwargs)

Initializes a new CreateMeshDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this CreateMeshDetails.
  • description (str) – The value to assign to the description property of this CreateMeshDetails.
  • certificate_authorities (list[oci.service_mesh.models.CertificateAuthority]) – The value to assign to the certificate_authorities property of this CreateMeshDetails.
  • mtls (oci.service_mesh.models.MeshMutualTransportLayerSecurity) – The value to assign to the mtls property of this CreateMeshDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateMeshDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateMeshDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateMeshDetails.
certificate_authorities

[Required] Gets the certificate_authorities of this CreateMeshDetails. The OCID of the certificate authority resource OCID to use for creating leaf certificates.

Returns:The certificate_authorities of this CreateMeshDetails.
Return type:list[oci.service_mesh.models.CertificateAuthority]
compartment_id

[Required] Gets the compartment_id of this CreateMeshDetails. The OCID of the compartment.

Returns:The compartment_id of this CreateMeshDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateMeshDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this CreateMeshDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateMeshDetails. Description of the resource. It can be changed after creation. Avoid entering confidential information.

Example: This is my new resource

Returns:The description of this CreateMeshDetails.
Return type:str
display_name

[Required] Gets the display_name of this CreateMeshDetails. 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

Returns:The display_name of this CreateMeshDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateMeshDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateMeshDetails.
Return type:dict(str, str)
mtls

Gets the mtls of this CreateMeshDetails.

Returns:The mtls of this CreateMeshDetails.
Return type:oci.service_mesh.models.MeshMutualTransportLayerSecurity