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

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

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

google-native.apigee/v1.InstanceAttachment

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

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

Creates a new attachment of an environment to an instance. Note: Not supported for Apigee hybrid. Auto-naming is currently not supported for this resource.

Create InstanceAttachment Resource

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

Constructor syntax

new InstanceAttachment(name: string, args: InstanceAttachmentArgs, opts?: CustomResourceOptions);
@overload
def InstanceAttachment(resource_name: str,
                       args: InstanceAttachmentArgs,
                       opts: Optional[ResourceOptions] = None)

@overload
def InstanceAttachment(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       instance_id: Optional[str] = None,
                       organization_id: Optional[str] = None,
                       environment: Optional[str] = None)
func NewInstanceAttachment(ctx *Context, name string, args InstanceAttachmentArgs, opts ...ResourceOption) (*InstanceAttachment, error)
public InstanceAttachment(string name, InstanceAttachmentArgs args, CustomResourceOptions? opts = null)
public InstanceAttachment(String name, InstanceAttachmentArgs args)
public InstanceAttachment(String name, InstanceAttachmentArgs args, CustomResourceOptions options)
type: google-native:apigee/v1:InstanceAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. InstanceAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. InstanceAttachmentArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. InstanceAttachmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. InstanceAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. InstanceAttachmentArgs
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 instanceAttachmentResource = new GoogleNative.Apigee.V1.InstanceAttachment("instanceAttachmentResource", new()
{
    InstanceId = "string",
    OrganizationId = "string",
    Environment = "string",
});
Copy
example, err := apigee.NewInstanceAttachment(ctx, "instanceAttachmentResource", &apigee.InstanceAttachmentArgs{
	InstanceId:     pulumi.String("string"),
	OrganizationId: pulumi.String("string"),
	Environment:    pulumi.String("string"),
})
Copy
var instanceAttachmentResource = new InstanceAttachment("instanceAttachmentResource", InstanceAttachmentArgs.builder()
    .instanceId("string")
    .organizationId("string")
    .environment("string")
    .build());
Copy
instance_attachment_resource = google_native.apigee.v1.InstanceAttachment("instanceAttachmentResource",
    instance_id="string",
    organization_id="string",
    environment="string")
Copy
const instanceAttachmentResource = new google_native.apigee.v1.InstanceAttachment("instanceAttachmentResource", {
    instanceId: "string",
    organizationId: "string",
    environment: "string",
});
Copy
type: google-native:apigee/v1:InstanceAttachment
properties:
    environment: string
    instanceId: string
    organizationId: string
Copy

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

InstanceId
This property is required.
Changes to this property will trigger replacement.
string
OrganizationId
This property is required.
Changes to this property will trigger replacement.
string
Environment string
ID of the attached environment.
InstanceId
This property is required.
Changes to this property will trigger replacement.
string
OrganizationId
This property is required.
Changes to this property will trigger replacement.
string
Environment string
ID of the attached environment.
instanceId
This property is required.
Changes to this property will trigger replacement.
String
organizationId
This property is required.
Changes to this property will trigger replacement.
String
environment String
ID of the attached environment.
instanceId
This property is required.
Changes to this property will trigger replacement.
string
organizationId
This property is required.
Changes to this property will trigger replacement.
string
environment string
ID of the attached environment.
instance_id
This property is required.
Changes to this property will trigger replacement.
str
organization_id
This property is required.
Changes to this property will trigger replacement.
str
environment str
ID of the attached environment.
instanceId
This property is required.
Changes to this property will trigger replacement.
String
organizationId
This property is required.
Changes to this property will trigger replacement.
String
environment String
ID of the attached environment.

Outputs

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

CreatedAt string
Time the attachment was created in milliseconds since epoch.
Id string
The provider-assigned unique ID for this managed resource.
Name string
ID of the attachment.
CreatedAt string
Time the attachment was created in milliseconds since epoch.
Id string
The provider-assigned unique ID for this managed resource.
Name string
ID of the attachment.
createdAt String
Time the attachment was created in milliseconds since epoch.
id String
The provider-assigned unique ID for this managed resource.
name String
ID of the attachment.
createdAt string
Time the attachment was created in milliseconds since epoch.
id string
The provider-assigned unique ID for this managed resource.
name string
ID of the attachment.
created_at str
Time the attachment was created in milliseconds since epoch.
id str
The provider-assigned unique ID for this managed resource.
name str
ID of the attachment.
createdAt String
Time the attachment was created in milliseconds since epoch.
id String
The provider-assigned unique ID for this managed resource.
name String
ID of the attachment.

Package Details

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

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

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