Documentation
¶
Index ¶
- type EnvGroup
- func (*EnvGroup) ElementType() reflect.Type
- func (i *EnvGroup) ToEnvGroupOutput() EnvGroupOutput
- func (i *EnvGroup) ToEnvGroupOutputWithContext(ctx context.Context) EnvGroupOutput
- func (i *EnvGroup) ToEnvGroupPtrOutput() EnvGroupPtrOutput
- func (i *EnvGroup) ToEnvGroupPtrOutputWithContext(ctx context.Context) EnvGroupPtrOutput
- type EnvGroupArgs
- type EnvGroupArray
- type EnvGroupArrayInput
- type EnvGroupArrayOutput
- type EnvGroupInput
- type EnvGroupMap
- type EnvGroupMapInput
- type EnvGroupMapOutput
- type EnvGroupOutput
- func (EnvGroupOutput) ElementType() reflect.Type
- func (o EnvGroupOutput) ToEnvGroupOutput() EnvGroupOutput
- func (o EnvGroupOutput) ToEnvGroupOutputWithContext(ctx context.Context) EnvGroupOutput
- func (o EnvGroupOutput) ToEnvGroupPtrOutput() EnvGroupPtrOutput
- func (o EnvGroupOutput) ToEnvGroupPtrOutputWithContext(ctx context.Context) EnvGroupPtrOutput
- type EnvGroupPtrInput
- type EnvGroupPtrOutput
- type EnvGroupState
- type Environment
- func (*Environment) ElementType() reflect.Type
- func (i *Environment) ToEnvironmentOutput() EnvironmentOutput
- func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
- func (i *Environment) ToEnvironmentPtrOutput() EnvironmentPtrOutput
- func (i *Environment) ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput
- type EnvironmentArgs
- type EnvironmentArray
- type EnvironmentArrayInput
- type EnvironmentArrayOutput
- func (EnvironmentArrayOutput) ElementType() reflect.Type
- func (o EnvironmentArrayOutput) Index(i pulumi.IntInput) EnvironmentOutput
- func (o EnvironmentArrayOutput) ToEnvironmentArrayOutput() EnvironmentArrayOutput
- func (o EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput
- type EnvironmentInput
- type EnvironmentMap
- type EnvironmentMapInput
- type EnvironmentMapOutput
- func (EnvironmentMapOutput) ElementType() reflect.Type
- func (o EnvironmentMapOutput) MapIndex(k pulumi.StringInput) EnvironmentOutput
- func (o EnvironmentMapOutput) ToEnvironmentMapOutput() EnvironmentMapOutput
- func (o EnvironmentMapOutput) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput
- type EnvironmentOutput
- func (EnvironmentOutput) ElementType() reflect.Type
- func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput
- func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
- func (o EnvironmentOutput) ToEnvironmentPtrOutput() EnvironmentPtrOutput
- func (o EnvironmentOutput) ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput
- type EnvironmentPtrInput
- type EnvironmentPtrOutput
- type EnvironmentState
- type Instance
- func (*Instance) ElementType() reflect.Type
- func (i *Instance) ToInstanceOutput() InstanceOutput
- func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (i *Instance) ToInstancePtrOutput() InstancePtrOutput
- func (i *Instance) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceAttachment
- func (*InstanceAttachment) ElementType() reflect.Type
- func (i *InstanceAttachment) ToInstanceAttachmentOutput() InstanceAttachmentOutput
- func (i *InstanceAttachment) ToInstanceAttachmentOutputWithContext(ctx context.Context) InstanceAttachmentOutput
- func (i *InstanceAttachment) ToInstanceAttachmentPtrOutput() InstanceAttachmentPtrOutput
- func (i *InstanceAttachment) ToInstanceAttachmentPtrOutputWithContext(ctx context.Context) InstanceAttachmentPtrOutput
- type InstanceAttachmentArgs
- type InstanceAttachmentArray
- type InstanceAttachmentArrayInput
- type InstanceAttachmentArrayOutput
- func (InstanceAttachmentArrayOutput) ElementType() reflect.Type
- func (o InstanceAttachmentArrayOutput) Index(i pulumi.IntInput) InstanceAttachmentOutput
- func (o InstanceAttachmentArrayOutput) ToInstanceAttachmentArrayOutput() InstanceAttachmentArrayOutput
- func (o InstanceAttachmentArrayOutput) ToInstanceAttachmentArrayOutputWithContext(ctx context.Context) InstanceAttachmentArrayOutput
- type InstanceAttachmentInput
- type InstanceAttachmentMap
- type InstanceAttachmentMapInput
- type InstanceAttachmentMapOutput
- func (InstanceAttachmentMapOutput) ElementType() reflect.Type
- func (o InstanceAttachmentMapOutput) MapIndex(k pulumi.StringInput) InstanceAttachmentOutput
- func (o InstanceAttachmentMapOutput) ToInstanceAttachmentMapOutput() InstanceAttachmentMapOutput
- func (o InstanceAttachmentMapOutput) ToInstanceAttachmentMapOutputWithContext(ctx context.Context) InstanceAttachmentMapOutput
- type InstanceAttachmentOutput
- func (InstanceAttachmentOutput) ElementType() reflect.Type
- func (o InstanceAttachmentOutput) ToInstanceAttachmentOutput() InstanceAttachmentOutput
- func (o InstanceAttachmentOutput) ToInstanceAttachmentOutputWithContext(ctx context.Context) InstanceAttachmentOutput
- func (o InstanceAttachmentOutput) ToInstanceAttachmentPtrOutput() InstanceAttachmentPtrOutput
- func (o InstanceAttachmentOutput) ToInstanceAttachmentPtrOutputWithContext(ctx context.Context) InstanceAttachmentPtrOutput
- type InstanceAttachmentPtrInput
- type InstanceAttachmentPtrOutput
- type InstanceAttachmentState
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) ToInstancePtrOutput() InstancePtrOutput
- func (o InstanceOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
- type InstancePtrInput
- type InstancePtrOutput
- type InstanceState
- type Organization
- func (*Organization) ElementType() reflect.Type
- func (i *Organization) ToOrganizationOutput() OrganizationOutput
- func (i *Organization) ToOrganizationOutputWithContext(ctx context.Context) OrganizationOutput
- func (i *Organization) ToOrganizationPtrOutput() OrganizationPtrOutput
- func (i *Organization) ToOrganizationPtrOutputWithContext(ctx context.Context) OrganizationPtrOutput
- type OrganizationArgs
- type OrganizationArray
- type OrganizationArrayInput
- type OrganizationArrayOutput
- func (OrganizationArrayOutput) ElementType() reflect.Type
- func (o OrganizationArrayOutput) Index(i pulumi.IntInput) OrganizationOutput
- func (o OrganizationArrayOutput) ToOrganizationArrayOutput() OrganizationArrayOutput
- func (o OrganizationArrayOutput) ToOrganizationArrayOutputWithContext(ctx context.Context) OrganizationArrayOutput
- type OrganizationInput
- type OrganizationMap
- type OrganizationMapInput
- type OrganizationMapOutput
- func (OrganizationMapOutput) ElementType() reflect.Type
- func (o OrganizationMapOutput) MapIndex(k pulumi.StringInput) OrganizationOutput
- func (o OrganizationMapOutput) ToOrganizationMapOutput() OrganizationMapOutput
- func (o OrganizationMapOutput) ToOrganizationMapOutputWithContext(ctx context.Context) OrganizationMapOutput
- type OrganizationOutput
- func (OrganizationOutput) ElementType() reflect.Type
- func (o OrganizationOutput) ToOrganizationOutput() OrganizationOutput
- func (o OrganizationOutput) ToOrganizationOutputWithContext(ctx context.Context) OrganizationOutput
- func (o OrganizationOutput) ToOrganizationPtrOutput() OrganizationPtrOutput
- func (o OrganizationOutput) ToOrganizationPtrOutputWithContext(ctx context.Context) OrganizationPtrOutput
- type OrganizationPtrInput
- type OrganizationPtrOutput
- type OrganizationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvGroup ¶ added in v4.16.0
type EnvGroup struct { pulumi.CustomResourceState // Hostnames of the environment group. Hostnames pulumi.StringArrayOutput `pulumi:"hostnames"` // The resource ID of the environment group. Name pulumi.StringOutput `pulumi:"name"` // The Apigee Organization associated with the Apigee environment group, // in the format `organizations/{{org_name}}`. OrgId pulumi.StringOutput `pulumi:"orgId"` }
An `Environment group` in Apigee.
To get more information about Envgroup, see:
* [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.envgroups/create) * How-to Guides
- [Creating an environment](https://cloud.google.com/apigee/docs/api-platform/get-started/create-environment)
## Example Usage
## Import
Envgroup can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:apigee/envGroup:EnvGroup default {{org_id}}/envgroups/{{name}}
```
```sh
$ pulumi import gcp:apigee/envGroup:EnvGroup default {{org_id}}/{{name}}
```
func GetEnvGroup ¶ added in v4.16.0
func GetEnvGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EnvGroupState, opts ...pulumi.ResourceOption) (*EnvGroup, error)
GetEnvGroup gets an existing EnvGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEnvGroup ¶ added in v4.16.0
func NewEnvGroup(ctx *pulumi.Context, name string, args *EnvGroupArgs, opts ...pulumi.ResourceOption) (*EnvGroup, error)
NewEnvGroup registers a new resource with the given unique name, arguments, and options.
func (*EnvGroup) ElementType ¶ added in v4.16.0
func (*EnvGroup) ToEnvGroupOutput ¶ added in v4.16.0
func (i *EnvGroup) ToEnvGroupOutput() EnvGroupOutput
func (*EnvGroup) ToEnvGroupOutputWithContext ¶ added in v4.16.0
func (i *EnvGroup) ToEnvGroupOutputWithContext(ctx context.Context) EnvGroupOutput
func (*EnvGroup) ToEnvGroupPtrOutput ¶ added in v4.16.0
func (i *EnvGroup) ToEnvGroupPtrOutput() EnvGroupPtrOutput
func (*EnvGroup) ToEnvGroupPtrOutputWithContext ¶ added in v4.16.0
func (i *EnvGroup) ToEnvGroupPtrOutputWithContext(ctx context.Context) EnvGroupPtrOutput
type EnvGroupArgs ¶ added in v4.16.0
type EnvGroupArgs struct { // Hostnames of the environment group. Hostnames pulumi.StringArrayInput // The resource ID of the environment group. Name pulumi.StringPtrInput // The Apigee Organization associated with the Apigee environment group, // in the format `organizations/{{org_name}}`. OrgId pulumi.StringInput }
The set of arguments for constructing a EnvGroup resource.
func (EnvGroupArgs) ElementType ¶ added in v4.16.0
func (EnvGroupArgs) ElementType() reflect.Type
type EnvGroupArray ¶ added in v4.16.0
type EnvGroupArray []EnvGroupInput
func (EnvGroupArray) ElementType ¶ added in v4.16.0
func (EnvGroupArray) ElementType() reflect.Type
func (EnvGroupArray) ToEnvGroupArrayOutput ¶ added in v4.16.0
func (i EnvGroupArray) ToEnvGroupArrayOutput() EnvGroupArrayOutput
func (EnvGroupArray) ToEnvGroupArrayOutputWithContext ¶ added in v4.16.0
func (i EnvGroupArray) ToEnvGroupArrayOutputWithContext(ctx context.Context) EnvGroupArrayOutput
type EnvGroupArrayInput ¶ added in v4.16.0
type EnvGroupArrayInput interface { pulumi.Input ToEnvGroupArrayOutput() EnvGroupArrayOutput ToEnvGroupArrayOutputWithContext(context.Context) EnvGroupArrayOutput }
EnvGroupArrayInput is an input type that accepts EnvGroupArray and EnvGroupArrayOutput values. You can construct a concrete instance of `EnvGroupArrayInput` via:
EnvGroupArray{ EnvGroupArgs{...} }
type EnvGroupArrayOutput ¶ added in v4.16.0
type EnvGroupArrayOutput struct{ *pulumi.OutputState }
func (EnvGroupArrayOutput) ElementType ¶ added in v4.16.0
func (EnvGroupArrayOutput) ElementType() reflect.Type
func (EnvGroupArrayOutput) Index ¶ added in v4.16.0
func (o EnvGroupArrayOutput) Index(i pulumi.IntInput) EnvGroupOutput
func (EnvGroupArrayOutput) ToEnvGroupArrayOutput ¶ added in v4.16.0
func (o EnvGroupArrayOutput) ToEnvGroupArrayOutput() EnvGroupArrayOutput
func (EnvGroupArrayOutput) ToEnvGroupArrayOutputWithContext ¶ added in v4.16.0
func (o EnvGroupArrayOutput) ToEnvGroupArrayOutputWithContext(ctx context.Context) EnvGroupArrayOutput
type EnvGroupInput ¶ added in v4.16.0
type EnvGroupInput interface { pulumi.Input ToEnvGroupOutput() EnvGroupOutput ToEnvGroupOutputWithContext(ctx context.Context) EnvGroupOutput }
type EnvGroupMap ¶ added in v4.16.0
type EnvGroupMap map[string]EnvGroupInput
func (EnvGroupMap) ElementType ¶ added in v4.16.0
func (EnvGroupMap) ElementType() reflect.Type
func (EnvGroupMap) ToEnvGroupMapOutput ¶ added in v4.16.0
func (i EnvGroupMap) ToEnvGroupMapOutput() EnvGroupMapOutput
func (EnvGroupMap) ToEnvGroupMapOutputWithContext ¶ added in v4.16.0
func (i EnvGroupMap) ToEnvGroupMapOutputWithContext(ctx context.Context) EnvGroupMapOutput
type EnvGroupMapInput ¶ added in v4.16.0
type EnvGroupMapInput interface { pulumi.Input ToEnvGroupMapOutput() EnvGroupMapOutput ToEnvGroupMapOutputWithContext(context.Context) EnvGroupMapOutput }
EnvGroupMapInput is an input type that accepts EnvGroupMap and EnvGroupMapOutput values. You can construct a concrete instance of `EnvGroupMapInput` via:
EnvGroupMap{ "key": EnvGroupArgs{...} }
type EnvGroupMapOutput ¶ added in v4.16.0
type EnvGroupMapOutput struct{ *pulumi.OutputState }
func (EnvGroupMapOutput) ElementType ¶ added in v4.16.0
func (EnvGroupMapOutput) ElementType() reflect.Type
func (EnvGroupMapOutput) MapIndex ¶ added in v4.16.0
func (o EnvGroupMapOutput) MapIndex(k pulumi.StringInput) EnvGroupOutput
func (EnvGroupMapOutput) ToEnvGroupMapOutput ¶ added in v4.16.0
func (o EnvGroupMapOutput) ToEnvGroupMapOutput() EnvGroupMapOutput
func (EnvGroupMapOutput) ToEnvGroupMapOutputWithContext ¶ added in v4.16.0
func (o EnvGroupMapOutput) ToEnvGroupMapOutputWithContext(ctx context.Context) EnvGroupMapOutput
type EnvGroupOutput ¶ added in v4.16.0
type EnvGroupOutput struct {
*pulumi.OutputState
}
func (EnvGroupOutput) ElementType ¶ added in v4.16.0
func (EnvGroupOutput) ElementType() reflect.Type
func (EnvGroupOutput) ToEnvGroupOutput ¶ added in v4.16.0
func (o EnvGroupOutput) ToEnvGroupOutput() EnvGroupOutput
func (EnvGroupOutput) ToEnvGroupOutputWithContext ¶ added in v4.16.0
func (o EnvGroupOutput) ToEnvGroupOutputWithContext(ctx context.Context) EnvGroupOutput
func (EnvGroupOutput) ToEnvGroupPtrOutput ¶ added in v4.16.0
func (o EnvGroupOutput) ToEnvGroupPtrOutput() EnvGroupPtrOutput
func (EnvGroupOutput) ToEnvGroupPtrOutputWithContext ¶ added in v4.16.0
func (o EnvGroupOutput) ToEnvGroupPtrOutputWithContext(ctx context.Context) EnvGroupPtrOutput
type EnvGroupPtrInput ¶ added in v4.16.0
type EnvGroupPtrInput interface { pulumi.Input ToEnvGroupPtrOutput() EnvGroupPtrOutput ToEnvGroupPtrOutputWithContext(ctx context.Context) EnvGroupPtrOutput }
type EnvGroupPtrOutput ¶ added in v4.16.0
type EnvGroupPtrOutput struct {
*pulumi.OutputState
}
func (EnvGroupPtrOutput) ElementType ¶ added in v4.16.0
func (EnvGroupPtrOutput) ElementType() reflect.Type
func (EnvGroupPtrOutput) ToEnvGroupPtrOutput ¶ added in v4.16.0
func (o EnvGroupPtrOutput) ToEnvGroupPtrOutput() EnvGroupPtrOutput
func (EnvGroupPtrOutput) ToEnvGroupPtrOutputWithContext ¶ added in v4.16.0
func (o EnvGroupPtrOutput) ToEnvGroupPtrOutputWithContext(ctx context.Context) EnvGroupPtrOutput
type EnvGroupState ¶ added in v4.16.0
type EnvGroupState struct { // Hostnames of the environment group. Hostnames pulumi.StringArrayInput // The resource ID of the environment group. Name pulumi.StringPtrInput // The Apigee Organization associated with the Apigee environment group, // in the format `organizations/{{org_name}}`. OrgId pulumi.StringPtrInput }
func (EnvGroupState) ElementType ¶ added in v4.16.0
func (EnvGroupState) ElementType() reflect.Type
type Environment ¶ added in v4.16.0
type Environment struct { pulumi.CustomResourceState // Description of the environment. Description pulumi.StringPtrOutput `pulumi:"description"` // Display name of the environment. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // The resource ID of the environment. Name pulumi.StringOutput `pulumi:"name"` // The Apigee Organization associated with the Apigee environment, // in the format `organizations/{{org_name}}`. OrgId pulumi.StringOutput `pulumi:"orgId"` }
An `Environment` in Apigee.
To get more information about Environment, see:
* [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.environments/create) * How-to Guides
- [Creating an environment](https://cloud.google.com/apigee/docs/api-platform/get-started/create-environment)
## Example Usage
## Import
Environment can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:apigee/environment:Environment default {{org_id}}/environments/{{name}}
```
```sh
$ pulumi import gcp:apigee/environment:Environment default {{org_id}}/{{name}}
```
func GetEnvironment ¶ added in v4.16.0
func GetEnvironment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EnvironmentState, opts ...pulumi.ResourceOption) (*Environment, error)
GetEnvironment gets an existing Environment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEnvironment ¶ added in v4.16.0
func NewEnvironment(ctx *pulumi.Context, name string, args *EnvironmentArgs, opts ...pulumi.ResourceOption) (*Environment, error)
NewEnvironment registers a new resource with the given unique name, arguments, and options.
func (*Environment) ElementType ¶ added in v4.16.0
func (*Environment) ElementType() reflect.Type
func (*Environment) ToEnvironmentOutput ¶ added in v4.16.0
func (i *Environment) ToEnvironmentOutput() EnvironmentOutput
func (*Environment) ToEnvironmentOutputWithContext ¶ added in v4.16.0
func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
func (*Environment) ToEnvironmentPtrOutput ¶ added in v4.16.0
func (i *Environment) ToEnvironmentPtrOutput() EnvironmentPtrOutput
func (*Environment) ToEnvironmentPtrOutputWithContext ¶ added in v4.16.0
func (i *Environment) ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput
type EnvironmentArgs ¶ added in v4.16.0
type EnvironmentArgs struct { // Description of the environment. Description pulumi.StringPtrInput // Display name of the environment. DisplayName pulumi.StringPtrInput // The resource ID of the environment. Name pulumi.StringPtrInput // The Apigee Organization associated with the Apigee environment, // in the format `organizations/{{org_name}}`. OrgId pulumi.StringInput }
The set of arguments for constructing a Environment resource.
func (EnvironmentArgs) ElementType ¶ added in v4.16.0
func (EnvironmentArgs) ElementType() reflect.Type
type EnvironmentArray ¶ added in v4.16.0
type EnvironmentArray []EnvironmentInput
func (EnvironmentArray) ElementType ¶ added in v4.16.0
func (EnvironmentArray) ElementType() reflect.Type
func (EnvironmentArray) ToEnvironmentArrayOutput ¶ added in v4.16.0
func (i EnvironmentArray) ToEnvironmentArrayOutput() EnvironmentArrayOutput
func (EnvironmentArray) ToEnvironmentArrayOutputWithContext ¶ added in v4.16.0
func (i EnvironmentArray) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput
type EnvironmentArrayInput ¶ added in v4.16.0
type EnvironmentArrayInput interface { pulumi.Input ToEnvironmentArrayOutput() EnvironmentArrayOutput ToEnvironmentArrayOutputWithContext(context.Context) EnvironmentArrayOutput }
EnvironmentArrayInput is an input type that accepts EnvironmentArray and EnvironmentArrayOutput values. You can construct a concrete instance of `EnvironmentArrayInput` via:
EnvironmentArray{ EnvironmentArgs{...} }
type EnvironmentArrayOutput ¶ added in v4.16.0
type EnvironmentArrayOutput struct{ *pulumi.OutputState }
func (EnvironmentArrayOutput) ElementType ¶ added in v4.16.0
func (EnvironmentArrayOutput) ElementType() reflect.Type
func (EnvironmentArrayOutput) Index ¶ added in v4.16.0
func (o EnvironmentArrayOutput) Index(i pulumi.IntInput) EnvironmentOutput
func (EnvironmentArrayOutput) ToEnvironmentArrayOutput ¶ added in v4.16.0
func (o EnvironmentArrayOutput) ToEnvironmentArrayOutput() EnvironmentArrayOutput
func (EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext ¶ added in v4.16.0
func (o EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput
type EnvironmentInput ¶ added in v4.16.0
type EnvironmentInput interface { pulumi.Input ToEnvironmentOutput() EnvironmentOutput ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput }
type EnvironmentMap ¶ added in v4.16.0
type EnvironmentMap map[string]EnvironmentInput
func (EnvironmentMap) ElementType ¶ added in v4.16.0
func (EnvironmentMap) ElementType() reflect.Type
func (EnvironmentMap) ToEnvironmentMapOutput ¶ added in v4.16.0
func (i EnvironmentMap) ToEnvironmentMapOutput() EnvironmentMapOutput
func (EnvironmentMap) ToEnvironmentMapOutputWithContext ¶ added in v4.16.0
func (i EnvironmentMap) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput
type EnvironmentMapInput ¶ added in v4.16.0
type EnvironmentMapInput interface { pulumi.Input ToEnvironmentMapOutput() EnvironmentMapOutput ToEnvironmentMapOutputWithContext(context.Context) EnvironmentMapOutput }
EnvironmentMapInput is an input type that accepts EnvironmentMap and EnvironmentMapOutput values. You can construct a concrete instance of `EnvironmentMapInput` via:
EnvironmentMap{ "key": EnvironmentArgs{...} }
type EnvironmentMapOutput ¶ added in v4.16.0
type EnvironmentMapOutput struct{ *pulumi.OutputState }
func (EnvironmentMapOutput) ElementType ¶ added in v4.16.0
func (EnvironmentMapOutput) ElementType() reflect.Type
func (EnvironmentMapOutput) MapIndex ¶ added in v4.16.0
func (o EnvironmentMapOutput) MapIndex(k pulumi.StringInput) EnvironmentOutput
func (EnvironmentMapOutput) ToEnvironmentMapOutput ¶ added in v4.16.0
func (o EnvironmentMapOutput) ToEnvironmentMapOutput() EnvironmentMapOutput
func (EnvironmentMapOutput) ToEnvironmentMapOutputWithContext ¶ added in v4.16.0
func (o EnvironmentMapOutput) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput
type EnvironmentOutput ¶ added in v4.16.0
type EnvironmentOutput struct {
*pulumi.OutputState
}
func (EnvironmentOutput) ElementType ¶ added in v4.16.0
func (EnvironmentOutput) ElementType() reflect.Type
func (EnvironmentOutput) ToEnvironmentOutput ¶ added in v4.16.0
func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput
func (EnvironmentOutput) ToEnvironmentOutputWithContext ¶ added in v4.16.0
func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
func (EnvironmentOutput) ToEnvironmentPtrOutput ¶ added in v4.16.0
func (o EnvironmentOutput) ToEnvironmentPtrOutput() EnvironmentPtrOutput
func (EnvironmentOutput) ToEnvironmentPtrOutputWithContext ¶ added in v4.16.0
func (o EnvironmentOutput) ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput
type EnvironmentPtrInput ¶ added in v4.16.0
type EnvironmentPtrInput interface { pulumi.Input ToEnvironmentPtrOutput() EnvironmentPtrOutput ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput }
type EnvironmentPtrOutput ¶ added in v4.16.0
type EnvironmentPtrOutput struct {
*pulumi.OutputState
}
func (EnvironmentPtrOutput) ElementType ¶ added in v4.16.0
func (EnvironmentPtrOutput) ElementType() reflect.Type
func (EnvironmentPtrOutput) ToEnvironmentPtrOutput ¶ added in v4.16.0
func (o EnvironmentPtrOutput) ToEnvironmentPtrOutput() EnvironmentPtrOutput
func (EnvironmentPtrOutput) ToEnvironmentPtrOutputWithContext ¶ added in v4.16.0
func (o EnvironmentPtrOutput) ToEnvironmentPtrOutputWithContext(ctx context.Context) EnvironmentPtrOutput
type EnvironmentState ¶ added in v4.16.0
type EnvironmentState struct { // Description of the environment. Description pulumi.StringPtrInput // Display name of the environment. DisplayName pulumi.StringPtrInput // The resource ID of the environment. Name pulumi.StringPtrInput // The Apigee Organization associated with the Apigee environment, // in the format `organizations/{{org_name}}`. OrgId pulumi.StringPtrInput }
func (EnvironmentState) ElementType ¶ added in v4.16.0
func (EnvironmentState) ElementType() reflect.Type
type Instance ¶ added in v4.16.0
type Instance struct { pulumi.CustomResourceState // Description of the instance. Description pulumi.StringPtrOutput `pulumi:"description"` // Customer Managed Encryption Key (CMEK) used for disk and volume encryption. Required for Apigee paid subscriptions only. // Use the following format: `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)` DiskEncryptionKeyName pulumi.StringPtrOutput `pulumi:"diskEncryptionKeyName"` // Display name of the instance. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // Output only. Hostname or IP address of the exposed Apigee endpoint used by clients to connect to the service. Host pulumi.StringOutput `pulumi:"host"` // Compute Engine location where the instance resides. For trial organization // subscriptions, the location must be a Compute Engine zone. For paid organization // subscriptions, it should correspond to a Compute Engine region. Location pulumi.StringOutput `pulumi:"location"` // Resource ID of the instance. Name pulumi.StringOutput `pulumi:"name"` // The Apigee Organization associated with the Apigee instance, // in the format `organizations/{{org_name}}`. OrgId pulumi.StringOutput `pulumi:"orgId"` // The size of the CIDR block range that will be reserved by the instance. // Possible values are `SLASH_16` and `SLASH_20`. PeeringCidrRange pulumi.StringPtrOutput `pulumi:"peeringCidrRange"` // Output only. Port number of the exposed Apigee endpoint. Port pulumi.StringOutput `pulumi:"port"` }
An `Instance` is the runtime dataplane in Apigee.
To get more information about Instance, see:
* [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.instances/create) * How-to Guides
- [Creating a runtime instance](https://cloud.google.com/apigee/docs/api-platform/get-started/create-instance)
## Example Usage
## Import
Instance can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:apigee/instance:Instance default {{org_id}}/instances/{{name}}
```
```sh
$ pulumi import gcp:apigee/instance:Instance default {{org_id}}/{{name}}
```
func GetInstance ¶ added in v4.16.0
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstance ¶ added in v4.16.0
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
func (*Instance) ElementType ¶ added in v4.16.0
func (*Instance) ToInstanceOutput ¶ added in v4.16.0
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶ added in v4.16.0
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (*Instance) ToInstancePtrOutput ¶ added in v4.16.0
func (i *Instance) ToInstancePtrOutput() InstancePtrOutput
func (*Instance) ToInstancePtrOutputWithContext ¶ added in v4.16.0
func (i *Instance) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
type InstanceArgs ¶ added in v4.16.0
type InstanceArgs struct { // Description of the instance. Description pulumi.StringPtrInput // Customer Managed Encryption Key (CMEK) used for disk and volume encryption. Required for Apigee paid subscriptions only. // Use the following format: `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)` DiskEncryptionKeyName pulumi.StringPtrInput // Display name of the instance. DisplayName pulumi.StringPtrInput // Compute Engine location where the instance resides. For trial organization // subscriptions, the location must be a Compute Engine zone. For paid organization // subscriptions, it should correspond to a Compute Engine region. Location pulumi.StringInput // Resource ID of the instance. Name pulumi.StringPtrInput // The Apigee Organization associated with the Apigee instance, // in the format `organizations/{{org_name}}`. OrgId pulumi.StringInput // The size of the CIDR block range that will be reserved by the instance. // Possible values are `SLASH_16` and `SLASH_20`. PeeringCidrRange pulumi.StringPtrInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶ added in v4.16.0
func (InstanceArgs) ElementType() reflect.Type
type InstanceArray ¶ added in v4.16.0
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶ added in v4.16.0
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶ added in v4.16.0
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶ added in v4.16.0
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶ added in v4.16.0
type InstanceArrayInput interface { pulumi.Input ToInstanceArrayOutput() InstanceArrayOutput ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput }
InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:
InstanceArray{ InstanceArgs{...} }
type InstanceArrayOutput ¶ added in v4.16.0
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶ added in v4.16.0
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶ added in v4.16.0
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶ added in v4.16.0
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶ added in v4.16.0
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceAttachment ¶ added in v4.19.0
type InstanceAttachment struct { pulumi.CustomResourceState // The resource ID of the environment. Environment pulumi.StringOutput `pulumi:"environment"` // The Apigee instance associated with the Apigee environment, // in the format `organisations/{{org_name}}/instances/{{instance_name}}`. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The name of the newly created attachment (output parameter). Name pulumi.StringOutput `pulumi:"name"` }
An `Instance attachment` in Apigee.
To get more information about InstanceAttachment, see:
* [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.instances.attachments/create) * How-to Guides
- [Creating an environment](https://cloud.google.com/apigee/docs/api-platform/get-started/create-environment)
## Example Usage
## Import
InstanceAttachment can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:apigee/instanceAttachment:InstanceAttachment default {{instance_id}}/attachments/{{name}}
```
```sh
$ pulumi import gcp:apigee/instanceAttachment:InstanceAttachment default {{instance_id}}/{{name}}
```
func GetInstanceAttachment ¶ added in v4.19.0
func GetInstanceAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceAttachmentState, opts ...pulumi.ResourceOption) (*InstanceAttachment, error)
GetInstanceAttachment gets an existing InstanceAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstanceAttachment ¶ added in v4.19.0
func NewInstanceAttachment(ctx *pulumi.Context, name string, args *InstanceAttachmentArgs, opts ...pulumi.ResourceOption) (*InstanceAttachment, error)
NewInstanceAttachment registers a new resource with the given unique name, arguments, and options.
func (*InstanceAttachment) ElementType ¶ added in v4.19.0
func (*InstanceAttachment) ElementType() reflect.Type
func (*InstanceAttachment) ToInstanceAttachmentOutput ¶ added in v4.19.0
func (i *InstanceAttachment) ToInstanceAttachmentOutput() InstanceAttachmentOutput
func (*InstanceAttachment) ToInstanceAttachmentOutputWithContext ¶ added in v4.19.0
func (i *InstanceAttachment) ToInstanceAttachmentOutputWithContext(ctx context.Context) InstanceAttachmentOutput
func (*InstanceAttachment) ToInstanceAttachmentPtrOutput ¶ added in v4.19.0
func (i *InstanceAttachment) ToInstanceAttachmentPtrOutput() InstanceAttachmentPtrOutput
func (*InstanceAttachment) ToInstanceAttachmentPtrOutputWithContext ¶ added in v4.19.0
func (i *InstanceAttachment) ToInstanceAttachmentPtrOutputWithContext(ctx context.Context) InstanceAttachmentPtrOutput
type InstanceAttachmentArgs ¶ added in v4.19.0
type InstanceAttachmentArgs struct { // The resource ID of the environment. Environment pulumi.StringInput // The Apigee instance associated with the Apigee environment, // in the format `organisations/{{org_name}}/instances/{{instance_name}}`. InstanceId pulumi.StringInput }
The set of arguments for constructing a InstanceAttachment resource.
func (InstanceAttachmentArgs) ElementType ¶ added in v4.19.0
func (InstanceAttachmentArgs) ElementType() reflect.Type
type InstanceAttachmentArray ¶ added in v4.19.0
type InstanceAttachmentArray []InstanceAttachmentInput
func (InstanceAttachmentArray) ElementType ¶ added in v4.19.0
func (InstanceAttachmentArray) ElementType() reflect.Type
func (InstanceAttachmentArray) ToInstanceAttachmentArrayOutput ¶ added in v4.19.0
func (i InstanceAttachmentArray) ToInstanceAttachmentArrayOutput() InstanceAttachmentArrayOutput
func (InstanceAttachmentArray) ToInstanceAttachmentArrayOutputWithContext ¶ added in v4.19.0
func (i InstanceAttachmentArray) ToInstanceAttachmentArrayOutputWithContext(ctx context.Context) InstanceAttachmentArrayOutput
type InstanceAttachmentArrayInput ¶ added in v4.19.0
type InstanceAttachmentArrayInput interface { pulumi.Input ToInstanceAttachmentArrayOutput() InstanceAttachmentArrayOutput ToInstanceAttachmentArrayOutputWithContext(context.Context) InstanceAttachmentArrayOutput }
InstanceAttachmentArrayInput is an input type that accepts InstanceAttachmentArray and InstanceAttachmentArrayOutput values. You can construct a concrete instance of `InstanceAttachmentArrayInput` via:
InstanceAttachmentArray{ InstanceAttachmentArgs{...} }
type InstanceAttachmentArrayOutput ¶ added in v4.19.0
type InstanceAttachmentArrayOutput struct{ *pulumi.OutputState }
func (InstanceAttachmentArrayOutput) ElementType ¶ added in v4.19.0
func (InstanceAttachmentArrayOutput) ElementType() reflect.Type
func (InstanceAttachmentArrayOutput) Index ¶ added in v4.19.0
func (o InstanceAttachmentArrayOutput) Index(i pulumi.IntInput) InstanceAttachmentOutput
func (InstanceAttachmentArrayOutput) ToInstanceAttachmentArrayOutput ¶ added in v4.19.0
func (o InstanceAttachmentArrayOutput) ToInstanceAttachmentArrayOutput() InstanceAttachmentArrayOutput
func (InstanceAttachmentArrayOutput) ToInstanceAttachmentArrayOutputWithContext ¶ added in v4.19.0
func (o InstanceAttachmentArrayOutput) ToInstanceAttachmentArrayOutputWithContext(ctx context.Context) InstanceAttachmentArrayOutput
type InstanceAttachmentInput ¶ added in v4.19.0
type InstanceAttachmentInput interface { pulumi.Input ToInstanceAttachmentOutput() InstanceAttachmentOutput ToInstanceAttachmentOutputWithContext(ctx context.Context) InstanceAttachmentOutput }
type InstanceAttachmentMap ¶ added in v4.19.0
type InstanceAttachmentMap map[string]InstanceAttachmentInput
func (InstanceAttachmentMap) ElementType ¶ added in v4.19.0
func (InstanceAttachmentMap) ElementType() reflect.Type
func (InstanceAttachmentMap) ToInstanceAttachmentMapOutput ¶ added in v4.19.0
func (i InstanceAttachmentMap) ToInstanceAttachmentMapOutput() InstanceAttachmentMapOutput
func (InstanceAttachmentMap) ToInstanceAttachmentMapOutputWithContext ¶ added in v4.19.0
func (i InstanceAttachmentMap) ToInstanceAttachmentMapOutputWithContext(ctx context.Context) InstanceAttachmentMapOutput
type InstanceAttachmentMapInput ¶ added in v4.19.0
type InstanceAttachmentMapInput interface { pulumi.Input ToInstanceAttachmentMapOutput() InstanceAttachmentMapOutput ToInstanceAttachmentMapOutputWithContext(context.Context) InstanceAttachmentMapOutput }
InstanceAttachmentMapInput is an input type that accepts InstanceAttachmentMap and InstanceAttachmentMapOutput values. You can construct a concrete instance of `InstanceAttachmentMapInput` via:
InstanceAttachmentMap{ "key": InstanceAttachmentArgs{...} }
type InstanceAttachmentMapOutput ¶ added in v4.19.0
type InstanceAttachmentMapOutput struct{ *pulumi.OutputState }
func (InstanceAttachmentMapOutput) ElementType ¶ added in v4.19.0
func (InstanceAttachmentMapOutput) ElementType() reflect.Type
func (InstanceAttachmentMapOutput) MapIndex ¶ added in v4.19.0
func (o InstanceAttachmentMapOutput) MapIndex(k pulumi.StringInput) InstanceAttachmentOutput
func (InstanceAttachmentMapOutput) ToInstanceAttachmentMapOutput ¶ added in v4.19.0
func (o InstanceAttachmentMapOutput) ToInstanceAttachmentMapOutput() InstanceAttachmentMapOutput
func (InstanceAttachmentMapOutput) ToInstanceAttachmentMapOutputWithContext ¶ added in v4.19.0
func (o InstanceAttachmentMapOutput) ToInstanceAttachmentMapOutputWithContext(ctx context.Context) InstanceAttachmentMapOutput
type InstanceAttachmentOutput ¶ added in v4.19.0
type InstanceAttachmentOutput struct {
*pulumi.OutputState
}
func (InstanceAttachmentOutput) ElementType ¶ added in v4.19.0
func (InstanceAttachmentOutput) ElementType() reflect.Type
func (InstanceAttachmentOutput) ToInstanceAttachmentOutput ¶ added in v4.19.0
func (o InstanceAttachmentOutput) ToInstanceAttachmentOutput() InstanceAttachmentOutput
func (InstanceAttachmentOutput) ToInstanceAttachmentOutputWithContext ¶ added in v4.19.0
func (o InstanceAttachmentOutput) ToInstanceAttachmentOutputWithContext(ctx context.Context) InstanceAttachmentOutput
func (InstanceAttachmentOutput) ToInstanceAttachmentPtrOutput ¶ added in v4.19.0
func (o InstanceAttachmentOutput) ToInstanceAttachmentPtrOutput() InstanceAttachmentPtrOutput
func (InstanceAttachmentOutput) ToInstanceAttachmentPtrOutputWithContext ¶ added in v4.19.0
func (o InstanceAttachmentOutput) ToInstanceAttachmentPtrOutputWithContext(ctx context.Context) InstanceAttachmentPtrOutput
type InstanceAttachmentPtrInput ¶ added in v4.19.0
type InstanceAttachmentPtrInput interface { pulumi.Input ToInstanceAttachmentPtrOutput() InstanceAttachmentPtrOutput ToInstanceAttachmentPtrOutputWithContext(ctx context.Context) InstanceAttachmentPtrOutput }
type InstanceAttachmentPtrOutput ¶ added in v4.19.0
type InstanceAttachmentPtrOutput struct {
*pulumi.OutputState
}
func (InstanceAttachmentPtrOutput) ElementType ¶ added in v4.19.0
func (InstanceAttachmentPtrOutput) ElementType() reflect.Type
func (InstanceAttachmentPtrOutput) ToInstanceAttachmentPtrOutput ¶ added in v4.19.0
func (o InstanceAttachmentPtrOutput) ToInstanceAttachmentPtrOutput() InstanceAttachmentPtrOutput
func (InstanceAttachmentPtrOutput) ToInstanceAttachmentPtrOutputWithContext ¶ added in v4.19.0
func (o InstanceAttachmentPtrOutput) ToInstanceAttachmentPtrOutputWithContext(ctx context.Context) InstanceAttachmentPtrOutput
type InstanceAttachmentState ¶ added in v4.19.0
type InstanceAttachmentState struct { // The resource ID of the environment. Environment pulumi.StringPtrInput // The Apigee instance associated with the Apigee environment, // in the format `organisations/{{org_name}}/instances/{{instance_name}}`. InstanceId pulumi.StringPtrInput // The name of the newly created attachment (output parameter). Name pulumi.StringPtrInput }
func (InstanceAttachmentState) ElementType ¶ added in v4.19.0
func (InstanceAttachmentState) ElementType() reflect.Type
type InstanceInput ¶ added in v4.16.0
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceMap ¶ added in v4.16.0
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶ added in v4.16.0
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶ added in v4.16.0
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶ added in v4.16.0
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶ added in v4.16.0
type InstanceMapInput interface { pulumi.Input ToInstanceMapOutput() InstanceMapOutput ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput }
InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:
InstanceMap{ "key": InstanceArgs{...} }
type InstanceMapOutput ¶ added in v4.16.0
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶ added in v4.16.0
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶ added in v4.16.0
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶ added in v4.16.0
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶ added in v4.16.0
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceOutput ¶ added in v4.16.0
type InstanceOutput struct {
*pulumi.OutputState
}
func (InstanceOutput) ElementType ¶ added in v4.16.0
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) ToInstanceOutput ¶ added in v4.16.0
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶ added in v4.16.0
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (InstanceOutput) ToInstancePtrOutput ¶ added in v4.16.0
func (o InstanceOutput) ToInstancePtrOutput() InstancePtrOutput
func (InstanceOutput) ToInstancePtrOutputWithContext ¶ added in v4.16.0
func (o InstanceOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
type InstancePtrInput ¶ added in v4.16.0
type InstancePtrInput interface { pulumi.Input ToInstancePtrOutput() InstancePtrOutput ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput }
type InstancePtrOutput ¶ added in v4.16.0
type InstancePtrOutput struct {
*pulumi.OutputState
}
func (InstancePtrOutput) ElementType ¶ added in v4.16.0
func (InstancePtrOutput) ElementType() reflect.Type
func (InstancePtrOutput) ToInstancePtrOutput ¶ added in v4.16.0
func (o InstancePtrOutput) ToInstancePtrOutput() InstancePtrOutput
func (InstancePtrOutput) ToInstancePtrOutputWithContext ¶ added in v4.16.0
func (o InstancePtrOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
type InstanceState ¶ added in v4.16.0
type InstanceState struct { // Description of the instance. Description pulumi.StringPtrInput // Customer Managed Encryption Key (CMEK) used for disk and volume encryption. Required for Apigee paid subscriptions only. // Use the following format: `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)` DiskEncryptionKeyName pulumi.StringPtrInput // Display name of the instance. DisplayName pulumi.StringPtrInput // Output only. Hostname or IP address of the exposed Apigee endpoint used by clients to connect to the service. Host pulumi.StringPtrInput // Compute Engine location where the instance resides. For trial organization // subscriptions, the location must be a Compute Engine zone. For paid organization // subscriptions, it should correspond to a Compute Engine region. Location pulumi.StringPtrInput // Resource ID of the instance. Name pulumi.StringPtrInput // The Apigee Organization associated with the Apigee instance, // in the format `organizations/{{org_name}}`. OrgId pulumi.StringPtrInput // The size of the CIDR block range that will be reserved by the instance. // Possible values are `SLASH_16` and `SLASH_20`. PeeringCidrRange pulumi.StringPtrInput // Output only. Port number of the exposed Apigee endpoint. Port pulumi.StringPtrInput }
func (InstanceState) ElementType ¶ added in v4.16.0
func (InstanceState) ElementType() reflect.Type
type Organization ¶
type Organization struct { pulumi.CustomResourceState // Primary GCP region for analytics data storage. For valid values, see [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-platform/get-started/create-org). AnalyticsRegion pulumi.StringPtrOutput `pulumi:"analyticsRegion"` // Compute Engine network used for Service Networking to be peered with Apigee runtime instances. // See [Getting started with the Service Networking API](https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started). // Valid only when `RuntimeType` is set to CLOUD. The value can be updated only when there are no runtime instances. For example: "default". AuthorizedNetwork pulumi.StringPtrOutput `pulumi:"authorizedNetwork"` // Output only. Base64-encoded public certificate for the root CA of the Apigee organization. Valid only when 'RuntimeType' // is CLOUD. A base64-encoded string. CaCertificate pulumi.StringOutput `pulumi:"caCertificate"` // Description of the Apigee organization. Description pulumi.StringPtrOutput `pulumi:"description"` // The display name of the Apigee organization. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // Output only. Name of the Apigee organization. Name pulumi.StringOutput `pulumi:"name"` // The project ID associated with the Apigee organization. ProjectId pulumi.StringOutput `pulumi:"projectId"` // Cloud KMS key name used for encrypting the data that is stored and replicated across runtime instances. // Update is not allowed after the organization is created. // If not specified, a Google-Managed encryption key will be used. // Valid only when `RuntimeType` is CLOUD. For example: `projects/foo/locations/us/keyRings/bar/cryptoKeys/baz`. RuntimeDatabaseEncryptionKeyName pulumi.StringPtrOutput `pulumi:"runtimeDatabaseEncryptionKeyName"` // Runtime type of the Apigee organization based on the Apigee subscription purchased. // Default value is `CLOUD`. // Possible values are `CLOUD` and `HYBRID`. RuntimeType pulumi.StringPtrOutput `pulumi:"runtimeType"` // Output only. Subscription type of the Apigee organization. Valid values include trial (free, limited, and for evaluation // purposes only) or paid (full subscription has been purchased). SubscriptionType pulumi.StringOutput `pulumi:"subscriptionType"` }
An `Organization` is the top-level container in Apigee.
To get more information about Organization, see:
* [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations) * How-to Guides
- [Creating an API organization](https://cloud.google.com/apigee/docs/api-platform/get-started/create-org)
## Example Usage ### Apigee Organization Cloud Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/apigee" "github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/servicenetworking" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := organizations.GetClientConfig(ctx, nil, nil) if err != nil { return err } apigeeNetwork, err := compute.NewNetwork(ctx, "apigeeNetwork", nil) 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(), }) 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 } _, err = apigee.NewOrganization(ctx, "org", &apigee.OrganizationArgs{ AnalyticsRegion: pulumi.String("us-central1"), ProjectId: pulumi.String(current.Project), AuthorizedNetwork: apigeeNetwork.ID(), }, pulumi.DependsOn([]pulumi.Resource{ apigeeVpcConnection, })) if err != nil { return err } return nil }) }
``` ### Apigee Organization Cloud Full
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/apigee" "github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/kms" "github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/projects" "github.com/pulumi/pulumi-gcp/sdk/v4/go/gcp/servicenetworking" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { current, err := organizations.GetClientConfig(ctx, nil, nil) if err != nil { return err } apigeeNetwork, err := compute.NewNetwork(ctx, "apigeeNetwork", nil) 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(), }) 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 } apigeeKeyring, err := kms.NewKeyRing(ctx, "apigeeKeyring", &kms.KeyRingArgs{ Location: pulumi.String("us-central1"), }) if err != nil { return err } apigeeKey, err := kms.NewCryptoKey(ctx, "apigeeKey", &kms.CryptoKeyArgs{ KeyRing: apigeeKeyring.ID(), }) if err != nil { return err } apigeeSa, err := projects.NewServiceIdentity(ctx, "apigeeSa", &projects.ServiceIdentityArgs{ Project: pulumi.Any(google_project.Project.Project_id), Service: pulumi.Any(google_project_service.Apigee.Service), }, pulumi.Provider(google_beta)) if err != nil { return err } apigeeSaKeyuser, err := kms.NewCryptoKeyIAMBinding(ctx, "apigeeSaKeyuser", &kms.CryptoKeyIAMBindingArgs{ CryptoKeyId: apigeeKey.ID(), Role: pulumi.String("roles/cloudkms.cryptoKeyEncrypterDecrypter"), Members: pulumi.StringArray{ apigeeSa.Email.ApplyT(func(email string) (string, error) { return fmt.Sprintf("%v%v", "serviceAccount:", email), nil }).(pulumi.StringOutput), }, }) if err != nil { return err } _, err = apigee.NewOrganization(ctx, "org", &apigee.OrganizationArgs{ AnalyticsRegion: pulumi.String("us-central1"), DisplayName: pulumi.String("apigee-org"), Description: pulumi.String("Auto-provisioned Apigee Org."), ProjectId: pulumi.String(current.Project), AuthorizedNetwork: apigeeNetwork.ID(), RuntimeDatabaseEncryptionKeyName: apigeeKey.ID(), }, pulumi.DependsOn([]pulumi.Resource{ apigeeVpcConnection, apigeeSaKeyuser, })) if err != nil { return err } return nil }) }
```
## Import
Organization can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:apigee/organization:Organization default organizations/{{name}}
```
```sh
$ pulumi import gcp:apigee/organization:Organization default {{name}}
```
func GetOrganization ¶
func GetOrganization(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OrganizationState, opts ...pulumi.ResourceOption) (*Organization, error)
GetOrganization gets an existing Organization resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewOrganization ¶
func NewOrganization(ctx *pulumi.Context, name string, args *OrganizationArgs, opts ...pulumi.ResourceOption) (*Organization, error)
NewOrganization registers a new resource with the given unique name, arguments, and options.
func (*Organization) ElementType ¶
func (*Organization) ElementType() reflect.Type
func (*Organization) ToOrganizationOutput ¶
func (i *Organization) ToOrganizationOutput() OrganizationOutput
func (*Organization) ToOrganizationOutputWithContext ¶
func (i *Organization) ToOrganizationOutputWithContext(ctx context.Context) OrganizationOutput
func (*Organization) ToOrganizationPtrOutput ¶ added in v4.11.1
func (i *Organization) ToOrganizationPtrOutput() OrganizationPtrOutput
func (*Organization) ToOrganizationPtrOutputWithContext ¶ added in v4.11.1
func (i *Organization) ToOrganizationPtrOutputWithContext(ctx context.Context) OrganizationPtrOutput
type OrganizationArgs ¶
type OrganizationArgs struct { // Primary GCP region for analytics data storage. For valid values, see [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-platform/get-started/create-org). AnalyticsRegion pulumi.StringPtrInput // Compute Engine network used for Service Networking to be peered with Apigee runtime instances. // See [Getting started with the Service Networking API](https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started). // Valid only when `RuntimeType` is set to CLOUD. The value can be updated only when there are no runtime instances. For example: "default". AuthorizedNetwork pulumi.StringPtrInput // Description of the Apigee organization. Description pulumi.StringPtrInput // The display name of the Apigee organization. DisplayName pulumi.StringPtrInput // The project ID associated with the Apigee organization. ProjectId pulumi.StringInput // Cloud KMS key name used for encrypting the data that is stored and replicated across runtime instances. // Update is not allowed after the organization is created. // If not specified, a Google-Managed encryption key will be used. // Valid only when `RuntimeType` is CLOUD. For example: `projects/foo/locations/us/keyRings/bar/cryptoKeys/baz`. RuntimeDatabaseEncryptionKeyName pulumi.StringPtrInput // Runtime type of the Apigee organization based on the Apigee subscription purchased. // Default value is `CLOUD`. // Possible values are `CLOUD` and `HYBRID`. RuntimeType pulumi.StringPtrInput }
The set of arguments for constructing a Organization resource.
func (OrganizationArgs) ElementType ¶
func (OrganizationArgs) ElementType() reflect.Type
type OrganizationArray ¶ added in v4.11.1
type OrganizationArray []OrganizationInput
func (OrganizationArray) ElementType ¶ added in v4.11.1
func (OrganizationArray) ElementType() reflect.Type
func (OrganizationArray) ToOrganizationArrayOutput ¶ added in v4.11.1
func (i OrganizationArray) ToOrganizationArrayOutput() OrganizationArrayOutput
func (OrganizationArray) ToOrganizationArrayOutputWithContext ¶ added in v4.11.1
func (i OrganizationArray) ToOrganizationArrayOutputWithContext(ctx context.Context) OrganizationArrayOutput
type OrganizationArrayInput ¶ added in v4.11.1
type OrganizationArrayInput interface { pulumi.Input ToOrganizationArrayOutput() OrganizationArrayOutput ToOrganizationArrayOutputWithContext(context.Context) OrganizationArrayOutput }
OrganizationArrayInput is an input type that accepts OrganizationArray and OrganizationArrayOutput values. You can construct a concrete instance of `OrganizationArrayInput` via:
OrganizationArray{ OrganizationArgs{...} }
type OrganizationArrayOutput ¶ added in v4.11.1
type OrganizationArrayOutput struct{ *pulumi.OutputState }
func (OrganizationArrayOutput) ElementType ¶ added in v4.11.1
func (OrganizationArrayOutput) ElementType() reflect.Type
func (OrganizationArrayOutput) Index ¶ added in v4.11.1
func (o OrganizationArrayOutput) Index(i pulumi.IntInput) OrganizationOutput
func (OrganizationArrayOutput) ToOrganizationArrayOutput ¶ added in v4.11.1
func (o OrganizationArrayOutput) ToOrganizationArrayOutput() OrganizationArrayOutput
func (OrganizationArrayOutput) ToOrganizationArrayOutputWithContext ¶ added in v4.11.1
func (o OrganizationArrayOutput) ToOrganizationArrayOutputWithContext(ctx context.Context) OrganizationArrayOutput
type OrganizationInput ¶
type OrganizationInput interface { pulumi.Input ToOrganizationOutput() OrganizationOutput ToOrganizationOutputWithContext(ctx context.Context) OrganizationOutput }
type OrganizationMap ¶ added in v4.11.1
type OrganizationMap map[string]OrganizationInput
func (OrganizationMap) ElementType ¶ added in v4.11.1
func (OrganizationMap) ElementType() reflect.Type
func (OrganizationMap) ToOrganizationMapOutput ¶ added in v4.11.1
func (i OrganizationMap) ToOrganizationMapOutput() OrganizationMapOutput
func (OrganizationMap) ToOrganizationMapOutputWithContext ¶ added in v4.11.1
func (i OrganizationMap) ToOrganizationMapOutputWithContext(ctx context.Context) OrganizationMapOutput
type OrganizationMapInput ¶ added in v4.11.1
type OrganizationMapInput interface { pulumi.Input ToOrganizationMapOutput() OrganizationMapOutput ToOrganizationMapOutputWithContext(context.Context) OrganizationMapOutput }
OrganizationMapInput is an input type that accepts OrganizationMap and OrganizationMapOutput values. You can construct a concrete instance of `OrganizationMapInput` via:
OrganizationMap{ "key": OrganizationArgs{...} }
type OrganizationMapOutput ¶ added in v4.11.1
type OrganizationMapOutput struct{ *pulumi.OutputState }
func (OrganizationMapOutput) ElementType ¶ added in v4.11.1
func (OrganizationMapOutput) ElementType() reflect.Type
func (OrganizationMapOutput) MapIndex ¶ added in v4.11.1
func (o OrganizationMapOutput) MapIndex(k pulumi.StringInput) OrganizationOutput
func (OrganizationMapOutput) ToOrganizationMapOutput ¶ added in v4.11.1
func (o OrganizationMapOutput) ToOrganizationMapOutput() OrganizationMapOutput
func (OrganizationMapOutput) ToOrganizationMapOutputWithContext ¶ added in v4.11.1
func (o OrganizationMapOutput) ToOrganizationMapOutputWithContext(ctx context.Context) OrganizationMapOutput
type OrganizationOutput ¶
type OrganizationOutput struct {
*pulumi.OutputState
}
func (OrganizationOutput) ElementType ¶
func (OrganizationOutput) ElementType() reflect.Type
func (OrganizationOutput) ToOrganizationOutput ¶
func (o OrganizationOutput) ToOrganizationOutput() OrganizationOutput
func (OrganizationOutput) ToOrganizationOutputWithContext ¶
func (o OrganizationOutput) ToOrganizationOutputWithContext(ctx context.Context) OrganizationOutput
func (OrganizationOutput) ToOrganizationPtrOutput ¶ added in v4.11.1
func (o OrganizationOutput) ToOrganizationPtrOutput() OrganizationPtrOutput
func (OrganizationOutput) ToOrganizationPtrOutputWithContext ¶ added in v4.11.1
func (o OrganizationOutput) ToOrganizationPtrOutputWithContext(ctx context.Context) OrganizationPtrOutput
type OrganizationPtrInput ¶ added in v4.11.1
type OrganizationPtrInput interface { pulumi.Input ToOrganizationPtrOutput() OrganizationPtrOutput ToOrganizationPtrOutputWithContext(ctx context.Context) OrganizationPtrOutput }
type OrganizationPtrOutput ¶ added in v4.11.1
type OrganizationPtrOutput struct {
*pulumi.OutputState
}
func (OrganizationPtrOutput) ElementType ¶ added in v4.11.1
func (OrganizationPtrOutput) ElementType() reflect.Type
func (OrganizationPtrOutput) ToOrganizationPtrOutput ¶ added in v4.11.1
func (o OrganizationPtrOutput) ToOrganizationPtrOutput() OrganizationPtrOutput
func (OrganizationPtrOutput) ToOrganizationPtrOutputWithContext ¶ added in v4.11.1
func (o OrganizationPtrOutput) ToOrganizationPtrOutputWithContext(ctx context.Context) OrganizationPtrOutput
type OrganizationState ¶
type OrganizationState struct { // Primary GCP region for analytics data storage. For valid values, see [Create an Apigee organization](https://cloud.google.com/apigee/docs/api-platform/get-started/create-org). AnalyticsRegion pulumi.StringPtrInput // Compute Engine network used for Service Networking to be peered with Apigee runtime instances. // See [Getting started with the Service Networking API](https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started). // Valid only when `RuntimeType` is set to CLOUD. The value can be updated only when there are no runtime instances. For example: "default". AuthorizedNetwork pulumi.StringPtrInput // Output only. Base64-encoded public certificate for the root CA of the Apigee organization. Valid only when 'RuntimeType' // is CLOUD. A base64-encoded string. CaCertificate pulumi.StringPtrInput // Description of the Apigee organization. Description pulumi.StringPtrInput // The display name of the Apigee organization. DisplayName pulumi.StringPtrInput // Output only. Name of the Apigee organization. Name pulumi.StringPtrInput // The project ID associated with the Apigee organization. ProjectId pulumi.StringPtrInput // Cloud KMS key name used for encrypting the data that is stored and replicated across runtime instances. // Update is not allowed after the organization is created. // If not specified, a Google-Managed encryption key will be used. // Valid only when `RuntimeType` is CLOUD. For example: `projects/foo/locations/us/keyRings/bar/cryptoKeys/baz`. RuntimeDatabaseEncryptionKeyName pulumi.StringPtrInput // Runtime type of the Apigee organization based on the Apigee subscription purchased. // Default value is `CLOUD`. // Possible values are `CLOUD` and `HYBRID`. RuntimeType pulumi.StringPtrInput // Output only. Subscription type of the Apigee organization. Valid values include trial (free, limited, and for evaluation // purposes only) or paid (full subscription has been purchased). SubscriptionType pulumi.StringPtrInput }
func (OrganizationState) ElementType ¶
func (OrganizationState) ElementType() reflect.Type