NotebookExecution.reference constructor

NotebookExecution.reference(
  1. String urn
)

Creates a typed reference to an existing NotebookExecution resource.

Implementation

NotebookExecution.reference(String urn)
  : super(
      'gcp:colab/notebookExecution:NotebookExecution',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  customEnvironmentSpec = registerOutput<NotebookExecutionCustomEnvironmentSpec?>('customEnvironmentSpec', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return NotebookExecutionCustomEnvironmentSpec.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  dataformRepositorySource = registerOutput<NotebookExecutionDataformRepositorySource?>('dataformRepositorySource', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return NotebookExecutionDataformRepositorySource.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  deletionPolicy = registerOutput<String>('deletionPolicy');
  directNotebookSource = registerOutput<NotebookExecutionDirectNotebookSource?>('directNotebookSource', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return NotebookExecutionDirectNotebookSource.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  displayName = registerOutput<String>('displayName');
  executionTimeout = registerOutput<String?>('executionTimeout');
  executionUser = registerOutput<String?>('executionUser');
  gcsNotebookSource = registerOutput<NotebookExecutionGcsNotebookSource?>('gcsNotebookSource', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return NotebookExecutionGcsNotebookSource.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  gcsOutputUri = registerOutput<String>('gcsOutputUri');
  location = registerOutput<String>('location');
  notebookExecutionJobId = registerOutput<String>('notebookExecutionJobId');
  notebookRuntimeTemplateResourceName = registerOutput<String?>('notebookRuntimeTemplateResourceName');
  project = registerOutput<String>('project');
  serviceAccount = registerOutput<String?>('serviceAccount');
  workbenchRuntime = registerOutput<NotebookExecutionWorkbenchRuntime?>('workbenchRuntime', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return NotebookExecutionWorkbenchRuntime.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}