Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.apigee/v1.InstanceAttachment
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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 string
- The unique name of the resource.
- args InstanceAttachmentArgs
- 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 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 string
- The unique name of the resource.
- args InstanceAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := apigee.NewInstanceAttachment(ctx, "instanceAttachmentResource", &apigee.InstanceAttachmentArgs{
InstanceId: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
Environment: pulumi.String("string"),
})
var instanceAttachmentResource = new InstanceAttachment("instanceAttachmentResource", InstanceAttachmentArgs.builder()
.instanceId("string")
.organizationId("string")
.environment("string")
.build());
instance_attachment_resource = google_native.apigee.v1.InstanceAttachment("instanceAttachmentResource",
instance_id="string",
organization_id="string",
environment="string")
const instanceAttachmentResource = new google_native.apigee.v1.InstanceAttachment("instanceAttachmentResource", {
instanceId: "string",
organizationId: "string",
environment: "string",
});
type: google-native:apigee/v1:InstanceAttachment
properties:
environment: string
instanceId: string
organizationId: string
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:
- Instance
Id string - Organization
Id string - Environment string
- ID of the attached environment.
- Instance
Id string - Organization
Id string - Environment string
- ID of the attached environment.
- instance
Id String - organization
Id String - environment String
- ID of the attached environment.
- instance
Id string - organization
Id string - environment string
- ID of the attached environment.
- instance_
id str - organization_
id str - environment str
- ID of the attached environment.
- instance
Id String - organization
Id 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:
- 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.
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.