CreateVirtualDeploymentDetails¶
-
class
oci.service_mesh.models.
CreateVirtualDeploymentDetails
(**kwargs)¶ Bases:
object
The information about a new VirtualDeployment.
Methods
__init__
(**kwargs)Initializes a new CreateVirtualDeploymentDetails object with values from keyword arguments. Attributes
access_logging
Gets the access_logging of this CreateVirtualDeploymentDetails. compartment_id
[Required] Gets the compartment_id of this CreateVirtualDeploymentDetails. defined_tags
Gets the defined_tags of this CreateVirtualDeploymentDetails. description
Gets the description of this CreateVirtualDeploymentDetails. freeform_tags
Gets the freeform_tags of this CreateVirtualDeploymentDetails. listeners
Gets the listeners of this CreateVirtualDeploymentDetails. name
[Required] Gets the name of this CreateVirtualDeploymentDetails. service_discovery
Gets the service_discovery of this CreateVirtualDeploymentDetails. virtual_service_id
[Required] Gets the virtual_service_id of this CreateVirtualDeploymentDetails. -
__init__
(**kwargs)¶ Initializes a new CreateVirtualDeploymentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - virtual_service_id (str) – The value to assign to the virtual_service_id property of this CreateVirtualDeploymentDetails.
- name (str) – The value to assign to the name property of this CreateVirtualDeploymentDetails.
- description (str) – The value to assign to the description property of this CreateVirtualDeploymentDetails.
- service_discovery (oci.service_mesh.models.ServiceDiscoveryConfiguration) – The value to assign to the service_discovery property of this CreateVirtualDeploymentDetails.
- listeners (list[oci.service_mesh.models.VirtualDeploymentListener]) – The value to assign to the listeners property of this CreateVirtualDeploymentDetails.
- access_logging (oci.service_mesh.models.AccessLoggingConfiguration) – The value to assign to the access_logging property of this CreateVirtualDeploymentDetails.
- compartment_id (str) – The value to assign to the compartment_id property of this CreateVirtualDeploymentDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateVirtualDeploymentDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateVirtualDeploymentDetails.
-
access_logging
¶ Gets the access_logging of this CreateVirtualDeploymentDetails.
Returns: The access_logging of this CreateVirtualDeploymentDetails. Return type: oci.service_mesh.models.AccessLoggingConfiguration
-
compartment_id
¶ [Required] Gets the compartment_id of this CreateVirtualDeploymentDetails. The OCID of the compartment.
Returns: The compartment_id of this CreateVirtualDeploymentDetails. Return type: str
Gets the defined_tags of this CreateVirtualDeploymentDetails. 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 CreateVirtualDeploymentDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this CreateVirtualDeploymentDetails. 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 CreateVirtualDeploymentDetails. Return type: str
Gets the freeform_tags of this CreateVirtualDeploymentDetails. 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 CreateVirtualDeploymentDetails. Return type: dict(str, str)
-
listeners
¶ Gets the listeners of this CreateVirtualDeploymentDetails. The listeners for the virtual deployment.
Returns: The listeners of this CreateVirtualDeploymentDetails. Return type: list[oci.service_mesh.models.VirtualDeploymentListener]
-
name
¶ [Required] Gets the name of this CreateVirtualDeploymentDetails. 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 CreateVirtualDeploymentDetails. Return type: str
-
service_discovery
¶ Gets the service_discovery of this CreateVirtualDeploymentDetails.
Returns: The service_discovery of this CreateVirtualDeploymentDetails. Return type: oci.service_mesh.models.ServiceDiscoveryConfiguration
-
virtual_service_id
¶ [Required] Gets the virtual_service_id of this CreateVirtualDeploymentDetails. The OCID of the service mesh in which this access policy is created.
Returns: The virtual_service_id of this CreateVirtualDeploymentDetails. Return type: str
-