AclConfig class

Access Control Configuration.

To get more information about AclConfig, see:

Example Usage

Discoveryengine Aclconfig Basic

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const basic = new gcp.discoveryengine.AclConfig("basic", {
    location: "global",
    idpConfig: {
        idpType: "THIRD_PARTY",
        externalIdpConfig: {
            workforcePoolName: "locations/global/workforcePools/cloud-console-pool-manual",
        },
    },
});
import pulumi
import pulumi_gcp as gcp

basic = gcp.discoveryengine.AclConfig("basic",
    location="global",
    idp_config={
        "idp_type": "THIRD_PARTY",
        "external_idp_config": {
            "workforce_pool_name": "locations/global/workforcePools/cloud-console-pool-manual",
        },
    })
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() =>
{
    var basic = new Gcp.DiscoveryEngine.AclConfig("basic", new()
    {
        Location = "global",
        IdpConfig = new Gcp.DiscoveryEngine.Inputs.AclConfigIdpConfigArgs
        {
            IdpType = "THIRD_PARTY",
            ExternalIdpConfig = new Gcp.DiscoveryEngine.Inputs.AclConfigIdpConfigExternalIdpConfigArgs
            {
                WorkforcePoolName = "locations/global/workforcePools/cloud-console-pool-manual",
            },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/discoveryengine"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := discoveryengine.NewAclConfig(ctx, "basic", &discoveryengine.AclConfigArgs{
			Location: pulumi.String("global"),
			IdpConfig: &discoveryengine.AclConfigIdpConfigArgs{
				IdpType: pulumi.String("THIRD_PARTY"),
				ExternalIdpConfig: &discoveryengine.AclConfigIdpConfigExternalIdpConfigArgs{
					WorkforcePoolName: pulumi.String("locations/global/workforcePools/cloud-console-pool-manual"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
pulumi {
  required_providers {
    gcp = {
      source = "pulumi/gcp"
    }
  }
}

resource "gcp_discoveryengine_aclconfig" "basic" {
  location = "global"
  idp_config = {
    idp_type = "THIRD_PARTY"
    external_idp_config = {
      workforce_pool_name = "locations/global/workforcePools/cloud-console-pool-manual"
    }
  }
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.discoveryengine.AclConfig;
import com.pulumi.gcp.discoveryengine.AclConfigArgs;
import com.pulumi.gcp.discoveryengine.inputs.AclConfigIdpConfigArgs;
import com.pulumi.gcp.discoveryengine.inputs.AclConfigIdpConfigExternalIdpConfigArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var basic = new AclConfig("basic", AclConfigArgs.builder()
            .location("global")
            .idpConfig(AclConfigIdpConfigArgs.builder()
                .idpType("THIRD_PARTY")
                .externalIdpConfig(AclConfigIdpConfigExternalIdpConfigArgs.builder()
                    .workforcePoolName("locations/global/workforcePools/cloud-console-pool-manual")
                    .build())
                .build())
            .build());

    }
}
resources:
  basic:
    type: gcp:discoveryengine:AclConfig
    properties:
      location: global
      idpConfig:
        idpType: THIRD_PARTY
        externalIdpConfig:
          workforcePoolName: locations/global/workforcePools/cloud-console-pool-manual

Import

AclConfig can be imported using any of these accepted formats:

  • projects/{{project}}/locations/{{location}}/aclConfig
  • {{project}}/{{location}}
  • {{location}}

When using the pulumi import command, AclConfig can be imported using one of the formats above. For example:

$ pulumi import gcp:discoveryengine/aclConfig:AclConfig default projects/{{project}}/locations/{{location}}/aclConfig
$ pulumi import gcp:discoveryengine/aclConfig:AclConfig default {{project}}/{{location}}
$ pulumi import gcp:discoveryengine/aclConfig:AclConfig default {{location}}

Constructors

AclConfig(String name, {AclConfigArgs? args, CustomResourceOptions? options})
Creates a new AclConfig. name The Pulumi resource name. args Arguments used to configure this AclConfig. The set of arguments for AclConfig. options Resource options controlling this resource's behavior.
AclConfig.reference(String urn)
Creates a typed reference to an existing AclConfig resource.

Properties

childResources → Set<Resource>
finalinherited
completionSources ↔ Map<String, IOutputCompletionSource>
latefinalinherited
hashCode → int
The hash code for this object.
no setterinherited
id ↔ Output<String>
getter/setter pairinherited
idpConfig ↔ Output<AclConfigIdpConfig?>
Identity provider config. Structure is documented below.
latefinal
isCustom → bool
Returns whether this resource is provider-managed.
no setterinherited
isProtected → bool
Returns whether this resource is protected from deletion.
no setterinherited
isRemote → bool
Whether this resource is registered as remote.
no setterinherited
isResourceReference → bool
Whether this instance represents a resource value returned over RPC.
finalinherited
location ↔ Output<String>
The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
latefinal
name ↔ Output<String>
The unique full resource name of the aclConfig. Values are of the format projects/{project}/locations/{location}/aclConfig.
latefinal
project ↔ Output<String>
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
latefinal
resourceTransforms → List<ResourceTransform>
Inherited/explicit async transforms.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
transformations → List<ResourceTransformation>
Inherited/explicit legacy transformations.
no setterinherited
urn ↔ Output<String>
latefinalinherited

Methods

failId(Object error) → void
Completes this resource ID with an error when registration fails.
inherited
failOutputs(Object error) → void
Completes all output properties with error.
inherited
failUrn(Object error) → void
Completes this resource URN with an error when registration fails.
inherited
getProvider(String moduleMember) → ProviderResource?
Returns provider for moduleMember's package, if configured.
inherited
getResourceName() → String
Returns this resource's logical name.
inherited
getResourceType() → String
Returns this resource's Pulumi type token.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerOutput<T>(String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output<T>
Registers a dynamic output property for this resource.
inherited
resolveId(String? value, {required bool isKnown}) → void
Resolves the provider-assigned ID for this resource.
inherited
resolveOutputs(Struct outputs) → void
Resolves all output properties from a monitor response payload.
inherited
resolveUrn(String value) → void
Resolves this resource's URN once assigned by the engine.
inherited
serializeProperties(Map<String, dynamic> properties) → Future<Struct>
Serializes resource properties for RPC transmission.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

get(String name, Input<String> id, {AclConfigState? state, CustomResourceOptions? options}) → AclConfig
Gets an existing AclConfig resource's state with the given name and id.