FirewallComputeV1 constructor
FirewallComputeV1(
- String name, {
- FirewallComputeV1Args? args,
- CustomResourceOptions? options,
Creates a new FirewallComputeV1.
name The Pulumi resource name.
args Arguments used to configure this FirewallComputeV1. The set of arguments for Firewall.
options Resource options controlling this resource's behavior.
Implementation
FirewallComputeV1(
String name, {
FirewallComputeV1Args? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:compute/v1:Firewall',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
allowed = registerOutput<List<Map<String, dynamic>>>('allowed');
creationTimestamp = registerOutput<String>('creationTimestamp');
denied = registerOutput<List<Map<String, dynamic>>>('denied');
description = registerOutput<String>('description');
destinationRanges = registerOutput<List<String>>('destinationRanges');
direction = registerOutput<String>('direction');
disabled = registerOutput<bool>('disabled');
kind = registerOutput<String>('kind');
logConfig = registerOutput<FirewallLogConfigResponseComputeV1>('logConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return FirewallLogConfigResponseComputeV1.fromMap((guardedValue as Map).cast<String, dynamic>()); });
this.name = registerOutput<String>('name');
network = registerOutput<String>('network');
priority = registerOutput<int>('priority');
project = registerOutput<String>('project');
requestId = registerOutput<String?>('requestId');
selfLink = registerOutput<String>('selfLink');
sourceRanges = registerOutput<List<String>>('sourceRanges');
sourceServiceAccounts = registerOutput<List<String>>('sourceServiceAccounts');
sourceTags = registerOutput<List<String>>('sourceTags');
targetServiceAccounts = registerOutput<List<String>>('targetServiceAccounts');
targetTags = registerOutput<List<String>>('targetTags');
}