SecurityProfile constructor
SecurityProfile(
- String name, {
- SecurityProfileArgs? args,
- CustomResourceOptions? options,
Creates a new SecurityProfile.
name The Pulumi resource name.
args Arguments used to configure this SecurityProfile. The set of arguments for SecurityProfile.
options Resource options controlling this resource's behavior.
Implementation
SecurityProfile(
String name, {
SecurityProfileArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:networksecurity/v1beta1:SecurityProfile',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
createTime = registerOutput<String>('createTime');
description = registerOutput<String>('description');
etag = registerOutput<String>('etag');
labels = registerOutput<Map<String, String>>('labels');
location = registerOutput<String>('location');
this.name = registerOutput<String>('name');
organizationId = registerOutput<String>('organizationId');
securityProfileId = registerOutput<String>('securityProfileId');
threatPreventionProfile = registerOutput<ThreatPreventionProfileResponse>('threatPreventionProfile', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ThreatPreventionProfileResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
type = registerOutput<String>('type');
updateTime = registerOutput<String>('updateTime');
}