Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.apigee/v1.EndpointAttachment
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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 string
- The unique name of the resource.
- args EndpointAttachmentArgs
- 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 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 string
- The unique name of the resource.
- args EndpointAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EndpointAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
var endpointAttachmentResource = new EndpointAttachment("endpointAttachmentResource", EndpointAttachmentArgs.builder()
.organizationId("string")
.endpointAttachmentId("string")
.location("string")
.name("string")
.serviceAttachment("string")
.build());
endpoint_attachment_resource = google_native.apigee.v1.EndpointAttachment("endpointAttachmentResource",
organization_id="string",
endpoint_attachment_id="string",
location="string",
name="string",
service_attachment="string")
const endpointAttachmentResource = new google_native.apigee.v1.EndpointAttachment("endpointAttachmentResource", {
organizationId: "string",
endpointAttachmentId: "string",
location: "string",
name: "string",
serviceAttachment: "string",
});
type: google-native:apigee/v1:EndpointAttachment
properties:
endpointAttachmentId: string
location: string
name: string
organizationId: string
serviceAttachment: string
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
The EndpointAttachment resource accepts the following input properties:
- Organization
Id string - Endpoint
Attachment stringId - 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}
- Service
Attachment string - Format: projects//regions//serviceAttachments/*
- Organization
Id string - Endpoint
Attachment stringId - 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}
- Service
Attachment string - Format: projects//regions//serviceAttachments/*
- organization
Id String - endpoint
Attachment StringId - 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}
- service
Attachment String - Format: projects//regions//serviceAttachments/*
- organization
Id string - endpoint
Attachment stringId - 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}
- service
Attachment string - Format: projects//regions//serviceAttachments/*
- organization_
id str - endpoint_
attachment_ strid - 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/*
- organization
Id String - endpoint
Attachment StringId - 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}
- service
Attachment String - Format: projects//regions//serviceAttachments/*
Outputs
All input properties are implicitly available as output properties. Additionally, the EndpointAttachment resource produces the following output properties:
- Connection
State 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 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 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 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.
- connection
State 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.