gcp.apigee.AddonsConfig
Explore with Pulumi AI
Configures the add-ons for the Apigee organization. The existing add-on configuration will be fully replaced.
To get more information about AddonsConfig, see:
- API documentation
- How-to Guides
Example Usage
Apigee Addons Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const testOrganization = new gcp.apigee.AddonsConfig("test_organization", {
    org: "test_organization",
    addonsConfig: {
        apiSecurityConfig: {
            enabled: true,
        },
        monetizationConfig: {
            enabled: true,
        },
    },
});
import pulumi
import pulumi_gcp as gcp
test_organization = gcp.apigee.AddonsConfig("test_organization",
    org="test_organization",
    addons_config={
        "api_security_config": {
            "enabled": True,
        },
        "monetization_config": {
            "enabled": True,
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/apigee"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := apigee.NewAddonsConfig(ctx, "test_organization", &apigee.AddonsConfigArgs{
			Org: pulumi.String("test_organization"),
			AddonsConfig: &apigee.AddonsConfigAddonsConfigArgs{
				ApiSecurityConfig: &apigee.AddonsConfigAddonsConfigApiSecurityConfigArgs{
					Enabled: pulumi.Bool(true),
				},
				MonetizationConfig: &apigee.AddonsConfigAddonsConfigMonetizationConfigArgs{
					Enabled: pulumi.Bool(true),
				},
			},
		})
		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 testOrganization = new Gcp.Apigee.AddonsConfig("test_organization", new()
    {
        Org = "test_organization",
        AddonsConfigDetails = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigArgs
        {
            ApiSecurityConfig = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigApiSecurityConfigArgs
            {
                Enabled = true,
            },
            MonetizationConfig = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigMonetizationConfigArgs
            {
                Enabled = true,
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.apigee.AddonsConfig;
import com.pulumi.gcp.apigee.AddonsConfigArgs;
import com.pulumi.gcp.apigee.inputs.AddonsConfigAddonsConfigArgs;
import com.pulumi.gcp.apigee.inputs.AddonsConfigAddonsConfigApiSecurityConfigArgs;
import com.pulumi.gcp.apigee.inputs.AddonsConfigAddonsConfigMonetizationConfigArgs;
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 testOrganization = new AddonsConfig("testOrganization", AddonsConfigArgs.builder()
            .org("test_organization")
            .addonsConfig(AddonsConfigAddonsConfigArgs.builder()
                .apiSecurityConfig(AddonsConfigAddonsConfigApiSecurityConfigArgs.builder()
                    .enabled(true)
                    .build())
                .monetizationConfig(AddonsConfigAddonsConfigMonetizationConfigArgs.builder()
                    .enabled(true)
                    .build())
                .build())
            .build());
    }
}
resources:
  testOrganization:
    type: gcp:apigee:AddonsConfig
    name: test_organization
    properties:
      org: test_organization
      addonsConfig:
        apiSecurityConfig:
          enabled: true
        monetizationConfig:
          enabled: true
Apigee Addons Full
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const current = gcp.organizations.getClientConfig({});
const apigee = new gcp.projects.Service("apigee", {
    project: current.then(current => current.project),
    service: "apigee.googleapis.com",
});
const compute = new gcp.projects.Service("compute", {
    project: current.then(current => current.project),
    service: "compute.googleapis.com",
});
const servicenetworking = new gcp.projects.Service("servicenetworking", {
    project: current.then(current => current.project),
    service: "servicenetworking.googleapis.com",
});
const apigeeNetwork = new gcp.compute.Network("apigee_network", {
    name: "apigee-network",
    project: current.then(current => current.project),
}, {
    dependsOn: [compute],
});
const apigeeRange = new gcp.compute.GlobalAddress("apigee_range", {
    name: "apigee-range",
    purpose: "VPC_PEERING",
    addressType: "INTERNAL",
    prefixLength: 16,
    network: apigeeNetwork.id,
    project: current.then(current => current.project),
});
const apigeeVpcConnection = new gcp.servicenetworking.Connection("apigee_vpc_connection", {
    network: apigeeNetwork.id,
    service: "servicenetworking.googleapis.com",
    reservedPeeringRanges: [apigeeRange.name],
});
const org = new gcp.apigee.Organization("org", {
    analyticsRegion: "us-central1",
    projectId: current.then(current => current.project),
    authorizedNetwork: apigeeNetwork.id,
    billingType: "EVALUATION",
}, {
    dependsOn: [
        apigeeVpcConnection,
        apigee,
    ],
});
const testOrganization = new gcp.apigee.AddonsConfig("test_organization", {
    org: org.name,
    addonsConfig: {
        integrationConfig: {
            enabled: true,
        },
        apiSecurityConfig: {
            enabled: true,
        },
        connectorsPlatformConfig: {
            enabled: true,
        },
        monetizationConfig: {
            enabled: true,
        },
        advancedApiOpsConfig: {
            enabled: true,
        },
    },
});
import pulumi
import pulumi_gcp as gcp
current = gcp.organizations.get_client_config()
apigee = gcp.projects.Service("apigee",
    project=current.project,
    service="apigee.googleapis.com")
compute = gcp.projects.Service("compute",
    project=current.project,
    service="compute.googleapis.com")
servicenetworking = gcp.projects.Service("servicenetworking",
    project=current.project,
    service="servicenetworking.googleapis.com")
apigee_network = gcp.compute.Network("apigee_network",
    name="apigee-network",
    project=current.project,
    opts = pulumi.ResourceOptions(depends_on=[compute]))
apigee_range = gcp.compute.GlobalAddress("apigee_range",
    name="apigee-range",
    purpose="VPC_PEERING",
    address_type="INTERNAL",
    prefix_length=16,
    network=apigee_network.id,
    project=current.project)
apigee_vpc_connection = gcp.servicenetworking.Connection("apigee_vpc_connection",
    network=apigee_network.id,
    service="servicenetworking.googleapis.com",
    reserved_peering_ranges=[apigee_range.name])
org = gcp.apigee.Organization("org",
    analytics_region="us-central1",
    project_id=current.project,
    authorized_network=apigee_network.id,
    billing_type="EVALUATION",
    opts = pulumi.ResourceOptions(depends_on=[
            apigee_vpc_connection,
            apigee,
        ]))
test_organization = gcp.apigee.AddonsConfig("test_organization",
    org=org.name,
    addons_config={
        "integration_config": {
            "enabled": True,
        },
        "api_security_config": {
            "enabled": True,
        },
        "connectors_platform_config": {
            "enabled": True,
        },
        "monetization_config": {
            "enabled": True,
        },
        "advanced_api_ops_config": {
            "enabled": True,
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/apigee"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
	"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/servicenetworking"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := organizations.GetClientConfig(ctx, map[string]interface{}{}, nil)
		if err != nil {
			return err
		}
		apigee, err := projects.NewService(ctx, "apigee", &projects.ServiceArgs{
			Project: pulumi.String(current.Project),
			Service: pulumi.String("apigee.googleapis.com"),
		})
		if err != nil {
			return err
		}
		compute, err := projects.NewService(ctx, "compute", &projects.ServiceArgs{
			Project: pulumi.String(current.Project),
			Service: pulumi.String("compute.googleapis.com"),
		})
		if err != nil {
			return err
		}
		_, err = projects.NewService(ctx, "servicenetworking", &projects.ServiceArgs{
			Project: pulumi.String(current.Project),
			Service: pulumi.String("servicenetworking.googleapis.com"),
		})
		if err != nil {
			return err
		}
		apigeeNetwork, err := compute.NewNetwork(ctx, "apigee_network", &compute.NetworkArgs{
			Name:    pulumi.String("apigee-network"),
			Project: pulumi.String(current.Project),
		}, pulumi.DependsOn([]pulumi.Resource{
			compute,
		}))
		if err != nil {
			return err
		}
		apigeeRange, err := compute.NewGlobalAddress(ctx, "apigee_range", &compute.GlobalAddressArgs{
			Name:         pulumi.String("apigee-range"),
			Purpose:      pulumi.String("VPC_PEERING"),
			AddressType:  pulumi.String("INTERNAL"),
			PrefixLength: pulumi.Int(16),
			Network:      apigeeNetwork.ID(),
			Project:      pulumi.String(current.Project),
		})
		if err != nil {
			return err
		}
		apigeeVpcConnection, err := servicenetworking.NewConnection(ctx, "apigee_vpc_connection", &servicenetworking.ConnectionArgs{
			Network: apigeeNetwork.ID(),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				apigeeRange.Name,
			},
		})
		if err != nil {
			return err
		}
		org, err := apigee.NewOrganization(ctx, "org", &apigee.OrganizationArgs{
			AnalyticsRegion:   pulumi.String("us-central1"),
			ProjectId:         pulumi.String(current.Project),
			AuthorizedNetwork: apigeeNetwork.ID(),
			BillingType:       pulumi.String("EVALUATION"),
		}, pulumi.DependsOn([]pulumi.Resource{
			apigeeVpcConnection,
			apigee,
		}))
		if err != nil {
			return err
		}
		_, err = apigee.NewAddonsConfig(ctx, "test_organization", &apigee.AddonsConfigArgs{
			Org: org.Name,
			AddonsConfig: &apigee.AddonsConfigAddonsConfigArgs{
				IntegrationConfig: &apigee.AddonsConfigAddonsConfigIntegrationConfigArgs{
					Enabled: pulumi.Bool(true),
				},
				ApiSecurityConfig: &apigee.AddonsConfigAddonsConfigApiSecurityConfigArgs{
					Enabled: pulumi.Bool(true),
				},
				ConnectorsPlatformConfig: &apigee.AddonsConfigAddonsConfigConnectorsPlatformConfigArgs{
					Enabled: pulumi.Bool(true),
				},
				MonetizationConfig: &apigee.AddonsConfigAddonsConfigMonetizationConfigArgs{
					Enabled: pulumi.Bool(true),
				},
				AdvancedApiOpsConfig: &apigee.AddonsConfigAddonsConfigAdvancedApiOpsConfigArgs{
					Enabled: pulumi.Bool(true),
				},
			},
		})
		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 current = Gcp.Organizations.GetClientConfig.Invoke();
    var apigee = new Gcp.Projects.Service("apigee", new()
    {
        Project = current.Apply(getClientConfigResult => getClientConfigResult.Project),
        ServiceName = "apigee.googleapis.com",
    });
    var compute = new Gcp.Projects.Service("compute", new()
    {
        Project = current.Apply(getClientConfigResult => getClientConfigResult.Project),
        ServiceName = "compute.googleapis.com",
    });
    var servicenetworking = new Gcp.Projects.Service("servicenetworking", new()
    {
        Project = current.Apply(getClientConfigResult => getClientConfigResult.Project),
        ServiceName = "servicenetworking.googleapis.com",
    });
    var apigeeNetwork = new Gcp.Compute.Network("apigee_network", new()
    {
        Name = "apigee-network",
        Project = current.Apply(getClientConfigResult => getClientConfigResult.Project),
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            compute,
        },
    });
    var apigeeRange = new Gcp.Compute.GlobalAddress("apigee_range", new()
    {
        Name = "apigee-range",
        Purpose = "VPC_PEERING",
        AddressType = "INTERNAL",
        PrefixLength = 16,
        Network = apigeeNetwork.Id,
        Project = current.Apply(getClientConfigResult => getClientConfigResult.Project),
    });
    var apigeeVpcConnection = new Gcp.ServiceNetworking.Connection("apigee_vpc_connection", new()
    {
        Network = apigeeNetwork.Id,
        Service = "servicenetworking.googleapis.com",
        ReservedPeeringRanges = new[]
        {
            apigeeRange.Name,
        },
    });
    var org = new Gcp.Apigee.Organization("org", new()
    {
        AnalyticsRegion = "us-central1",
        ProjectId = current.Apply(getClientConfigResult => getClientConfigResult.Project),
        AuthorizedNetwork = apigeeNetwork.Id,
        BillingType = "EVALUATION",
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            apigeeVpcConnection,
            apigee,
        },
    });
    var testOrganization = new Gcp.Apigee.AddonsConfig("test_organization", new()
    {
        Org = org.Name,
        AddonsConfigDetails = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigArgs
        {
            IntegrationConfig = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigIntegrationConfigArgs
            {
                Enabled = true,
            },
            ApiSecurityConfig = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigApiSecurityConfigArgs
            {
                Enabled = true,
            },
            ConnectorsPlatformConfig = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigConnectorsPlatformConfigArgs
            {
                Enabled = true,
            },
            MonetizationConfig = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigMonetizationConfigArgs
            {
                Enabled = true,
            },
            AdvancedApiOpsConfig = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigAdvancedApiOpsConfigArgs
            {
                Enabled = true,
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.organizations.OrganizationsFunctions;
import com.pulumi.gcp.projects.Service;
import com.pulumi.gcp.projects.ServiceArgs;
import com.pulumi.gcp.compute.Network;
import com.pulumi.gcp.compute.NetworkArgs;
import com.pulumi.gcp.compute.GlobalAddress;
import com.pulumi.gcp.compute.GlobalAddressArgs;
import com.pulumi.gcp.servicenetworking.Connection;
import com.pulumi.gcp.servicenetworking.ConnectionArgs;
import com.pulumi.gcp.apigee.Organization;
import com.pulumi.gcp.apigee.OrganizationArgs;
import com.pulumi.gcp.apigee.AddonsConfig;
import com.pulumi.gcp.apigee.AddonsConfigArgs;
import com.pulumi.gcp.apigee.inputs.AddonsConfigAddonsConfigArgs;
import com.pulumi.gcp.apigee.inputs.AddonsConfigAddonsConfigIntegrationConfigArgs;
import com.pulumi.gcp.apigee.inputs.AddonsConfigAddonsConfigApiSecurityConfigArgs;
import com.pulumi.gcp.apigee.inputs.AddonsConfigAddonsConfigConnectorsPlatformConfigArgs;
import com.pulumi.gcp.apigee.inputs.AddonsConfigAddonsConfigMonetizationConfigArgs;
import com.pulumi.gcp.apigee.inputs.AddonsConfigAddonsConfigAdvancedApiOpsConfigArgs;
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) {
        final var current = OrganizationsFunctions.getClientConfig();
        var apigee = new Service("apigee", ServiceArgs.builder()
            .project(current.applyValue(getClientConfigResult -> getClientConfigResult.project()))
            .service("apigee.googleapis.com")
            .build());
        var compute = new Service("compute", ServiceArgs.builder()
            .project(current.applyValue(getClientConfigResult -> getClientConfigResult.project()))
            .service("compute.googleapis.com")
            .build());
        var servicenetworking = new Service("servicenetworking", ServiceArgs.builder()
            .project(current.applyValue(getClientConfigResult -> getClientConfigResult.project()))
            .service("servicenetworking.googleapis.com")
            .build());
        var apigeeNetwork = new Network("apigeeNetwork", NetworkArgs.builder()
            .name("apigee-network")
            .project(current.applyValue(getClientConfigResult -> getClientConfigResult.project()))
            .build(), CustomResourceOptions.builder()
                .dependsOn(compute)
                .build());
        var apigeeRange = new GlobalAddress("apigeeRange", GlobalAddressArgs.builder()
            .name("apigee-range")
            .purpose("VPC_PEERING")
            .addressType("INTERNAL")
            .prefixLength(16)
            .network(apigeeNetwork.id())
            .project(current.applyValue(getClientConfigResult -> getClientConfigResult.project()))
            .build());
        var apigeeVpcConnection = new Connection("apigeeVpcConnection", ConnectionArgs.builder()
            .network(apigeeNetwork.id())
            .service("servicenetworking.googleapis.com")
            .reservedPeeringRanges(apigeeRange.name())
            .build());
        var org = new Organization("org", OrganizationArgs.builder()
            .analyticsRegion("us-central1")
            .projectId(current.applyValue(getClientConfigResult -> getClientConfigResult.project()))
            .authorizedNetwork(apigeeNetwork.id())
            .billingType("EVALUATION")
            .build(), CustomResourceOptions.builder()
                .dependsOn(                
                    apigeeVpcConnection,
                    apigee)
                .build());
        var testOrganization = new AddonsConfig("testOrganization", AddonsConfigArgs.builder()
            .org(org.name())
            .addonsConfig(AddonsConfigAddonsConfigArgs.builder()
                .integrationConfig(AddonsConfigAddonsConfigIntegrationConfigArgs.builder()
                    .enabled(true)
                    .build())
                .apiSecurityConfig(AddonsConfigAddonsConfigApiSecurityConfigArgs.builder()
                    .enabled(true)
                    .build())
                .connectorsPlatformConfig(AddonsConfigAddonsConfigConnectorsPlatformConfigArgs.builder()
                    .enabled(true)
                    .build())
                .monetizationConfig(AddonsConfigAddonsConfigMonetizationConfigArgs.builder()
                    .enabled(true)
                    .build())
                .advancedApiOpsConfig(AddonsConfigAddonsConfigAdvancedApiOpsConfigArgs.builder()
                    .enabled(true)
                    .build())
                .build())
            .build());
    }
}
resources:
  apigee:
    type: gcp:projects:Service
    properties:
      project: ${current.project}
      service: apigee.googleapis.com
  compute:
    type: gcp:projects:Service
    properties:
      project: ${current.project}
      service: compute.googleapis.com
  servicenetworking:
    type: gcp:projects:Service
    properties:
      project: ${current.project}
      service: servicenetworking.googleapis.com
  apigeeNetwork:
    type: gcp:compute:Network
    name: apigee_network
    properties:
      name: apigee-network
      project: ${current.project}
    options:
      dependsOn:
        - ${compute}
  apigeeRange:
    type: gcp:compute:GlobalAddress
    name: apigee_range
    properties:
      name: apigee-range
      purpose: VPC_PEERING
      addressType: INTERNAL
      prefixLength: 16
      network: ${apigeeNetwork.id}
      project: ${current.project}
  apigeeVpcConnection:
    type: gcp:servicenetworking:Connection
    name: apigee_vpc_connection
    properties:
      network: ${apigeeNetwork.id}
      service: servicenetworking.googleapis.com
      reservedPeeringRanges:
        - ${apigeeRange.name}
  org:
    type: gcp:apigee:Organization
    properties:
      analyticsRegion: us-central1
      projectId: ${current.project}
      authorizedNetwork: ${apigeeNetwork.id}
      billingType: EVALUATION
    options:
      dependsOn:
        - ${apigeeVpcConnection}
        - ${apigee}
  testOrganization:
    type: gcp:apigee:AddonsConfig
    name: test_organization
    properties:
      org: ${org.name}
      addonsConfig:
        integrationConfig:
          enabled: true
        apiSecurityConfig:
          enabled: true
        connectorsPlatformConfig:
          enabled: true
        monetizationConfig:
          enabled: true
        advancedApiOpsConfig:
          enabled: true
variables:
  current:
    fn::invoke:
      function: gcp:organizations:getClientConfig
      arguments: {}
Create AddonsConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AddonsConfig(name: string, args: AddonsConfigArgs, opts?: CustomResourceOptions);@overload
def AddonsConfig(resource_name: str,
                 args: AddonsConfigArgs,
                 opts: Optional[ResourceOptions] = None)
@overload
def AddonsConfig(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 org: Optional[str] = None,
                 addons_config: Optional[AddonsConfigAddonsConfigArgs] = None)func NewAddonsConfig(ctx *Context, name string, args AddonsConfigArgs, opts ...ResourceOption) (*AddonsConfig, error)public AddonsConfig(string name, AddonsConfigArgs args, CustomResourceOptions? opts = null)
public AddonsConfig(String name, AddonsConfigArgs args)
public AddonsConfig(String name, AddonsConfigArgs args, CustomResourceOptions options)
type: gcp:apigee:AddonsConfig
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 AddonsConfigArgs
- 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 AddonsConfigArgs
- 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 AddonsConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AddonsConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AddonsConfigArgs
- 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 addonsConfigResource = new Gcp.Apigee.AddonsConfig("addonsConfigResource", new()
{
    Org = "string",
    AddonsConfigDetails = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigArgs
    {
        AdvancedApiOpsConfig = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigAdvancedApiOpsConfigArgs
        {
            Enabled = false,
        },
        ApiSecurityConfig = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigApiSecurityConfigArgs
        {
            Enabled = false,
            ExpiresAt = "string",
        },
        ConnectorsPlatformConfig = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigConnectorsPlatformConfigArgs
        {
            Enabled = false,
            ExpiresAt = "string",
        },
        IntegrationConfig = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigIntegrationConfigArgs
        {
            Enabled = false,
        },
        MonetizationConfig = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigMonetizationConfigArgs
        {
            Enabled = false,
        },
    },
});
example, err := apigee.NewAddonsConfig(ctx, "addonsConfigResource", &apigee.AddonsConfigArgs{
	Org: pulumi.String("string"),
	AddonsConfig: &apigee.AddonsConfigAddonsConfigArgs{
		AdvancedApiOpsConfig: &apigee.AddonsConfigAddonsConfigAdvancedApiOpsConfigArgs{
			Enabled: pulumi.Bool(false),
		},
		ApiSecurityConfig: &apigee.AddonsConfigAddonsConfigApiSecurityConfigArgs{
			Enabled:   pulumi.Bool(false),
			ExpiresAt: pulumi.String("string"),
		},
		ConnectorsPlatformConfig: &apigee.AddonsConfigAddonsConfigConnectorsPlatformConfigArgs{
			Enabled:   pulumi.Bool(false),
			ExpiresAt: pulumi.String("string"),
		},
		IntegrationConfig: &apigee.AddonsConfigAddonsConfigIntegrationConfigArgs{
			Enabled: pulumi.Bool(false),
		},
		MonetizationConfig: &apigee.AddonsConfigAddonsConfigMonetizationConfigArgs{
			Enabled: pulumi.Bool(false),
		},
	},
})
var addonsConfigResource = new AddonsConfig("addonsConfigResource", AddonsConfigArgs.builder()
    .org("string")
    .addonsConfig(AddonsConfigAddonsConfigArgs.builder()
        .advancedApiOpsConfig(AddonsConfigAddonsConfigAdvancedApiOpsConfigArgs.builder()
            .enabled(false)
            .build())
        .apiSecurityConfig(AddonsConfigAddonsConfigApiSecurityConfigArgs.builder()
            .enabled(false)
            .expiresAt("string")
            .build())
        .connectorsPlatformConfig(AddonsConfigAddonsConfigConnectorsPlatformConfigArgs.builder()
            .enabled(false)
            .expiresAt("string")
            .build())
        .integrationConfig(AddonsConfigAddonsConfigIntegrationConfigArgs.builder()
            .enabled(false)
            .build())
        .monetizationConfig(AddonsConfigAddonsConfigMonetizationConfigArgs.builder()
            .enabled(false)
            .build())
        .build())
    .build());
addons_config_resource = gcp.apigee.AddonsConfig("addonsConfigResource",
    org="string",
    addons_config={
        "advanced_api_ops_config": {
            "enabled": False,
        },
        "api_security_config": {
            "enabled": False,
            "expires_at": "string",
        },
        "connectors_platform_config": {
            "enabled": False,
            "expires_at": "string",
        },
        "integration_config": {
            "enabled": False,
        },
        "monetization_config": {
            "enabled": False,
        },
    })
const addonsConfigResource = new gcp.apigee.AddonsConfig("addonsConfigResource", {
    org: "string",
    addonsConfig: {
        advancedApiOpsConfig: {
            enabled: false,
        },
        apiSecurityConfig: {
            enabled: false,
            expiresAt: "string",
        },
        connectorsPlatformConfig: {
            enabled: false,
            expiresAt: "string",
        },
        integrationConfig: {
            enabled: false,
        },
        monetizationConfig: {
            enabled: false,
        },
    },
});
type: gcp:apigee:AddonsConfig
properties:
    addonsConfig:
        advancedApiOpsConfig:
            enabled: false
        apiSecurityConfig:
            enabled: false
            expiresAt: string
        connectorsPlatformConfig:
            enabled: false
            expiresAt: string
        integrationConfig:
            enabled: false
        monetizationConfig:
            enabled: false
    org: string
AddonsConfig 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 AddonsConfig resource accepts the following input properties:
- Org string
- Name of the Apigee organization.
- AddonsConfig AddonsDetails Config Addons Config 
- Addon configurations of the Apigee organization. Structure is documented below.
- Org string
- Name of the Apigee organization.
- AddonsConfig AddonsConfig Addons Config Args 
- Addon configurations of the Apigee organization. Structure is documented below.
- org String
- Name of the Apigee organization.
- addonsConfig AddonsConfig Addons Config 
- Addon configurations of the Apigee organization. Structure is documented below.
- org string
- Name of the Apigee organization.
- addonsConfig AddonsConfig Addons Config 
- Addon configurations of the Apigee organization. Structure is documented below.
- org str
- Name of the Apigee organization.
- addons_config AddonsConfig Addons Config Args 
- Addon configurations of the Apigee organization. Structure is documented below.
- org String
- Name of the Apigee organization.
- addonsConfig Property Map
- Addon configurations of the Apigee organization. Structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the AddonsConfig 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 AddonsConfig Resource
Get an existing AddonsConfig 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?: AddonsConfigState, opts?: CustomResourceOptions): AddonsConfig@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        addons_config: Optional[AddonsConfigAddonsConfigArgs] = None,
        org: Optional[str] = None) -> AddonsConfigfunc GetAddonsConfig(ctx *Context, name string, id IDInput, state *AddonsConfigState, opts ...ResourceOption) (*AddonsConfig, error)public static AddonsConfig Get(string name, Input<string> id, AddonsConfigState? state, CustomResourceOptions? opts = null)public static AddonsConfig get(String name, Output<String> id, AddonsConfigState state, CustomResourceOptions options)resources:  _:    type: gcp:apigee:AddonsConfig    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.
- AddonsConfig AddonsDetails Config Addons Config 
- Addon configurations of the Apigee organization. Structure is documented below.
- Org string
- Name of the Apigee organization.
- AddonsConfig AddonsConfig Addons Config Args 
- Addon configurations of the Apigee organization. Structure is documented below.
- Org string
- Name of the Apigee organization.
- addonsConfig AddonsConfig Addons Config 
- Addon configurations of the Apigee organization. Structure is documented below.
- org String
- Name of the Apigee organization.
- addonsConfig AddonsConfig Addons Config 
- Addon configurations of the Apigee organization. Structure is documented below.
- org string
- Name of the Apigee organization.
- addons_config AddonsConfig Addons Config Args 
- Addon configurations of the Apigee organization. Structure is documented below.
- org str
- Name of the Apigee organization.
- addonsConfig Property Map
- Addon configurations of the Apigee organization. Structure is documented below.
- org String
- Name of the Apigee organization.
Supporting Types
AddonsConfigAddonsConfig, AddonsConfigAddonsConfigArgs        
- AdvancedApi AddonsOps Config Config Addons Config Advanced Api Ops Config 
- Configuration for the Monetization add-on. Structure is documented below.
- ApiSecurity AddonsConfig Config Addons Config Api Security Config 
- Configuration for the Monetization add-on. Structure is documented below.
- ConnectorsPlatform AddonsConfig Config Addons Config Connectors Platform Config 
- Configuration for the Monetization add-on. Structure is documented below.
- IntegrationConfig AddonsConfig Addons Config Integration Config 
- Configuration for the Monetization add-on. Structure is documented below.
- MonetizationConfig AddonsConfig Addons Config Monetization Config 
- Configuration for the Monetization add-on. Structure is documented below.
- AdvancedApi AddonsOps Config Config Addons Config Advanced Api Ops Config 
- Configuration for the Monetization add-on. Structure is documented below.
- ApiSecurity AddonsConfig Config Addons Config Api Security Config 
- Configuration for the Monetization add-on. Structure is documented below.
- ConnectorsPlatform AddonsConfig Config Addons Config Connectors Platform Config 
- Configuration for the Monetization add-on. Structure is documented below.
- IntegrationConfig AddonsConfig Addons Config Integration Config 
- Configuration for the Monetization add-on. Structure is documented below.
- MonetizationConfig AddonsConfig Addons Config Monetization Config 
- Configuration for the Monetization add-on. Structure is documented below.
- advancedApi AddonsOps Config Config Addons Config Advanced Api Ops Config 
- Configuration for the Monetization add-on. Structure is documented below.
- apiSecurity AddonsConfig Config Addons Config Api Security Config 
- Configuration for the Monetization add-on. Structure is documented below.
- connectorsPlatform AddonsConfig Config Addons Config Connectors Platform Config 
- Configuration for the Monetization add-on. Structure is documented below.
- integrationConfig AddonsConfig Addons Config Integration Config 
- Configuration for the Monetization add-on. Structure is documented below.
- monetizationConfig AddonsConfig Addons Config Monetization Config 
- Configuration for the Monetization add-on. Structure is documented below.
- advancedApi AddonsOps Config Config Addons Config Advanced Api Ops Config 
- Configuration for the Monetization add-on. Structure is documented below.
- apiSecurity AddonsConfig Config Addons Config Api Security Config 
- Configuration for the Monetization add-on. Structure is documented below.
- connectorsPlatform AddonsConfig Config Addons Config Connectors Platform Config 
- Configuration for the Monetization add-on. Structure is documented below.
- integrationConfig AddonsConfig Addons Config Integration Config 
- Configuration for the Monetization add-on. Structure is documented below.
- monetizationConfig AddonsConfig Addons Config Monetization Config 
- Configuration for the Monetization add-on. Structure is documented below.
- advanced_api_ Addonsops_ config Config Addons Config Advanced Api Ops Config 
- Configuration for the Monetization add-on. Structure is documented below.
- api_security_ Addonsconfig Config Addons Config Api Security Config 
- Configuration for the Monetization add-on. Structure is documented below.
- connectors_platform_ Addonsconfig Config Addons Config Connectors Platform Config 
- Configuration for the Monetization add-on. Structure is documented below.
- integration_config AddonsConfig Addons Config Integration Config 
- Configuration for the Monetization add-on. Structure is documented below.
- monetization_config AddonsConfig Addons Config Monetization Config 
- Configuration for the Monetization add-on. Structure is documented below.
- advancedApi Property MapOps Config 
- Configuration for the Monetization add-on. Structure is documented below.
- apiSecurity Property MapConfig 
- Configuration for the Monetization add-on. Structure is documented below.
- connectorsPlatform Property MapConfig 
- Configuration for the Monetization add-on. Structure is documented below.
- integrationConfig Property Map
- Configuration for the Monetization add-on. Structure is documented below.
- monetizationConfig Property Map
- Configuration for the Monetization add-on. Structure is documented below.
AddonsConfigAddonsConfigAdvancedApiOpsConfig, AddonsConfigAddonsConfigAdvancedApiOpsConfigArgs                
- Enabled bool
- Flag that specifies whether the Advanced API Ops add-on is enabled.
- Enabled bool
- Flag that specifies whether the Advanced API Ops add-on is enabled.
- enabled Boolean
- Flag that specifies whether the Advanced API Ops add-on is enabled.
- enabled boolean
- Flag that specifies whether the Advanced API Ops add-on is enabled.
- enabled bool
- Flag that specifies whether the Advanced API Ops add-on is enabled.
- enabled Boolean
- Flag that specifies whether the Advanced API Ops add-on is enabled.
AddonsConfigAddonsConfigApiSecurityConfig, AddonsConfigAddonsConfigApiSecurityConfigArgs              
- enabled bool
- Flag that specifies whether the Advanced API Ops add-on is enabled.
- expires_at str
- (Output) Flag that specifies whether the Advanced API Ops add-on is enabled.
AddonsConfigAddonsConfigConnectorsPlatformConfig, AddonsConfigAddonsConfigConnectorsPlatformConfigArgs              
- enabled bool
- Flag that specifies whether the Advanced API Ops add-on is enabled.
- expires_at str
- (Output) Flag that specifies whether the Advanced API Ops add-on is enabled.
AddonsConfigAddonsConfigIntegrationConfig, AddonsConfigAddonsConfigIntegrationConfigArgs            
- Enabled bool
- Flag that specifies whether the Advanced API Ops add-on is enabled.
- Enabled bool
- Flag that specifies whether the Advanced API Ops add-on is enabled.
- enabled Boolean
- Flag that specifies whether the Advanced API Ops add-on is enabled.
- enabled boolean
- Flag that specifies whether the Advanced API Ops add-on is enabled.
- enabled bool
- Flag that specifies whether the Advanced API Ops add-on is enabled.
- enabled Boolean
- Flag that specifies whether the Advanced API Ops add-on is enabled.
AddonsConfigAddonsConfigMonetizationConfig, AddonsConfigAddonsConfigMonetizationConfigArgs            
- Enabled bool
- Flag that specifies whether the Advanced API Ops add-on is enabled.
- Enabled bool
- Flag that specifies whether the Advanced API Ops add-on is enabled.
- enabled Boolean
- Flag that specifies whether the Advanced API Ops add-on is enabled.
- enabled boolean
- Flag that specifies whether the Advanced API Ops add-on is enabled.
- enabled bool
- Flag that specifies whether the Advanced API Ops add-on is enabled.
- enabled Boolean
- Flag that specifies whether the Advanced API Ops add-on is enabled.
Import
AddonsConfig can be imported using any of these accepted formats:
- organizations/{{name}}
- {{name}}
When using the pulumi import command, AddonsConfig can be imported using one of the formats above. For example:
$ pulumi import gcp:apigee/addonsConfig:AddonsConfig default organizations/{{name}}
$ pulumi import gcp:apigee/addonsConfig:AddonsConfig 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-betaTerraform Provider.