Endpoint constructor

Endpoint(
  1. String name, {
  2. EndpointArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

Endpoint(
  String name, {
  EndpointArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:cloudids/endpoint:Endpoint',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
      ) {
  createTime = registerOutput<String>('createTime');
  deletionPolicy = registerOutput<String>('deletionPolicy');
  description = registerOutput<String?>('description');
  endpointForwardingRule = registerOutput<String>('endpointForwardingRule');
  endpointIp = registerOutput<String>('endpointIp');
  location = registerOutput<String>('location');
  this.name = registerOutput<String>('name');
  network = registerOutput<String>('network');
  project = registerOutput<String>('project');
  severity = registerOutput<String>('severity');
  threatExceptions = registerOutput<List<String>?>('threatExceptions', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
  updateTime = registerOutput<String>('updateTime');
}