getDeploymentResourcePool function

Future<GetDeploymentResourcePoolResult> getDeploymentResourcePool(
  1. GetDeploymentResourcePoolArgs args, {
  2. InvokeOptions? options,
})

Get a DeploymentResourcePool. args Arguments passed to this invoke. Arguments for getDeploymentResourcePool. options Invoke options controlling this call.

Implementation

Future<GetDeploymentResourcePoolResult> getDeploymentResourcePool(
  GetDeploymentResourcePoolArgs args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:aiplatform/v1:getDeploymentResourcePool',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetDeploymentResourcePoolResult.fromMap(result);
}