IngressGatewayAccessPolicyTargetDetails

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

Bases: oci.service_mesh.models.access_policy_target_details.AccessPolicyTargetDetails

Ingress gateway target that virtual services in mesh receive traffic from.

Attributes

TYPE_ALL_VIRTUAL_SERVICES str(object=’’) -> str
TYPE_EXTERNAL_SERVICE str(object=’’) -> str
TYPE_INGRESS_GATEWAY str(object=’’) -> str
TYPE_VIRTUAL_SERVICE str(object=’’) -> str
ingress_gateway_id [Required] Gets the ingress_gateway_id of this IngressGatewayAccessPolicyTargetDetails.
type [Required] Gets the type of this AccessPolicyTargetDetails.

Methods

__init__(**kwargs) Initializes a new IngressGatewayAccessPolicyTargetDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
TYPE_ALL_VIRTUAL_SERVICES = 'ALL_VIRTUAL_SERVICES'
TYPE_EXTERNAL_SERVICE = 'EXTERNAL_SERVICE'
TYPE_INGRESS_GATEWAY = 'INGRESS_GATEWAY'
TYPE_VIRTUAL_SERVICE = 'VIRTUAL_SERVICE'
__init__(**kwargs)

Initializes a new IngressGatewayAccessPolicyTargetDetails object with values from keyword arguments. The default value of the type attribute of this class is INGRESS_GATEWAY and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this IngressGatewayAccessPolicyTargetDetails. Allowed values for this property are: “ALL_VIRTUAL_SERVICES”, “VIRTUAL_SERVICE”, “EXTERNAL_SERVICE”, “INGRESS_GATEWAY”
  • ingress_gateway_id (str) – The value to assign to the ingress_gateway_id property of this IngressGatewayAccessPolicyTargetDetails.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

ingress_gateway_id

[Required] Gets the ingress_gateway_id of this IngressGatewayAccessPolicyTargetDetails. The OCID of the ingress gateway resource.

Returns:The ingress_gateway_id of this IngressGatewayAccessPolicyTargetDetails.
Return type:str
type

[Required] Gets the type of this AccessPolicyTargetDetails. Traffic type of the target.

Allowed values for this property are: “ALL_VIRTUAL_SERVICES”, “VIRTUAL_SERVICE”, “EXTERNAL_SERVICE”, “INGRESS_GATEWAY”

Returns:The type of this AccessPolicyTargetDetails.
Return type:str