RestoreChannel constructor

RestoreChannel(
  1. String name, {
  2. RestoreChannelArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

RestoreChannel(
  String name, {
  RestoreChannelArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:gkebackup/restoreChannel:RestoreChannel',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
        additionalSecretOutputs: const ['effectiveLabels', 'pulumiLabels'],
      ) {
  deletionPolicy = registerOutput<String>('deletionPolicy');
  description = registerOutput<String?>('description');
  destinationProject = registerOutput<String>('destinationProject');
  destinationProjectId = registerOutput<String>('destinationProjectId');
  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);
  etag = registerOutput<String>('etag');
  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');
  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);
  uid = registerOutput<String>('uid');
}