1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. apigee
  5. AddonsConfig
Google Cloud Classic v6.67.0 published on Wednesday, Sep 27, 2023 by Pulumi

gcp.apigee.AddonsConfig

Explore with Pulumi AI

gcp logo
Google Cloud Classic v6.67.0 published on Wednesday, Sep 27, 2023 by Pulumi

    Configures the add-ons for the Apigee organization. The existing add-on configuration will be fully replaced.

    To get more information about AddonsConfig, see:

    Example Usage

    Apigee Addons Basic

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var testOrganization = new Gcp.Apigee.AddonsConfig("testOrganization", new()
        {
            AddonsConfigDetails = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigArgs
            {
                ApiSecurityConfig = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigApiSecurityConfigArgs
                {
                    Enabled = true,
                },
                MonetizationConfig = new Gcp.Apigee.Inputs.AddonsConfigAddonsConfigMonetizationConfigArgs
                {
                    Enabled = true,
                },
            },
            Org = "test_organization",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/apigee"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := apigee.NewAddonsConfig(ctx, "testOrganization", &apigee.AddonsConfigArgs{
    			AddonsConfig: &apigee.AddonsConfigAddonsConfigArgs{
    				ApiSecurityConfig: &apigee.AddonsConfigAddonsConfigApiSecurityConfigArgs{
    					Enabled: pulumi.Bool(true),
    				},
    				MonetizationConfig: &apigee.AddonsConfigAddonsConfigMonetizationConfigArgs{
    					Enabled: pulumi.Bool(true),
    				},
    			},
    			Org: pulumi.String("test_organization"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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()        
                .addonsConfig(AddonsConfigAddonsConfigArgs.builder()
                    .apiSecurityConfig(AddonsConfigAddonsConfigApiSecurityConfigArgs.builder()
                        .enabled(true)
                        .build())
                    .monetizationConfig(AddonsConfigAddonsConfigMonetizationConfigArgs.builder()
                        .enabled(true)
                        .build())
                    .build())
                .org("test_organization")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_gcp as gcp
    
    test_organization = gcp.apigee.AddonsConfig("testOrganization",
        addons_config=gcp.apigee.AddonsConfigAddonsConfigArgs(
            api_security_config=gcp.apigee.AddonsConfigAddonsConfigApiSecurityConfigArgs(
                enabled=True,
            ),
            monetization_config=gcp.apigee.AddonsConfigAddonsConfigMonetizationConfigArgs(
                enabled=True,
            ),
        ),
        org="test_organization")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const testOrganization = new gcp.apigee.AddonsConfig("testOrganization", {
        addonsConfig: {
            apiSecurityConfig: {
                enabled: true,
            },
            monetizationConfig: {
                enabled: true,
            },
        },
        org: "test_organization",
    });
    
    resources:
      testOrganization:
        type: gcp:apigee:AddonsConfig
        properties:
          addonsConfig:
            apiSecurityConfig:
              enabled: true
            monetizationConfig:
              enabled: true
          org: test_organization
    

    Apigee Addons Full

    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("apigeeNetwork", new()
        {
            Project = current.Apply(getClientConfigResult => getClientConfigResult.Project),
        }, new CustomResourceOptions
        {
            DependsOn = new[]
            {
                compute,
            },
        });
    
        var apigeeRange = new Gcp.Compute.GlobalAddress("apigeeRange", new()
        {
            Purpose = "VPC_PEERING",
            AddressType = "INTERNAL",
            PrefixLength = 16,
            Network = apigeeNetwork.Id,
            Project = current.Apply(getClientConfigResult => getClientConfigResult.Project),
        });
    
        var apigeeVpcConnection = new Gcp.ServiceNetworking.Connection("apigeeVpcConnection", 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 = new[]
            {
                apigeeVpcConnection,
                apigee,
            },
        });
    
        var testOrganization = new Gcp.Apigee.AddonsConfig("testOrganization", 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 main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/apigee"
    	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute"
    	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
    	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/projects"
    	"github.com/pulumi/pulumi-gcp/sdk/v6/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, nil, 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, "apigeeNetwork", &compute.NetworkArgs{
    			Project: *pulumi.String(current.Project),
    		}, pulumi.DependsOn([]pulumi.Resource{
    			compute,
    		}))
    		if err != nil {
    			return err
    		}
    		apigeeRange, err := compute.NewGlobalAddress(ctx, "apigeeRange", &compute.GlobalAddressArgs{
    			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, "apigeeVpcConnection", &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, "testOrganization", &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
    	})
    }
    
    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()        
                .project(current.applyValue(getClientConfigResult -> getClientConfigResult.project()))
                .build(), CustomResourceOptions.builder()
                    .dependsOn(compute)
                    .build());
    
            var apigeeRange = new GlobalAddress("apigeeRange", GlobalAddressArgs.builder()        
                .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());
    
        }
    }
    
    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("apigeeNetwork", project=current.project,
    opts=pulumi.ResourceOptions(depends_on=[compute]))
    apigee_range = gcp.compute.GlobalAddress("apigeeRange",
        purpose="VPC_PEERING",
        address_type="INTERNAL",
        prefix_length=16,
        network=apigee_network.id,
        project=current.project)
    apigee_vpc_connection = gcp.servicenetworking.Connection("apigeeVpcConnection",
        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("testOrganization",
        org=org.name,
        addons_config=gcp.apigee.AddonsConfigAddonsConfigArgs(
            integration_config=gcp.apigee.AddonsConfigAddonsConfigIntegrationConfigArgs(
                enabled=True,
            ),
            api_security_config=gcp.apigee.AddonsConfigAddonsConfigApiSecurityConfigArgs(
                enabled=True,
            ),
            connectors_platform_config=gcp.apigee.AddonsConfigAddonsConfigConnectorsPlatformConfigArgs(
                enabled=True,
            ),
            monetization_config=gcp.apigee.AddonsConfigAddonsConfigMonetizationConfigArgs(
                enabled=True,
            ),
            advanced_api_ops_config=gcp.apigee.AddonsConfigAddonsConfigAdvancedApiOpsConfigArgs(
                enabled=True,
            ),
        ))
    
    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("apigeeNetwork", {project: current.then(current => current.project)}, {
        dependsOn: [compute],
    });
    const apigeeRange = new gcp.compute.GlobalAddress("apigeeRange", {
        purpose: "VPC_PEERING",
        addressType: "INTERNAL",
        prefixLength: 16,
        network: apigeeNetwork.id,
        project: current.then(current => current.project),
    });
    const apigeeVpcConnection = new gcp.servicenetworking.Connection("apigeeVpcConnection", {
        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("testOrganization", {
        org: org.name,
        addonsConfig: {
            integrationConfig: {
                enabled: true,
            },
            apiSecurityConfig: {
                enabled: true,
            },
            connectorsPlatformConfig: {
                enabled: true,
            },
            monetizationConfig: {
                enabled: true,
            },
            advancedApiOpsConfig: {
                enabled: true,
            },
        },
    });
    
    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
        properties:
          project: ${current.project}
        options:
          dependson:
            - ${compute}
      apigeeRange:
        type: gcp:compute:GlobalAddress
        properties:
          purpose: VPC_PEERING
          addressType: INTERNAL
          prefixLength: 16
          network: ${apigeeNetwork.id}
          project: ${current.project}
      apigeeVpcConnection:
        type: gcp:servicenetworking: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
        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

    new AddonsConfig(name: string, args: AddonsConfigArgs, opts?: CustomResourceOptions);
    @overload
    def AddonsConfig(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     addons_config: Optional[AddonsConfigAddonsConfigArgs] = None,
                     org: Optional[str] = None)
    @overload
    def AddonsConfig(resource_name: str,
                     args: AddonsConfigArgs,
                     opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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

    The AddonsConfig resource accepts the following input properties:

    Org string

    Name of the Apigee organization.


    AddonsConfigDetails AddonsConfigAddonsConfig

    Addon configurations of the Apigee organization. Structure is documented below.

    Org string

    Name of the Apigee organization.


    AddonsConfig AddonsConfigAddonsConfigArgs

    Addon configurations of the Apigee organization. Structure is documented below.

    org String

    Name of the Apigee organization.


    addonsConfig AddonsConfigAddonsConfig

    Addon configurations of the Apigee organization. Structure is documented below.

    org string

    Name of the Apigee organization.


    addonsConfig AddonsConfigAddonsConfig

    Addon configurations of the Apigee organization. Structure is documented below.

    org str

    Name of the Apigee organization.


    addons_config AddonsConfigAddonsConfigArgs

    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) -> AddonsConfig
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    AddonsConfigDetails AddonsConfigAddonsConfig

    Addon configurations of the Apigee organization. Structure is documented below.

    Org string

    Name of the Apigee organization.


    AddonsConfig AddonsConfigAddonsConfigArgs

    Addon configurations of the Apigee organization. Structure is documented below.

    Org string

    Name of the Apigee organization.


    addonsConfig AddonsConfigAddonsConfig

    Addon configurations of the Apigee organization. Structure is documented below.

    org String

    Name of the Apigee organization.


    addonsConfig AddonsConfigAddonsConfig

    Addon configurations of the Apigee organization. Structure is documented below.

    org string

    Name of the Apigee organization.


    addons_config AddonsConfigAddonsConfigArgs

    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

    AdvancedApiOpsConfig AddonsConfigAddonsConfigAdvancedApiOpsConfig

    Configuration for the Monetization add-on. Structure is documented below.

    ApiSecurityConfig AddonsConfigAddonsConfigApiSecurityConfig

    Configuration for the Monetization add-on. Structure is documented below.

    ConnectorsPlatformConfig AddonsConfigAddonsConfigConnectorsPlatformConfig

    Configuration for the Monetization add-on. Structure is documented below.

    IntegrationConfig AddonsConfigAddonsConfigIntegrationConfig

    Configuration for the Monetization add-on. Structure is documented below.

    MonetizationConfig AddonsConfigAddonsConfigMonetizationConfig

    Configuration for the Monetization add-on. Structure is documented below.

    AdvancedApiOpsConfig AddonsConfigAddonsConfigAdvancedApiOpsConfig

    Configuration for the Monetization add-on. Structure is documented below.

    ApiSecurityConfig AddonsConfigAddonsConfigApiSecurityConfig

    Configuration for the Monetization add-on. Structure is documented below.

    ConnectorsPlatformConfig AddonsConfigAddonsConfigConnectorsPlatformConfig

    Configuration for the Monetization add-on. Structure is documented below.

    IntegrationConfig AddonsConfigAddonsConfigIntegrationConfig

    Configuration for the Monetization add-on. Structure is documented below.

    MonetizationConfig AddonsConfigAddonsConfigMonetizationConfig

    Configuration for the Monetization add-on. Structure is documented below.

    advancedApiOpsConfig AddonsConfigAddonsConfigAdvancedApiOpsConfig

    Configuration for the Monetization add-on. Structure is documented below.

    apiSecurityConfig AddonsConfigAddonsConfigApiSecurityConfig

    Configuration for the Monetization add-on. Structure is documented below.

    connectorsPlatformConfig AddonsConfigAddonsConfigConnectorsPlatformConfig

    Configuration for the Monetization add-on. Structure is documented below.

    integrationConfig AddonsConfigAddonsConfigIntegrationConfig

    Configuration for the Monetization add-on. Structure is documented below.

    monetizationConfig AddonsConfigAddonsConfigMonetizationConfig

    Configuration for the Monetization add-on. Structure is documented below.

    advancedApiOpsConfig AddonsConfigAddonsConfigAdvancedApiOpsConfig

    Configuration for the Monetization add-on. Structure is documented below.

    apiSecurityConfig AddonsConfigAddonsConfigApiSecurityConfig

    Configuration for the Monetization add-on. Structure is documented below.

    connectorsPlatformConfig AddonsConfigAddonsConfigConnectorsPlatformConfig

    Configuration for the Monetization add-on. Structure is documented below.

    integrationConfig AddonsConfigAddonsConfigIntegrationConfig

    Configuration for the Monetization add-on. Structure is documented below.

    monetizationConfig AddonsConfigAddonsConfigMonetizationConfig

    Configuration for the Monetization add-on. Structure is documented below.

    advanced_api_ops_config AddonsConfigAddonsConfigAdvancedApiOpsConfig

    Configuration for the Monetization add-on. Structure is documented below.

    api_security_config AddonsConfigAddonsConfigApiSecurityConfig

    Configuration for the Monetization add-on. Structure is documented below.

    connectors_platform_config AddonsConfigAddonsConfigConnectorsPlatformConfig

    Configuration for the Monetization add-on. Structure is documented below.

    integration_config AddonsConfigAddonsConfigIntegrationConfig

    Configuration for the Monetization add-on. Structure is documented below.

    monetization_config AddonsConfigAddonsConfigMonetizationConfig

    Configuration for the Monetization add-on. Structure is documented below.

    advancedApiOpsConfig Property Map

    Configuration for the Monetization add-on. Structure is documented below.

    apiSecurityConfig Property Map

    Configuration for the Monetization add-on. Structure is documented below.

    connectorsPlatformConfig Property Map

    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.

    ExpiresAt string

    (Output) 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.

    ExpiresAt string

    (Output) 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.

    expiresAt String

    (Output) 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.

    expiresAt string

    (Output) 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.

    expires_at str

    (Output) 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.

    expiresAt String

    (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.

    ExpiresAt string

    (Output) 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.

    ExpiresAt string

    (Output) 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.

    expiresAt String

    (Output) 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.

    expiresAt string

    (Output) 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.

    expires_at str

    (Output) 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.

    expiresAt String

    (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

     $ pulumi import gcp:apigee/addonsConfig:AddonsConfig default organizations/{{name}}
    
     $ pulumi import gcp:apigee/addonsConfig:AddonsConfig default {{name}}
    

    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.

    gcp logo
    Google Cloud Classic v6.67.0 published on Wednesday, Sep 27, 2023 by Pulumi