1. Packages
  2. Google Cloud Native
  3. API Docs
  4. connectors
  5. connectors/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.connectors/v1.EndpointAttachment

Explore with Pulumi AI

google-native logo

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 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:

    EndpointAttachmentId string
    Required. Identifier to assign to the EndpointAttachment. Must be unique within scope of the parent resource.
    ServiceAttachment 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
    EndpointAttachmentId string
    Required. Identifier to assign to the EndpointAttachment. Must be unique within scope of the parent resource.
    ServiceAttachment 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
    endpointAttachmentId String
    Required. Identifier to assign to the EndpointAttachment. Must be unique within scope of the parent resource.
    serviceAttachment 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
    endpointAttachmentId string
    Required. Identifier to assign to the EndpointAttachment. Must be unique within scope of the parent resource.
    serviceAttachment 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_id str
    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
    endpointAttachmentId String
    Required. Identifier to assign to the EndpointAttachment. Must be unique within scope of the parent resource.
    serviceAttachment 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:

    CreateTime string
    Created time.
    EndpointIp 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}
    UpdateTime string
    Updated time.
    CreateTime string
    Created time.
    EndpointIp 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}
    UpdateTime string
    Updated time.
    createTime String
    Created time.
    endpointIp 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}
    updateTime String
    Updated time.
    createTime string
    Created time.
    endpointIp 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}
    updateTime 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.
    createTime String
    Created time.
    endpointIp 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}
    updateTime String
    Updated time.

    Package Details

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

    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