Service.reference constructor

Service.reference(
  1. String urn
)

Creates a typed reference to an existing Service resource.

Implementation

Service.reference(String urn)
  : super(
      'gcp:projects/service:Service',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  checkIfServiceHasUsageOnDestroy = registerOutput<bool?>('checkIfServiceHasUsageOnDestroy');
  deletionPolicy = registerOutput<String>('deletionPolicy');
  disableDependentServices = registerOutput<bool?>('disableDependentServices');
  disableOnDestroy = registerOutput<bool?>('disableOnDestroy');
  project = registerOutput<String>('project');
  service = registerOutput<String>('service');
}