RemoteImage constructor

RemoteImage(
  1. String name, {
  2. RemoteImageArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

RemoteImage(
  String name, {
  RemoteImageArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'docker:index/remoteImage:RemoteImage',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '5.2.0').merge(options),
      ) {
  build = registerOutput<RemoteImageBuild?>('build', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return RemoteImageBuild.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  forceRemove = registerOutput<bool?>('forceRemove');
  imageId = registerOutput<String>('imageId');
  keepLocally = registerOutput<bool?>('keepLocally');
  this.name = registerOutput<String>('name');
  platform = registerOutput<String?>('platform');
  pullTriggers = registerOutput<List<String>?>('pullTriggers', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
  repoDigest = registerOutput<String>('repoDigest');
  triggers = registerOutput<Map<String, String>?>('triggers', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
}