diff --git a/sdks/api/fern/definition/actors/__package__.yml b/sdks/api/fern/definition/actors/__package__.yml index 0dacff00e5..19efa6ae13 100644 --- a/sdks/api/fern/definition/actors/__package__.yml +++ b/sdks/api/fern/definition/actors/__package__.yml @@ -163,26 +163,24 @@ types: tags: unknown build: optional build_tags: optional - runtime: optional - network: optional - resources: optional - lifecycle: optional - - CreateActorRuntimeRequest: - properties: # arguments: optional> environment: optional> - network: optional - - CreateActorRuntimeNetworkRequest: - properties: - endpoint_type: localCommons.EndpointType - - CreateActorNetworkRequest: - properties: - mode: optional + network_mode: optional + network_endpoint_type: localCommons.EndpointType ports: optional> - wait_ready: optional + wait_for_network_ready: optional + resources: optional + kill_timeout: + docs: >- + The duration to wait for in milliseconds before killing the actor. + This should be set to a safe default, and can be overridden during a + DELETE request if needed. + type: optional + durable: + docs: >- + If true, the actor will try to reschedule itself automatically in the event of a crash or a + datacenter failover. The actor will not reschedule if it exits successfully. + type: optional CreateActorPortRequest: properties: diff --git a/sdks/api/fern/definition/actors/common.yml b/sdks/api/fern/definition/actors/common.yml index 4c31ef7dd9..d515d19662 100644 --- a/sdks/api/fern/definition/actors/common.yml +++ b/sdks/api/fern/definition/actors/common.yml @@ -9,21 +9,11 @@ types: id: commons.Id region: string tags: unknown - runtime: Runtime - network: Network - lifecycle: Lifecycle - created_at: commons.Timestamp - started_at: optional - destroyed_at: optional - - Runtime: - properties: build: uuid arguments: optional> environment: optional> - - Lifecycle: - properties: + network_mode: NetworkMode + ports: map kill_timeout: docs: >- The duration to wait for in milliseconds before killing the actor. @@ -35,11 +25,9 @@ types: If true, the actor will try to reschedule itself automatically in the event of a crash or a datacenter failover. The actor will not reschedule if it exits successfully. type: optional - - Network: - properties: - mode: NetworkMode - ports: map + created_at: commons.Timestamp + started_at: optional + destroyed_at: optional NetworkMode: enum: @@ -83,3 +71,15 @@ types: - hostname - path + Resources: + properties: + cpu: + docs: | + The number of CPU cores in millicores, or 1/1000 of a core. For example, + 1/8 of a core would be 125 millicores, and 1 core would be 1000 + millicores. + type: integer + memory: + docs: The amount of memory in megabytes + type: integer +