InterceptDeploymentGroup constructor

InterceptDeploymentGroup(
  1. String name, {
  2. InterceptDeploymentGroupArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

InterceptDeploymentGroup(
  String name, {
  InterceptDeploymentGroupArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:networksecurity/interceptDeploymentGroup:InterceptDeploymentGroup',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
        additionalSecretOutputs: const ['effectiveLabels', 'pulumiLabels'],
      ) {
  connectedEndpointGroups = registerOutput<List<InterceptDeploymentGroupConnectedEndpointGroup>>('connectedEndpointGroups', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<InterceptDeploymentGroupConnectedEndpointGroup>(guardedValue, (value) => InterceptDeploymentGroupConnectedEndpointGroup.fromMap((value as Map).cast<String, dynamic>())); });
  createTime = registerOutput<String>('createTime');
  deletionPolicy = registerOutput<String>('deletionPolicy');
  description = registerOutput<String?>('description');
  effectiveLabels = registerOutput<Map<String, String>>('effectiveLabels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); }, isSecret: true);
  interceptDeploymentGroupId = registerOutput<String>('interceptDeploymentGroupId');
  labels = registerOutput<Map<String, String>?>('labels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
  location = registerOutput<String>('location');
  locations = registerOutput<List<InterceptDeploymentGroupLocation>>('locations', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<InterceptDeploymentGroupLocation>(guardedValue, (value) => InterceptDeploymentGroupLocation.fromMap((value as Map).cast<String, dynamic>())); });
  this.name = registerOutput<String>('name');
  network = registerOutput<String>('network');
  project = registerOutput<String>('project');
  pulumiLabels = registerOutput<Map<String, String>>('pulumiLabels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); }, isSecret: true);
  reconciling = registerOutput<bool>('reconciling');
  state = registerOutput<String>('state');
  updateTime = registerOutput<String>('updateTime');
}