1. Registry
  2. Packages
  3. Google Cloud Native
  4. API Docs
  5. apigee
  6. apigee/v1
  7. Envgroup

This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

Viewing docs for Google Cloud Native v0.32.0
published on Wednesday, Nov 29, 2023 by Pulumi
google-native logo Google Cloud Native

This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

Viewing docs for Google Cloud Native v0.32.0
published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new environment group.

    Create Envgroup Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Envgroup(name: string, args: EnvgroupArgs, opts?: CustomResourceOptions);
    @overload
    def Envgroup(resource_name: str,
                 args: EnvgroupArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Envgroup(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 hostnames: Optional[Sequence[str]] = None,
                 organization_id: Optional[str] = None,
                 name: Optional[str] = None)
    func NewEnvgroup(ctx *Context, name string, args EnvgroupArgs, opts ...ResourceOption) (*Envgroup, error)
    public Envgroup(string name, EnvgroupArgs args, CustomResourceOptions? opts = null)
    public Envgroup(String name, EnvgroupArgs args)
    public Envgroup(String name, EnvgroupArgs args, CustomResourceOptions options)
    
    type: google-native:apigee/v1:Envgroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "google-native_apigee_v1_envgroup" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args EnvgroupArgs
    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 EnvgroupArgs
    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 EnvgroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnvgroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnvgroupArgs
    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 envgroupResource = new GoogleNative.Apigee.V1.Envgroup("envgroupResource", new()
    {
        Hostnames = new[]
        {
            "string",
        },
        OrganizationId = "string",
        Name = "string",
    });
    
    example, err := apigee.NewEnvgroup(ctx, "envgroupResource", &apigee.EnvgroupArgs{
    	Hostnames: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	OrganizationId: pulumi.String("string"),
    	Name:           pulumi.String("string"),
    })
    
    resource "google-native_apigee_v1_envgroup" "envgroupResource" {
      lifecycle {
        create_before_destroy = true
      }
      hostnames       = ["string"]
      organization_id = "string"
      name            = "string"
    }
    
    var envgroupResource = new Envgroup("envgroupResource", EnvgroupArgs.builder()
        .hostnames("string")
        .organizationId("string")
        .name("string")
        .build());
    
    envgroup_resource = google_native.apigee.v1.Envgroup("envgroupResource",
        hostnames=["string"],
        organization_id="string",
        name="string")
    
    const envgroupResource = new google_native.apigee.v1.Envgroup("envgroupResource", {
        hostnames: ["string"],
        organizationId: "string",
        name: "string",
    });
    
    type: google-native:apigee/v1:Envgroup
    properties:
        hostnames:
            - string
        name: string
        organizationId: string
    

    Envgroup 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 Envgroup resource accepts the following input properties:

    Hostnames List<string>
    Host names for this environment group.
    OrganizationId string
    Name string
    ID of the environment group.
    Hostnames []string
    Host names for this environment group.
    OrganizationId string
    Name string
    ID of the environment group.
    hostnames list(string)
    Host names for this environment group.
    organization_id string
    name string
    ID of the environment group.
    hostnames List<String>
    Host names for this environment group.
    organizationId String
    name String
    ID of the environment group.
    hostnames string[]
    Host names for this environment group.
    organizationId string
    name string
    ID of the environment group.
    hostnames Sequence[str]
    Host names for this environment group.
    organization_id str
    name str
    ID of the environment group.
    hostnames List<String>
    Host names for this environment group.
    organizationId String
    name String
    ID of the environment group.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Envgroup resource produces the following output properties:

    CreatedAt string
    The time at which the environment group was created as milliseconds since epoch.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedAt string
    The time at which the environment group was last updated as milliseconds since epoch.
    State string
    State of the environment group. Values other than ACTIVE means the resource is not ready to use.
    CreatedAt string
    The time at which the environment group was created as milliseconds since epoch.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModifiedAt string
    The time at which the environment group was last updated as milliseconds since epoch.
    State string
    State of the environment group. Values other than ACTIVE means the resource is not ready to use.
    created_at string
    The time at which the environment group was created as milliseconds since epoch.
    id string
    The provider-assigned unique ID for this managed resource.
    last_modified_at string
    The time at which the environment group was last updated as milliseconds since epoch.
    state string
    State of the environment group. Values other than ACTIVE means the resource is not ready to use.
    createdAt String
    The time at which the environment group was created as milliseconds since epoch.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedAt String
    The time at which the environment group was last updated as milliseconds since epoch.
    state String
    State of the environment group. Values other than ACTIVE means the resource is not ready to use.
    createdAt string
    The time at which the environment group was created as milliseconds since epoch.
    id string
    The provider-assigned unique ID for this managed resource.
    lastModifiedAt string
    The time at which the environment group was last updated as milliseconds since epoch.
    state string
    State of the environment group. Values other than ACTIVE means the resource is not ready to use.
    created_at str
    The time at which the environment group was created as milliseconds since epoch.
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified_at str
    The time at which the environment group was last updated as milliseconds since epoch.
    state str
    State of the environment group. Values other than ACTIVE means the resource is not ready to use.
    createdAt String
    The time at which the environment group was created as milliseconds since epoch.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModifiedAt String
    The time at which the environment group was last updated as milliseconds since epoch.
    state String
    State of the environment group. Values other than ACTIVE means the resource is not ready to use.

    Look up Existing Envgroup Resource

    Get an existing Envgroup 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>, opts?: CustomResourceOptions): Envgroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Envgroup
    func GetEnvgroup(ctx *Context, name string, id IDInput, state *EnvgroupState, opts ...ResourceOption) (*Envgroup, error)
    public static Envgroup Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Envgroup get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingEnvgroup:    type: google-native:apigee/v1:Envgroup    get:      id: ${id}
    import {
      to = google-native_apigee_v1_envgroup.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state EnvgroupState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo Google Cloud Native

    This package is deprecated. Active development has stopped. We recommend using the Google Cloud package instead.

    Viewing docs for Google Cloud Native v0.32.0
    published on Wednesday, Nov 29, 2023 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial