Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.connectors/v1.EndpointAttachment
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new EndpointAttachment in a given project and location. 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,
endpoint_attachment_id: Optional[str] = None,
service_attachment: Optional[str] = None,
description: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
project: 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:connectors/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 google_nativeEndpointAttachmentResource = new GoogleNative.Connectors.V1.EndpointAttachment("google-nativeEndpointAttachmentResource", new()
{
EndpointAttachmentId = "string",
ServiceAttachment = "string",
Description = "string",
Labels =
{
{ "string", "string" },
},
Location = "string",
Project = "string",
});
example, err := connectors.NewEndpointAttachment(ctx, "google-nativeEndpointAttachmentResource", &connectors.EndpointAttachmentArgs{
EndpointAttachmentId: pulumi.String("string"),
ServiceAttachment: pulumi.String("string"),
Description: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: pulumi.String("string"),
Project: pulumi.String("string"),
})
var google_nativeEndpointAttachmentResource = new EndpointAttachment("google-nativeEndpointAttachmentResource", EndpointAttachmentArgs.builder()
.endpointAttachmentId("string")
.serviceAttachment("string")
.description("string")
.labels(Map.of("string", "string"))
.location("string")
.project("string")
.build());
google_native_endpoint_attachment_resource = google_native.connectors.v1.EndpointAttachment("google-nativeEndpointAttachmentResource",
endpoint_attachment_id="string",
service_attachment="string",
description="string",
labels={
"string": "string",
},
location="string",
project="string")
const google_nativeEndpointAttachmentResource = new google_native.connectors.v1.EndpointAttachment("google-nativeEndpointAttachmentResource", {
endpointAttachmentId: "string",
serviceAttachment: "string",
description: "string",
labels: {
string: "string",
},
location: "string",
project: "string",
});
type: google-native:connectors/v1:EndpointAttachment
properties:
description: string
endpointAttachmentId: string
labels:
string: string
location: string
project: 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
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:
- Endpoint
Attachment stringId - Required. Identifier to assign to the EndpointAttachment. Must be unique within scope of the parent resource.
- Service
Attachment string - The path of the service attachment
- Description string
- Optional. Description of the resource.
- Labels Dictionary<string, string>
- Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
- Location string
- Project string
- Endpoint
Attachment stringId - Required. Identifier to assign to the EndpointAttachment. Must be unique within scope of the parent resource.
- Service
Attachment string - The path of the service attachment
- Description string
- Optional. Description of the resource.
- Labels map[string]string
- Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
- Location string
- Project string
- endpoint
Attachment StringId - Required. Identifier to assign to the EndpointAttachment. Must be unique within scope of the parent resource.
- service
Attachment String - The path of the service attachment
- description String
- Optional. Description of the resource.
- labels Map<String,String>
- Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
- location String
- project String
- endpoint
Attachment stringId - Required. Identifier to assign to the EndpointAttachment. Must be unique within scope of the parent resource.
- service
Attachment string - The path of the service attachment
- description string
- Optional. Description of the resource.
- labels {[key: string]: string}
- Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
- location string
- project string
- endpoint_
attachment_ strid - Required. Identifier to assign to the EndpointAttachment. Must be unique within scope of the parent resource.
- service_
attachment str - The path of the service attachment
- description str
- Optional. Description of the resource.
- labels Mapping[str, str]
- Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
- location str
- project str
- endpoint
Attachment StringId - Required. Identifier to assign to the EndpointAttachment. Must be unique within scope of the parent resource.
- service
Attachment String - The path of the service attachment
- description String
- Optional. Description of the resource.
- labels Map<String>
- Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
- location String
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the EndpointAttachment resource produces the following output properties:
- Create
Time string - Created time.
- Endpoint
Ip string - The Private Service Connect connection endpoint ip
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name of the Endpoint Attachment. Format: projects/{project}/locations/{location}/endpointAttachments/{endpoint_attachment}
- Update
Time string - Updated time.
- Create
Time string - Created time.
- Endpoint
Ip string - The Private Service Connect connection endpoint ip
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name of the Endpoint Attachment. Format: projects/{project}/locations/{location}/endpointAttachments/{endpoint_attachment}
- Update
Time string - Updated time.
- create
Time String - Created time.
- endpoint
Ip String - The Private Service Connect connection endpoint ip
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name of the Endpoint Attachment. Format: projects/{project}/locations/{location}/endpointAttachments/{endpoint_attachment}
- update
Time String - Updated time.
- create
Time string - Created time.
- endpoint
Ip string - The Private Service Connect connection endpoint ip
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name of the Endpoint Attachment. Format: projects/{project}/locations/{location}/endpointAttachments/{endpoint_attachment}
- update
Time string - Updated time.
- create_
time str - Created time.
- endpoint_
ip str - The Private Service Connect connection endpoint ip
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name of the Endpoint Attachment. Format: projects/{project}/locations/{location}/endpointAttachments/{endpoint_attachment}
- update_
time str - Updated time.
- create
Time String - Created time.
- endpoint
Ip String - The Private Service Connect connection endpoint ip
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name of the Endpoint Attachment. Format: projects/{project}/locations/{location}/endpointAttachments/{endpoint_attachment}
- update
Time String - Updated time.
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.