ClusterNodePoolNodeConfigGuestAcceleratorGpuSharingConfig.fromMap constructor

ClusterNodePoolNodeConfigGuestAcceleratorGpuSharingConfig.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory ClusterNodePoolNodeConfigGuestAcceleratorGpuSharingConfig.fromMap(Map<String, dynamic> map) {
  return ClusterNodePoolNodeConfigGuestAcceleratorGpuSharingConfig(
    gpuSharingStrategy: pulumi.Input.fromValue(map['gpuSharingStrategy'] as String),
    maxSharedClientsPerGpu: pulumi.Input.fromValue((map['maxSharedClientsPerGpu'] as num).toInt()),
  );
}