ForwardingRule constructor

ForwardingRule(
  1. String name, {
  2. ForwardingRuleArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

ForwardingRule(
  String name, {
  ForwardingRuleArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:compute/alpha:ForwardingRule',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  allPorts = registerOutput<bool>('allPorts');
  allowGlobalAccess = registerOutput<bool>('allowGlobalAccess');
  allowPscGlobalAccess = registerOutput<bool>('allowPscGlobalAccess');
  allowPscPacketInjection = registerOutput<bool>('allowPscPacketInjection');
  backendService = registerOutput<String>('backendService');
  baseForwardingRule = registerOutput<String>('baseForwardingRule');
  creationTimestamp = registerOutput<String>('creationTimestamp');
  description = registerOutput<String>('description');
  fingerprint = registerOutput<String>('fingerprint');
  ipAddress = registerOutput<String>('ipAddress');
  ipCollection = registerOutput<String>('ipCollection');
  ipProtocol = registerOutput<String>('ipProtocol');
  ipVersion = registerOutput<String>('ipVersion');
  isMirroringCollector = registerOutput<bool>('isMirroringCollector');
  kind = registerOutput<String>('kind');
  labelFingerprint = registerOutput<String>('labelFingerprint');
  labels = registerOutput<Map<String, String>>('labels');
  loadBalancingScheme = registerOutput<String>('loadBalancingScheme');
  metadataFilters = registerOutput<List<Map<String, dynamic>>>('metadataFilters');
  this.name = registerOutput<String>('name');
  network = registerOutput<String>('network');
  networkTier = registerOutput<String>('networkTier');
  noAutomateDnsZone = registerOutput<bool>('noAutomateDnsZone');
  portRange = registerOutput<String>('portRange');
  ports = registerOutput<List<String>>('ports');
  project = registerOutput<String>('project');
  pscConnectionId = registerOutput<String>('pscConnectionId');
  pscConnectionStatus = registerOutput<String>('pscConnectionStatus');
  region = registerOutput<String>('region');
  requestId = registerOutput<String?>('requestId');
  selfLink = registerOutput<String>('selfLink');
  selfLinkWithId = registerOutput<String>('selfLinkWithId');
  serviceDirectoryRegistrations = registerOutput<List<Map<String, dynamic>>>('serviceDirectoryRegistrations');
  serviceLabel = registerOutput<String>('serviceLabel');
  serviceName = registerOutput<String>('serviceName');
  sourceIpRanges = registerOutput<List<String>>('sourceIpRanges');
  subnetwork = registerOutput<String>('subnetwork');
  target = registerOutput<String>('target');
}