CreateIngressGatewayDetails

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

Bases: object

The information about a new IngressGateway.

Methods

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

Attributes

access_logging Gets the access_logging of this CreateIngressGatewayDetails.
compartment_id [Required] Gets the compartment_id of this CreateIngressGatewayDetails.
defined_tags Gets the defined_tags of this CreateIngressGatewayDetails.
description Gets the description of this CreateIngressGatewayDetails.
freeform_tags Gets the freeform_tags of this CreateIngressGatewayDetails.
hosts [Required] Gets the hosts of this CreateIngressGatewayDetails.
mesh_id [Required] Gets the mesh_id of this CreateIngressGatewayDetails.
mtls Gets the mtls of this CreateIngressGatewayDetails.
name [Required] Gets the name of this CreateIngressGatewayDetails.
__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this CreateIngressGatewayDetails.
  • description (str) – The value to assign to the description property of this CreateIngressGatewayDetails.
  • mesh_id (str) – The value to assign to the mesh_id property of this CreateIngressGatewayDetails.
  • hosts (list[oci.service_mesh.models.IngressGatewayHost]) – The value to assign to the hosts property of this CreateIngressGatewayDetails.
  • access_logging (oci.service_mesh.models.AccessLoggingConfiguration) – The value to assign to the access_logging property of this CreateIngressGatewayDetails.
  • mtls (oci.service_mesh.models.IngressGatewayMutualTransportLayerSecurityDetails) – The value to assign to the mtls property of this CreateIngressGatewayDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateIngressGatewayDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateIngressGatewayDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateIngressGatewayDetails.
access_logging

Gets the access_logging of this CreateIngressGatewayDetails.

Returns:The access_logging of this CreateIngressGatewayDetails.
Return type:oci.service_mesh.models.AccessLoggingConfiguration
compartment_id

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

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

Gets the defined_tags of this CreateIngressGatewayDetails. 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 CreateIngressGatewayDetails.
Return type:dict(str, dict(str, object))
description

Gets the description of this CreateIngressGatewayDetails. 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 CreateIngressGatewayDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateIngressGatewayDetails. 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 CreateIngressGatewayDetails.
Return type:dict(str, str)
hosts

[Required] Gets the hosts of this CreateIngressGatewayDetails. An array of hostnames and their listener configuration that this gateway will bind to.

Returns:The hosts of this CreateIngressGatewayDetails.
Return type:list[oci.service_mesh.models.IngressGatewayHost]
mesh_id

[Required] Gets the mesh_id of this CreateIngressGatewayDetails. The OCID of the service mesh in which this ingress gateway is created.

Returns:The mesh_id of this CreateIngressGatewayDetails.
Return type:str
mtls

Gets the mtls of this CreateIngressGatewayDetails.

Returns:The mtls of this CreateIngressGatewayDetails.
Return type:oci.service_mesh.models.IngressGatewayMutualTransportLayerSecurityDetails
name

[Required] Gets the name of this CreateIngressGatewayDetails. A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information.

Example: My unique resource name

Returns:The name of this CreateIngressGatewayDetails.
Return type:str