toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'exec': ?pulumi.Input.mapOptionalInputValue<AiEndpointWithModelGardenDeploymentModelConfigContainerSpecLivenessProbeExec, Map<String, dynamic>>(exec, (value) => value.toMap()),
    'failureThreshold': ?failureThreshold,
    'grpc': ?pulumi.Input.mapOptionalInputValue<AiEndpointWithModelGardenDeploymentModelConfigContainerSpecLivenessProbeGrpc, Map<String, dynamic>>(grpc, (value) => value.toMap()),
    'httpGet': ?pulumi.Input.mapOptionalInputValue<AiEndpointWithModelGardenDeploymentModelConfigContainerSpecLivenessProbeHttpGet, Map<String, dynamic>>(httpGet, (value) => value.toMap()),
    'initialDelaySeconds': ?initialDelaySeconds,
    'periodSeconds': ?periodSeconds,
    'successThreshold': ?successThreshold,
    'tcpSocket': ?pulumi.Input.mapOptionalInputValue<AiEndpointWithModelGardenDeploymentModelConfigContainerSpecLivenessProbeTcpSocket, Map<String, dynamic>>(tcpSocket, (value) => value.toMap()),
    'timeoutSeconds': ?timeoutSeconds,
  };
}