getSfdcInstance function

Future<GetSfdcInstanceResult> getSfdcInstance(
  1. GetSfdcInstanceArgs args, {
  2. InvokeOptions? options,
})

Gets an sfdc instance. If the instance doesn't exist, Code.NOT_FOUND exception will be thrown. args Arguments passed to this invoke. Arguments for getSfdcInstance. options Invoke options controlling this call.

Implementation

Future<GetSfdcInstanceResult> getSfdcInstance(
  GetSfdcInstanceArgs args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:integrations/v1alpha:getSfdcInstance',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetSfdcInstanceResult.fromMap(result);
}