GoogleComputeGlobalAddress constructor
GoogleComputeGlobalAddress({
- required String localName,
- required TfArg<
String> name, - TfArg<
GlobalAddressType> ? addressType, - TfArg<
GlobalAddressPurpose> ? purpose, - TfArg<
GlobalAddressIpVersion> ? ipVersion, - TfArg<
String> ? address, - TfArg<
num> ? prefixLength, - TfArg<
String> ? network, - TfArg<
Map< ? labels,String, String> > - TfArg<
String> ? description, - TfArg<
String> ? project, - LifecycleOptions? lifecycle,
- List<
DependencyTarget> ? dependsOn,
Implementation
GoogleComputeGlobalAddress({
required super.localName,
required TfArg<String> name,
TfArg<GlobalAddressType>? addressType,
TfArg<GlobalAddressPurpose>? purpose,
TfArg<GlobalAddressIpVersion>? ipVersion,
TfArg<String>? address,
TfArg<num>? prefixLength,
TfArg<String>? network,
TfArg<Map<String, String>>? labels,
TfArg<String>? description,
TfArg<String>? project,
super.lifecycle,
super.dependsOn,
}) : super(
terraformType: $tfType,
argMap: {
'name': name,
if (addressType != null) 'address_type': addressType,
if (purpose != null) 'purpose': purpose,
if (ipVersion != null) 'ip_version': ipVersion,
if (address != null) 'address': address,
if (prefixLength != null) 'prefix_length': prefixLength,
if (network != null) 'network': network,
if (labels != null) 'labels': labels,
if (description != null) 'description': description,
if (project != null) 'project': project,
},
);