VirtualDeployment¶
-
class
oci.service_mesh.models.
VirtualDeployment
(**kwargs)¶ Bases:
object
This resource represents a customer-managed virtual service deployment in the Service Mesh.
Attributes
LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a VirtualDeployment. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a VirtualDeployment. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a VirtualDeployment. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a VirtualDeployment. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a VirtualDeployment. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a VirtualDeployment. access_logging
Gets the access_logging of this VirtualDeployment. compartment_id
[Required] Gets the compartment_id of this VirtualDeployment. defined_tags
Gets the defined_tags of this VirtualDeployment. description
Gets the description of this VirtualDeployment. freeform_tags
Gets the freeform_tags of this VirtualDeployment. id
[Required] Gets the id of this VirtualDeployment. lifecycle_details
Gets the lifecycle_details of this VirtualDeployment. lifecycle_state
[Required] Gets the lifecycle_state of this VirtualDeployment. listeners
Gets the listeners of this VirtualDeployment. name
[Required] Gets the name of this VirtualDeployment. service_discovery
Gets the service_discovery of this VirtualDeployment. system_tags
Gets the system_tags of this VirtualDeployment. time_created
[Required] Gets the time_created of this VirtualDeployment. time_updated
[Required] Gets the time_updated of this VirtualDeployment. virtual_service_id
[Required] Gets the virtual_service_id of this VirtualDeployment. Methods
__init__
(**kwargs)Initializes a new VirtualDeployment object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a VirtualDeployment. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a VirtualDeployment. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a VirtualDeployment. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a VirtualDeployment. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a VirtualDeployment. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a VirtualDeployment. This constant has a value of “UPDATING”
-
__init__
(**kwargs)¶ Initializes a new VirtualDeployment object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this VirtualDeployment.
- compartment_id (str) – The value to assign to the compartment_id property of this VirtualDeployment.
- virtual_service_id (str) – The value to assign to the virtual_service_id property of this VirtualDeployment.
- name (str) – The value to assign to the name property of this VirtualDeployment.
- description (str) – The value to assign to the description property of this VirtualDeployment.
- service_discovery (oci.service_mesh.models.ServiceDiscoveryConfiguration) – The value to assign to the service_discovery property of this VirtualDeployment.
- listeners (list[oci.service_mesh.models.VirtualDeploymentListener]) – The value to assign to the listeners property of this VirtualDeployment.
- access_logging (oci.service_mesh.models.AccessLoggingConfiguration) – The value to assign to the access_logging property of this VirtualDeployment.
- time_created (datetime) – The value to assign to the time_created property of this VirtualDeployment.
- time_updated (datetime) – The value to assign to the time_updated property of this VirtualDeployment.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this VirtualDeployment. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_details (str) – The value to assign to the lifecycle_details property of this VirtualDeployment.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this VirtualDeployment.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this VirtualDeployment.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this VirtualDeployment.
-
access_logging
¶ Gets the access_logging of this VirtualDeployment.
Returns: The access_logging of this VirtualDeployment. Return type: oci.service_mesh.models.AccessLoggingConfiguration
-
compartment_id
¶ [Required] Gets the compartment_id of this VirtualDeployment. The OCID of the compartment.
Returns: The compartment_id of this VirtualDeployment. Return type: str
Gets the defined_tags of this VirtualDeployment. 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 VirtualDeployment. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this VirtualDeployment. 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 VirtualDeployment. Return type: str
Gets the freeform_tags of this VirtualDeployment. 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 VirtualDeployment. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this VirtualDeployment. Unique identifier that is immutable on creation.
Returns: The id of this VirtualDeployment. Return type: str
-
lifecycle_details
¶ Gets the lifecycle_details of this VirtualDeployment. 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.
Returns: The lifecycle_details of this VirtualDeployment. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this VirtualDeployment. The current state of the Resource.
Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this VirtualDeployment. Return type: str
-
listeners
¶ Gets the listeners of this VirtualDeployment. The listeners for the virtual deployment
Returns: The listeners of this VirtualDeployment. Return type: list[oci.service_mesh.models.VirtualDeploymentListener]
-
name
¶ [Required] Gets the name of this VirtualDeployment. A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. Avoid entering confidential information.
Example: My unique resource name
Returns: The name of this VirtualDeployment. Return type: str
-
service_discovery
¶ Gets the service_discovery of this VirtualDeployment.
Returns: The service_discovery of this VirtualDeployment. Return type: oci.service_mesh.models.ServiceDiscoveryConfiguration
Gets the system_tags of this VirtualDeployment. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this VirtualDeployment. Return type: dict(str, dict(str, object))
-
time_created
¶ [Required] Gets the time_created of this VirtualDeployment. The time when this resource was created in an RFC3339 formatted datetime string.
Returns: The time_created of this VirtualDeployment. Return type: datetime
-
time_updated
¶ [Required] Gets the time_updated of this VirtualDeployment. The time when this resource was updated in an RFC3339 formatted datetime string.
Returns: The time_updated of this VirtualDeployment. Return type: datetime
-
virtual_service_id
¶ [Required] Gets the virtual_service_id of this VirtualDeployment. The OCID of the virtual service in which this virtual deployment is created.
Returns: The virtual_service_id of this VirtualDeployment. Return type: str
-