AiEndpointWithModelGardenDeploymentModelConfigContainerSpec constructor

const AiEndpointWithModelGardenDeploymentModelConfigContainerSpec({
  1. Input<List<String>?>? args,
  2. Input<List<String>?>? commands,
  3. Input<String?>? deploymentTimeout,
  4. Input<List<AiEndpointWithModelGardenDeploymentModelConfigContainerSpecEnv>?>? envs,
  5. Input<List<AiEndpointWithModelGardenDeploymentModelConfigContainerSpecGrpcPort>?>? grpcPorts,
  6. Input<AiEndpointWithModelGardenDeploymentModelConfigContainerSpecHealthProbe?>? healthProbe,
  7. Input<String?>? healthRoute,
  8. required Input<String> imageUri,
  9. Input<AiEndpointWithModelGardenDeploymentModelConfigContainerSpecLivenessProbe?>? livenessProbe,
  10. Input<List<AiEndpointWithModelGardenDeploymentModelConfigContainerSpecPort>?>? ports,
  11. Input<String?>? predictRoute,
  12. Input<String?>? sharedMemorySizeMb,
  13. Input<AiEndpointWithModelGardenDeploymentModelConfigContainerSpecStartupProbe?>? startupProbe,
})

Creates a new AiEndpointWithModelGardenDeploymentModelConfigContainerSpec. args Specifies arguments for the command that runs when the container starts. commands Specifies the command that runs when the container starts. This overrides deploymentTimeout Deployment timeout. envs List of environment variables to set in the container. After the container grpcPorts List of ports to expose from the container. Vertex AI sends gRPC healthProbe Probe describes a health check to be performed against a container to healthRoute HTTP path on the container to send health checks to. Vertex AI imageUri URI of the Docker image to be used as the custom container for serving livenessProbe Probe describes a health check to be performed against a container to ports List of ports to expose from the container. Vertex AI sends any predictRoute HTTP path on the container to send prediction requests to. Vertex AI sharedMemorySizeMb The amount of the VM memory to reserve as the shared memory for the model startupProbe Probe describes a health check to be performed against a container to

Implementation

const AiEndpointWithModelGardenDeploymentModelConfigContainerSpec({
  this.args,
  this.commands,
  this.deploymentTimeout,
  this.envs,
  this.grpcPorts,
  this.healthProbe,
  this.healthRoute,
  required this.imageUri,
  this.livenessProbe,
  this.ports,
  this.predictRoute,
  this.sharedMemorySizeMb,
  this.startupProbe,
});