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

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

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 an endpoint attachment. Note: Not supported for Apigee hybrid. Auto-naming is currently not supported for this resource.

Create EndpointAttachment Resource

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

Constructor syntax

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

@overload
def EndpointAttachment(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       organization_id: Optional[str] = None,
                       endpoint_attachment_id: Optional[str] = None,
                       location: Optional[str] = None,
                       name: Optional[str] = None,
                       service_attachment: Optional[str] = None)
func NewEndpointAttachment(ctx *Context, name string, args EndpointAttachmentArgs, opts ...ResourceOption) (*EndpointAttachment, error)
public EndpointAttachment(string name, EndpointAttachmentArgs args, CustomResourceOptions? opts = null)
public EndpointAttachment(String name, EndpointAttachmentArgs args)
public EndpointAttachment(String name, EndpointAttachmentArgs args, CustomResourceOptions options)
type: google-native:apigee/v1:EndpointAttachment
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. EndpointAttachmentArgs
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. EndpointAttachmentArgs
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. EndpointAttachmentArgs
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. EndpointAttachmentArgs
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. EndpointAttachmentArgs
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 endpointAttachmentResource = new GoogleNative.Apigee.V1.EndpointAttachment("endpointAttachmentResource", new()
{
    OrganizationId = "string",
    EndpointAttachmentId = "string",
    Location = "string",
    Name = "string",
    ServiceAttachment = "string",
});
Copy
example, err := apigee.NewEndpointAttachment(ctx, "endpointAttachmentResource", &apigee.EndpointAttachmentArgs{
	OrganizationId:       pulumi.String("string"),
	EndpointAttachmentId: pulumi.String("string"),
	Location:             pulumi.String("string"),
	Name:                 pulumi.String("string"),
	ServiceAttachment:    pulumi.String("string"),
})
Copy
var endpointAttachmentResource = new EndpointAttachment("endpointAttachmentResource", EndpointAttachmentArgs.builder()
    .organizationId("string")
    .endpointAttachmentId("string")
    .location("string")
    .name("string")
    .serviceAttachment("string")
    .build());
Copy
endpoint_attachment_resource = google_native.apigee.v1.EndpointAttachment("endpointAttachmentResource",
    organization_id="string",
    endpoint_attachment_id="string",
    location="string",
    name="string",
    service_attachment="string")
Copy
const endpointAttachmentResource = new google_native.apigee.v1.EndpointAttachment("endpointAttachmentResource", {
    organizationId: "string",
    endpointAttachmentId: "string",
    location: "string",
    name: "string",
    serviceAttachment: "string",
});
Copy
type: google-native:apigee/v1:EndpointAttachment
properties:
    endpointAttachmentId: string
    location: string
    name: string
    organizationId: string
    serviceAttachment: string
Copy

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

OrganizationId
This property is required.
Changes to this property will trigger replacement.
string
EndpointAttachmentId string
ID to use for the endpoint attachment. ID must start with a lowercase letter followed by up to 31 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. The minimum length is 2.
Location string
Location of the endpoint attachment.
Name string
Name of the endpoint attachment. Use the following structure in your request: organizations/{org}/endpointAttachments/{endpoint_attachment}
ServiceAttachment string
Format: projects//regions//serviceAttachments/*
OrganizationId
This property is required.
Changes to this property will trigger replacement.
string
EndpointAttachmentId string
ID to use for the endpoint attachment. ID must start with a lowercase letter followed by up to 31 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. The minimum length is 2.
Location string
Location of the endpoint attachment.
Name string
Name of the endpoint attachment. Use the following structure in your request: organizations/{org}/endpointAttachments/{endpoint_attachment}
ServiceAttachment string
Format: projects//regions//serviceAttachments/*
organizationId
This property is required.
Changes to this property will trigger replacement.
String
endpointAttachmentId String
ID to use for the endpoint attachment. ID must start with a lowercase letter followed by up to 31 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. The minimum length is 2.
location String
Location of the endpoint attachment.
name String
Name of the endpoint attachment. Use the following structure in your request: organizations/{org}/endpointAttachments/{endpoint_attachment}
serviceAttachment String
Format: projects//regions//serviceAttachments/*
organizationId
This property is required.
Changes to this property will trigger replacement.
string
endpointAttachmentId string
ID to use for the endpoint attachment. ID must start with a lowercase letter followed by up to 31 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. The minimum length is 2.
location string
Location of the endpoint attachment.
name string
Name of the endpoint attachment. Use the following structure in your request: organizations/{org}/endpointAttachments/{endpoint_attachment}
serviceAttachment string
Format: projects//regions//serviceAttachments/*
organization_id
This property is required.
Changes to this property will trigger replacement.
str
endpoint_attachment_id str
ID to use for the endpoint attachment. ID must start with a lowercase letter followed by up to 31 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. The minimum length is 2.
location str
Location of the endpoint attachment.
name str
Name of the endpoint attachment. Use the following structure in your request: organizations/{org}/endpointAttachments/{endpoint_attachment}
service_attachment str
Format: projects//regions//serviceAttachments/*
organizationId
This property is required.
Changes to this property will trigger replacement.
String
endpointAttachmentId String
ID to use for the endpoint attachment. ID must start with a lowercase letter followed by up to 31 lowercase letters, numbers, or hyphens, and cannot end with a hyphen. The minimum length is 2.
location String
Location of the endpoint attachment.
name String
Name of the endpoint attachment. Use the following structure in your request: organizations/{org}/endpointAttachments/{endpoint_attachment}
serviceAttachment String
Format: projects//regions//serviceAttachments/*

Outputs

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

ConnectionState string
State of the endpoint attachment connection to the service attachment.
Host string
Host that can be used in either the HTTP target endpoint directly or as the host in target server.
Id string
The provider-assigned unique ID for this managed resource.
State string
State of the endpoint attachment. Values other than ACTIVE mean the resource is not ready to use.
ConnectionState string
State of the endpoint attachment connection to the service attachment.
Host string
Host that can be used in either the HTTP target endpoint directly or as the host in target server.
Id string
The provider-assigned unique ID for this managed resource.
State string
State of the endpoint attachment. Values other than ACTIVE mean the resource is not ready to use.
connectionState String
State of the endpoint attachment connection to the service attachment.
host String
Host that can be used in either the HTTP target endpoint directly or as the host in target server.
id String
The provider-assigned unique ID for this managed resource.
state String
State of the endpoint attachment. Values other than ACTIVE mean the resource is not ready to use.
connectionState string
State of the endpoint attachment connection to the service attachment.
host string
Host that can be used in either the HTTP target endpoint directly or as the host in target server.
id string
The provider-assigned unique ID for this managed resource.
state string
State of the endpoint attachment. Values other than ACTIVE mean the resource is not ready to use.
connection_state str
State of the endpoint attachment connection to the service attachment.
host str
Host that can be used in either the HTTP target endpoint directly or as the host in target server.
id str
The provider-assigned unique ID for this managed resource.
state str
State of the endpoint attachment. Values other than ACTIVE mean the resource is not ready to use.
connectionState String
State of the endpoint attachment connection to the service attachment.
host String
Host that can be used in either the HTTP target endpoint directly or as the host in target server.
id String
The provider-assigned unique ID for this managed resource.
state String
State of the endpoint attachment. Values other than ACTIVE mean the resource is not ready to use.

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