GdcApplicationEnvironment constructor

GdcApplicationEnvironment(
  1. String name, {
  2. GdcApplicationEnvironmentArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

GdcApplicationEnvironment(
  String name, {
  GdcApplicationEnvironmentArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:dataproc/gdcApplicationEnvironment:GdcApplicationEnvironment',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
        additionalSecretOutputs: const ['effectiveLabels', 'pulumiLabels'],
      ) {
  annotations = registerOutput<Map<String, String>?>('annotations', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  applicationEnvironmentId = registerOutput<String?>('applicationEnvironmentId');
  createTime = registerOutput<String>('createTime');
  deletionPolicy = registerOutput<String>('deletionPolicy');
  displayName = registerOutput<String?>('displayName');
  effectiveAnnotations = registerOutput<Map<String, String>>('effectiveAnnotations', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  effectiveLabels = registerOutput<Map<String, String>>('effectiveLabels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); }, isSecret: true);
  labels = registerOutput<Map<String, String>?>('labels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  location = registerOutput<String>('location');
  this.name = registerOutput<String>('name');
  namespace = registerOutput<String?>('namespace');
  project = registerOutput<String>('project');
  pulumiLabels = registerOutput<Map<String, String>>('pulumiLabels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); }, isSecret: true);
  serviceinstance = registerOutput<String>('serviceinstance');
  sparkApplicationEnvironmentConfig = registerOutput<GdcApplicationEnvironmentSparkApplicationEnvironmentConfig?>('sparkApplicationEnvironmentConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return GdcApplicationEnvironmentSparkApplicationEnvironmentConfig.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  uid = registerOutput<String>('uid');
  updateTime = registerOutput<String>('updateTime');
}