gcp.apigee.ControlPlaneAccess
Explore with Pulumi AI
Authorize the Runtime components to access directly with Apigee Control Plane.
To get more information about ControlPlaneAccess, see:
- API documentation
- How-to Guides
Example Usage
Apigee Control Plane Access Basic Test
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const project = new gcp.organizations.Project("project", {
projectId: "my-project",
name: "my-project",
orgId: "123456789",
billingAccount: "000000-0000000-0000000-000000",
deletionPolicy: "DELETE",
});
const apigee = new gcp.projects.Service("apigee", {
project: project.projectId,
service: "apigee.googleapis.com",
});
const apigeeOrg = new gcp.apigee.Organization("apigee_org", {
analyticsRegion: "us-central1",
projectId: project.projectId,
runtimeType: "HYBRID",
}, {
dependsOn: [apigee],
});
const serviceAccount = new gcp.serviceaccount.Account("service_account", {
accountId: "my-account",
displayName: "Service Account",
});
const synchronizer_iam = new gcp.projects.IAMMember("synchronizer-iam", {
project: project.projectId,
role: "roles/apigee.synchronizerManager",
member: pulumi.interpolate`serviceAccount:${serviceAccount.email}`,
});
const apigeeControlPlaneAccess = new gcp.apigee.ControlPlaneAccess("apigee_control_plane_access", {
name: apigeeOrg.name,
synchronizerIdentities: [pulumi.interpolate`serviceAccount:${serviceAccount.email}`],
analyticsPublisherIdentities: [pulumi.interpolate`serviceAccount:${serviceAccount.email}`],
});
import pulumi
import pulumi_gcp as gcp
project = gcp.organizations.Project("project",
project_id="my-project",
name="my-project",
org_id="123456789",
billing_account="000000-0000000-0000000-000000",
deletion_policy="DELETE")
apigee = gcp.projects.Service("apigee",
project=project.project_id,
service="apigee.googleapis.com")
apigee_org = gcp.apigee.Organization("apigee_org",
analytics_region="us-central1",
project_id=project.project_id,
runtime_type="HYBRID",
opts = pulumi.ResourceOptions(depends_on=[apigee]))
service_account = gcp.serviceaccount.Account("service_account",
account_id="my-account",
display_name="Service Account")
synchronizer_iam = gcp.projects.IAMMember("synchronizer-iam",
project=project.project_id,
role="roles/apigee.synchronizerManager",
member=service_account.email.apply(lambda email: f"serviceAccount:{email}"))
apigee_control_plane_access = gcp.apigee.ControlPlaneAccess("apigee_control_plane_access",
name=apigee_org.name,
synchronizer_identities=[service_account.email.apply(lambda email: f"serviceAccount:{email}")],
analytics_publisher_identities=[service_account.email.apply(lambda email: f"serviceAccount:{email}")])
package main
import (
"fmt"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/apigee"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/projects"
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/serviceaccount"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
project, err := organizations.NewProject(ctx, "project", &organizations.ProjectArgs{
ProjectId: pulumi.String("my-project"),
Name: pulumi.String("my-project"),
OrgId: pulumi.String("123456789"),
BillingAccount: pulumi.String("000000-0000000-0000000-000000"),
DeletionPolicy: pulumi.String("DELETE"),
})
if err != nil {
return err
}
apigee, err := projects.NewService(ctx, "apigee", &projects.ServiceArgs{
Project: project.ProjectId,
Service: pulumi.String("apigee.googleapis.com"),
})
if err != nil {
return err
}
apigeeOrg, err := apigee.NewOrganization(ctx, "apigee_org", &apigee.OrganizationArgs{
AnalyticsRegion: pulumi.String("us-central1"),
ProjectId: project.ProjectId,
RuntimeType: pulumi.String("HYBRID"),
}, pulumi.DependsOn([]pulumi.Resource{
apigee,
}))
if err != nil {
return err
}
serviceAccount, err := serviceaccount.NewAccount(ctx, "service_account", &serviceaccount.AccountArgs{
AccountId: pulumi.String("my-account"),
DisplayName: pulumi.String("Service Account"),
})
if err != nil {
return err
}
_, err = projects.NewIAMMember(ctx, "synchronizer-iam", &projects.IAMMemberArgs{
Project: project.ProjectId,
Role: pulumi.String("roles/apigee.synchronizerManager"),
Member: serviceAccount.Email.ApplyT(func(email string) (string, error) {
return fmt.Sprintf("serviceAccount:%v", email), nil
}).(pulumi.StringOutput),
})
if err != nil {
return err
}
_, err = apigee.NewControlPlaneAccess(ctx, "apigee_control_plane_access", &apigee.ControlPlaneAccessArgs{
Name: apigeeOrg.Name,
SynchronizerIdentities: pulumi.StringArray{
serviceAccount.Email.ApplyT(func(email string) (string, error) {
return fmt.Sprintf("serviceAccount:%v", email), nil
}).(pulumi.StringOutput),
},
AnalyticsPublisherIdentities: pulumi.StringArray{
serviceAccount.Email.ApplyT(func(email string) (string, error) {
return fmt.Sprintf("serviceAccount:%v", email), nil
}).(pulumi.StringOutput),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var project = new Gcp.Organizations.Project("project", new()
{
ProjectId = "my-project",
Name = "my-project",
OrgId = "123456789",
BillingAccount = "000000-0000000-0000000-000000",
DeletionPolicy = "DELETE",
});
var apigee = new Gcp.Projects.Service("apigee", new()
{
Project = project.ProjectId,
ServiceName = "apigee.googleapis.com",
});
var apigeeOrg = new Gcp.Apigee.Organization("apigee_org", new()
{
AnalyticsRegion = "us-central1",
ProjectId = project.ProjectId,
RuntimeType = "HYBRID",
}, new CustomResourceOptions
{
DependsOn =
{
apigee,
},
});
var serviceAccount = new Gcp.ServiceAccount.Account("service_account", new()
{
AccountId = "my-account",
DisplayName = "Service Account",
});
var synchronizer_iam = new Gcp.Projects.IAMMember("synchronizer-iam", new()
{
Project = project.ProjectId,
Role = "roles/apigee.synchronizerManager",
Member = serviceAccount.Email.Apply(email => $"serviceAccount:{email}"),
});
var apigeeControlPlaneAccess = new Gcp.Apigee.ControlPlaneAccess("apigee_control_plane_access", new()
{
Name = apigeeOrg.Name,
SynchronizerIdentities = new[]
{
serviceAccount.Email.Apply(email => $"serviceAccount:{email}"),
},
AnalyticsPublisherIdentities = new[]
{
serviceAccount.Email.Apply(email => $"serviceAccount:{email}"),
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.organizations.Project;
import com.pulumi.gcp.organizations.ProjectArgs;
import com.pulumi.gcp.projects.Service;
import com.pulumi.gcp.projects.ServiceArgs;
import com.pulumi.gcp.apigee.Organization;
import com.pulumi.gcp.apigee.OrganizationArgs;
import com.pulumi.gcp.serviceaccount.Account;
import com.pulumi.gcp.serviceaccount.AccountArgs;
import com.pulumi.gcp.projects.IAMMember;
import com.pulumi.gcp.projects.IAMMemberArgs;
import com.pulumi.gcp.apigee.ControlPlaneAccess;
import com.pulumi.gcp.apigee.ControlPlaneAccessArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
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 project = new Project("project", ProjectArgs.builder()
.projectId("my-project")
.name("my-project")
.orgId("123456789")
.billingAccount("000000-0000000-0000000-000000")
.deletionPolicy("DELETE")
.build());
var apigee = new Service("apigee", ServiceArgs.builder()
.project(project.projectId())
.service("apigee.googleapis.com")
.build());
var apigeeOrg = new Organization("apigeeOrg", OrganizationArgs.builder()
.analyticsRegion("us-central1")
.projectId(project.projectId())
.runtimeType("HYBRID")
.build(), CustomResourceOptions.builder()
.dependsOn(apigee)
.build());
var serviceAccount = new Account("serviceAccount", AccountArgs.builder()
.accountId("my-account")
.displayName("Service Account")
.build());
var synchronizer_iam = new IAMMember("synchronizer-iam", IAMMemberArgs.builder()
.project(project.projectId())
.role("roles/apigee.synchronizerManager")
.member(serviceAccount.email().applyValue(_email -> String.format("serviceAccount:%s", _email)))
.build());
var apigeeControlPlaneAccess = new ControlPlaneAccess("apigeeControlPlaneAccess", ControlPlaneAccessArgs.builder()
.name(apigeeOrg.name())
.synchronizerIdentities(serviceAccount.email().applyValue(_email -> String.format("serviceAccount:%s", _email)))
.analyticsPublisherIdentities(serviceAccount.email().applyValue(_email -> String.format("serviceAccount:%s", _email)))
.build());
}
}
resources:
project:
type: gcp:organizations:Project
properties:
projectId: my-project
name: my-project
orgId: '123456789'
billingAccount: 000000-0000000-0000000-000000
deletionPolicy: DELETE
apigee:
type: gcp:projects:Service
properties:
project: ${project.projectId}
service: apigee.googleapis.com
apigeeOrg:
type: gcp:apigee:Organization
name: apigee_org
properties:
analyticsRegion: us-central1
projectId: ${project.projectId}
runtimeType: HYBRID
options:
dependsOn:
- ${apigee}
serviceAccount:
type: gcp:serviceaccount:Account
name: service_account
properties:
accountId: my-account
displayName: Service Account
synchronizer-iam:
type: gcp:projects:IAMMember
properties:
project: ${project.projectId}
role: roles/apigee.synchronizerManager
member: serviceAccount:${serviceAccount.email}
apigeeControlPlaneAccess:
type: gcp:apigee:ControlPlaneAccess
name: apigee_control_plane_access
properties:
name: ${apigeeOrg.name}
synchronizerIdentities:
- serviceAccount:${serviceAccount.email}
analyticsPublisherIdentities:
- serviceAccount:${serviceAccount.email}
Create ControlPlaneAccess Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ControlPlaneAccess(name: string, args?: ControlPlaneAccessArgs, opts?: CustomResourceOptions);
@overload
def ControlPlaneAccess(resource_name: str,
args: Optional[ControlPlaneAccessArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ControlPlaneAccess(resource_name: str,
opts: Optional[ResourceOptions] = None,
analytics_publisher_identities: Optional[Sequence[str]] = None,
name: Optional[str] = None,
synchronizer_identities: Optional[Sequence[str]] = None)
func NewControlPlaneAccess(ctx *Context, name string, args *ControlPlaneAccessArgs, opts ...ResourceOption) (*ControlPlaneAccess, error)
public ControlPlaneAccess(string name, ControlPlaneAccessArgs? args = null, CustomResourceOptions? opts = null)
public ControlPlaneAccess(String name, ControlPlaneAccessArgs args)
public ControlPlaneAccess(String name, ControlPlaneAccessArgs args, CustomResourceOptions options)
type: gcp:apigee:ControlPlaneAccess
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ControlPlaneAccessArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ControlPlaneAccessArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ControlPlaneAccessArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ControlPlaneAccessArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ControlPlaneAccessArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var controlPlaneAccessResource = new Gcp.Apigee.ControlPlaneAccess("controlPlaneAccessResource", new()
{
AnalyticsPublisherIdentities = new[]
{
"string",
},
Name = "string",
SynchronizerIdentities = new[]
{
"string",
},
});
example, err := apigee.NewControlPlaneAccess(ctx, "controlPlaneAccessResource", &apigee.ControlPlaneAccessArgs{
AnalyticsPublisherIdentities: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
SynchronizerIdentities: pulumi.StringArray{
pulumi.String("string"),
},
})
var controlPlaneAccessResource = new ControlPlaneAccess("controlPlaneAccessResource", ControlPlaneAccessArgs.builder()
.analyticsPublisherIdentities("string")
.name("string")
.synchronizerIdentities("string")
.build());
control_plane_access_resource = gcp.apigee.ControlPlaneAccess("controlPlaneAccessResource",
analytics_publisher_identities=["string"],
name="string",
synchronizer_identities=["string"])
const controlPlaneAccessResource = new gcp.apigee.ControlPlaneAccess("controlPlaneAccessResource", {
analyticsPublisherIdentities: ["string"],
name: "string",
synchronizerIdentities: ["string"],
});
type: gcp:apigee:ControlPlaneAccess
properties:
analyticsPublisherIdentities:
- string
name: string
synchronizerIdentities:
- string
ControlPlaneAccess Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ControlPlaneAccess resource accepts the following input properties:
- Analytics
Publisher List<string>Identities - Array of service accounts authorized to publish analytics data to the control plane, each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. - Name string
- Name of the Apigee organization.
- Synchronizer
Identities List<string> - Array of service accounts to grant access to control plane resources (for the Synchronizer component), each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. The service accounts must have Apigee Synchronizer Manager role. See also Create service accounts.
- Analytics
Publisher []stringIdentities - Array of service accounts authorized to publish analytics data to the control plane, each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. - Name string
- Name of the Apigee organization.
- Synchronizer
Identities []string - Array of service accounts to grant access to control plane resources (for the Synchronizer component), each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. The service accounts must have Apigee Synchronizer Manager role. See also Create service accounts.
- analytics
Publisher List<String>Identities - Array of service accounts authorized to publish analytics data to the control plane, each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. - name String
- Name of the Apigee organization.
- synchronizer
Identities List<String> - Array of service accounts to grant access to control plane resources (for the Synchronizer component), each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. The service accounts must have Apigee Synchronizer Manager role. See also Create service accounts.
- analytics
Publisher string[]Identities - Array of service accounts authorized to publish analytics data to the control plane, each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. - name string
- Name of the Apigee organization.
- synchronizer
Identities string[] - Array of service accounts to grant access to control plane resources (for the Synchronizer component), each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. The service accounts must have Apigee Synchronizer Manager role. See also Create service accounts.
- analytics_
publisher_ Sequence[str]identities - Array of service accounts authorized to publish analytics data to the control plane, each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. - name str
- Name of the Apigee organization.
- synchronizer_
identities Sequence[str] - Array of service accounts to grant access to control plane resources (for the Synchronizer component), each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. The service accounts must have Apigee Synchronizer Manager role. See also Create service accounts.
- analytics
Publisher List<String>Identities - Array of service accounts authorized to publish analytics data to the control plane, each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. - name String
- Name of the Apigee organization.
- synchronizer
Identities List<String> - Array of service accounts to grant access to control plane resources (for the Synchronizer component), each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. The service accounts must have Apigee Synchronizer Manager role. See also Create service accounts.
Outputs
All input properties are implicitly available as output properties. Additionally, the ControlPlaneAccess resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ControlPlaneAccess Resource
Get an existing ControlPlaneAccess resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ControlPlaneAccessState, opts?: CustomResourceOptions): ControlPlaneAccess
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
analytics_publisher_identities: Optional[Sequence[str]] = None,
name: Optional[str] = None,
synchronizer_identities: Optional[Sequence[str]] = None) -> ControlPlaneAccess
func GetControlPlaneAccess(ctx *Context, name string, id IDInput, state *ControlPlaneAccessState, opts ...ResourceOption) (*ControlPlaneAccess, error)
public static ControlPlaneAccess Get(string name, Input<string> id, ControlPlaneAccessState? state, CustomResourceOptions? opts = null)
public static ControlPlaneAccess get(String name, Output<String> id, ControlPlaneAccessState state, CustomResourceOptions options)
resources: _: type: gcp:apigee:ControlPlaneAccess get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Analytics
Publisher List<string>Identities - Array of service accounts authorized to publish analytics data to the control plane, each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. - Name string
- Name of the Apigee organization.
- Synchronizer
Identities List<string> - Array of service accounts to grant access to control plane resources (for the Synchronizer component), each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. The service accounts must have Apigee Synchronizer Manager role. See also Create service accounts.
- Analytics
Publisher []stringIdentities - Array of service accounts authorized to publish analytics data to the control plane, each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. - Name string
- Name of the Apigee organization.
- Synchronizer
Identities []string - Array of service accounts to grant access to control plane resources (for the Synchronizer component), each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. The service accounts must have Apigee Synchronizer Manager role. See also Create service accounts.
- analytics
Publisher List<String>Identities - Array of service accounts authorized to publish analytics data to the control plane, each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. - name String
- Name of the Apigee organization.
- synchronizer
Identities List<String> - Array of service accounts to grant access to control plane resources (for the Synchronizer component), each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. The service accounts must have Apigee Synchronizer Manager role. See also Create service accounts.
- analytics
Publisher string[]Identities - Array of service accounts authorized to publish analytics data to the control plane, each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. - name string
- Name of the Apigee organization.
- synchronizer
Identities string[] - Array of service accounts to grant access to control plane resources (for the Synchronizer component), each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. The service accounts must have Apigee Synchronizer Manager role. See also Create service accounts.
- analytics_
publisher_ Sequence[str]identities - Array of service accounts authorized to publish analytics data to the control plane, each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. - name str
- Name of the Apigee organization.
- synchronizer_
identities Sequence[str] - Array of service accounts to grant access to control plane resources (for the Synchronizer component), each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. The service accounts must have Apigee Synchronizer Manager role. See also Create service accounts.
- analytics
Publisher List<String>Identities - Array of service accounts authorized to publish analytics data to the control plane, each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. - name String
- Name of the Apigee organization.
- synchronizer
Identities List<String> - Array of service accounts to grant access to control plane resources (for the Synchronizer component), each specified using the following format:
serviceAccount:service-account-name
. Theservice-account-name
is formatted like an email address. For example: serviceAccount@my_project_id.iam.gserviceaccount.com You might specify multiple service accounts, for example, if you have multiple environments and wish to assign a unique service account to each one. The service accounts must have Apigee Synchronizer Manager role. See also Create service accounts.
Import
ControlPlaneAccess can be imported using any of these accepted formats:
organizations/{{name}}/controlPlaneAccess
{{name}}
When using the pulumi import
command, ControlPlaneAccess can be imported using one of the formats above. For example:
$ pulumi import gcp:apigee/controlPlaneAccess:ControlPlaneAccess default organizations/{{name}}/controlPlaneAccess
$ pulumi import gcp:apigee/controlPlaneAccess:ControlPlaneAccess default {{name}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.