NotebookExecution constructor

NotebookExecution(
  1. String name, {
  2. NotebookExecutionArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new NotebookExecution. name The Pulumi resource name. args Arguments used to configure this NotebookExecution. The set of arguments for NotebookExecution. options Resource options controlling this resource's behavior.

Implementation

NotebookExecution(
  String name, {
  NotebookExecutionArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:colab/notebookExecution:NotebookExecution',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
      ) {
  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>()); });
}