WorkloadIdentityServiceAgent constructor

WorkloadIdentityServiceAgent(
  1. String name, {
  2. WorkloadIdentityServiceAgentArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

WorkloadIdentityServiceAgent(
  String name, {
  WorkloadIdentityServiceAgentArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:iam/workloadIdentityServiceAgent:WorkloadIdentityServiceAgent',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
      ) {
  parent = registerOutput<String>('parent');
  serviceAgents = registerOutput<List<WorkloadIdentityServiceAgentServiceAgent>>('serviceAgents', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<WorkloadIdentityServiceAgentServiceAgent>(guardedValue, (value) => WorkloadIdentityServiceAgentServiceAgent.fromMap((value as Map).cast<String, dynamic>())); });
}