AiFeatureStore.reference constructor

AiFeatureStore.reference(
  1. String urn
)

Creates a typed reference to an existing AiFeatureStore resource.

Implementation

AiFeatureStore.reference(String urn)
  : super(
      'gcp:vertex/aiFeatureStore:AiFeatureStore',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
        additionalSecretOutputs: const ['effectiveLabels', 'pulumiLabels'],
      isResourceReference: true,
    ) {
  createTime = registerOutput<String>('createTime');
  deletionPolicy = registerOutput<String>('deletionPolicy');
  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);
  encryptionSpec = registerOutput<AiFeatureStoreEncryptionSpec?>('encryptionSpec', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AiFeatureStoreEncryptionSpec.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  etag = registerOutput<String>('etag');
  forceDestroy = registerOutput<bool?>('forceDestroy');
  labels = registerOutput<Map<String, String>?>('labels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  this.name = registerOutput<String>('name');
  onlineServingConfig = registerOutput<AiFeatureStoreOnlineServingConfig?>('onlineServingConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AiFeatureStoreOnlineServingConfig.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  onlineStorageTtlDays = registerOutput<int?>('onlineStorageTtlDays');
  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);
  region = registerOutput<String>('region');
  updateTime = registerOutput<String>('updateTime');
}