|
11 | 11 | These endpoints are available if your account is on the E2 version of the platform or on a select custom |
12 | 12 | plan that allows multiple workspaces per account. |
13 | 13 |
|
14 | | - .. py:method:: create( [, aws_region: Optional[str], cloud: Optional[str], cloud_resource_container: Optional[CloudResourceContainer], credentials_id: Optional[str], custom_tags: Optional[Dict[str, str]], deployment_name: Optional[str], gcp_managed_network_config: Optional[GcpManagedNetworkConfig], gke_config: Optional[GkeConfig], location: Optional[str], managed_services_customer_managed_key_id: Optional[str], network_id: Optional[str], pricing_tier: Optional[PricingTier], private_access_settings_id: Optional[str], storage_configuration_id: Optional[str], storage_customer_managed_key_id: Optional[str], workspace_name: Optional[str]]) -> Wait[Workspace] |
| 14 | + .. py:method:: create( [, aws_region: Optional[str], cloud: Optional[str], cloud_resource_container: Optional[CloudResourceContainer], compute_mode: Optional[CustomerFacingComputeMode], credentials_id: Optional[str], custom_tags: Optional[Dict[str, str]], deployment_name: Optional[str], gcp_managed_network_config: Optional[GcpManagedNetworkConfig], gke_config: Optional[GkeConfig], location: Optional[str], managed_services_customer_managed_key_id: Optional[str], network_id: Optional[str], pricing_tier: Optional[PricingTier], private_access_settings_id: Optional[str], storage_configuration_id: Optional[str], storage_customer_managed_key_id: Optional[str], workspace_name: Optional[str]]) -> Wait[Workspace] |
15 | 15 |
|
16 | 16 |
|
17 | 17 | Usage: |
|
84 | 84 | :param cloud: str (optional) |
85 | 85 | The cloud name. This field always has the value `gcp`. |
86 | 86 | :param cloud_resource_container: :class:`CloudResourceContainer` (optional) |
| 87 | + :param compute_mode: :class:`CustomerFacingComputeMode` (optional) |
| 88 | + If the compute mode is `SERVERLESS`, a serverless workspace is created that comes pre-configured |
| 89 | + with serverless compute and default storage, providing a fully-managed, enterprise-ready SaaS |
| 90 | + experience. This means you don't need to provide any resources managed by you, such as credentials, |
| 91 | + storage, or network. If the compute mode is `HYBRID` (which is the default option), a classic |
| 92 | + workspace is created that uses customer-managed resources. |
87 | 93 | :param credentials_id: str (optional) |
88 | 94 | ID of the workspace's credential configuration object. |
89 | 95 | :param custom_tags: Dict[str,str] (optional) |
|
141 | 147 | See :method:wait_get_workspace_running for more details. |
142 | 148 |
|
143 | 149 |
|
144 | | - .. py:method:: create_and_wait( [, aws_region: Optional[str], cloud: Optional[str], cloud_resource_container: Optional[CloudResourceContainer], credentials_id: Optional[str], custom_tags: Optional[Dict[str, str]], deployment_name: Optional[str], gcp_managed_network_config: Optional[GcpManagedNetworkConfig], gke_config: Optional[GkeConfig], location: Optional[str], managed_services_customer_managed_key_id: Optional[str], network_id: Optional[str], pricing_tier: Optional[PricingTier], private_access_settings_id: Optional[str], storage_configuration_id: Optional[str], storage_customer_managed_key_id: Optional[str], workspace_name: Optional[str], timeout: datetime.timedelta = 0:20:00]) -> Workspace |
| 150 | + .. py:method:: create_and_wait( [, aws_region: Optional[str], cloud: Optional[str], cloud_resource_container: Optional[CloudResourceContainer], compute_mode: Optional[CustomerFacingComputeMode], credentials_id: Optional[str], custom_tags: Optional[Dict[str, str]], deployment_name: Optional[str], gcp_managed_network_config: Optional[GcpManagedNetworkConfig], gke_config: Optional[GkeConfig], location: Optional[str], managed_services_customer_managed_key_id: Optional[str], network_id: Optional[str], pricing_tier: Optional[PricingTier], private_access_settings_id: Optional[str], storage_configuration_id: Optional[str], storage_customer_managed_key_id: Optional[str], workspace_name: Optional[str], timeout: datetime.timedelta = 0:20:00]) -> Workspace |
145 | 151 |
|
146 | 152 |
|
147 | 153 | .. py:method:: delete(workspace_id: int) -> Workspace |
|
0 commit comments