Viewing docs for Google Cloud v9.32.1
published on Wednesday, Jul 29, 2026 by Pulumi
published on Wednesday, Jul 29, 2026 by Pulumi
Viewing docs for Google Cloud v9.32.1
published on Wednesday, Jul 29, 2026 by Pulumi
published on Wednesday, Jul 29, 2026 by Pulumi
Get information about an Agent Registry Endpoint.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const _default = gcp.agentregistry.getEndpoint({
location: "us-central1",
endpointId: "apphub-00000000-0000-0000-0000-000000000000",
});
import pulumi
import pulumi_gcp as gcp
default = gcp.agentregistry.get_endpoint(location="us-central1",
endpoint_id="apphub-00000000-0000-0000-0000-000000000000")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/agentregistry"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := agentregistry.GetEndpoint(ctx, &agentregistry.GetEndpointArgs{
Location: "us-central1",
EndpointId: pulumi.StringRef("apphub-00000000-0000-0000-0000-000000000000"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var @default = Gcp.AgentRegistry.GetEndpoint.Invoke(new()
{
Location = "us-central1",
EndpointId = "apphub-00000000-0000-0000-0000-000000000000",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.agentregistry.AgentregistryFunctions;
import com.pulumi.gcp.agentregistry.inputs.GetEndpointArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var default = AgentregistryFunctions.getEndpoint(GetEndpointArgs.builder()
.location("us-central1")
.endpointId("apphub-00000000-0000-0000-0000-000000000000")
.build());
}
}
variables:
default:
fn::invoke:
function: gcp:agentregistry:getEndpoint
arguments:
location: us-central1
endpointId: apphub-00000000-0000-0000-0000-000000000000
pulumi {
required_providers {
gcp = {
source = "pulumi/gcp"
}
}
}
data "gcp_agentregistry_getendpoint" "default" {
location = "us-central1"
endpoint_id = "apphub-00000000-0000-0000-0000-000000000000"
}
Using getEndpoint
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEndpoint(args: GetEndpointArgs, opts?: InvokeOptions): Promise<GetEndpointResult>
function getEndpointOutput(args: GetEndpointOutputArgs, opts?: InvokeOptions): Output<GetEndpointResult>def get_endpoint(endpoint_id: Optional[str] = None,
filter: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEndpointResult
def get_endpoint_output(endpoint_id: pulumi.Input[Optional[str]] = None,
filter: pulumi.Input[Optional[str]] = None,
location: pulumi.Input[Optional[str]] = None,
project: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEndpointResult]func GetEndpoint(ctx *Context, args *GetEndpointArgs, opts ...InvokeOption) (*GetEndpointResult, error)
func GetEndpointOutput(ctx *Context, args *GetEndpointOutputArgs, opts ...InvokeOption) GetEndpointResultOutput> Note: This function is named GetEndpoint in the Go SDK.
public static class GetEndpoint
{
public static Task<GetEndpointResult> InvokeAsync(GetEndpointArgs args, InvokeOptions? opts = null)
public static Output<GetEndpointResult> Invoke(GetEndpointInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEndpointResult> getEndpoint(GetEndpointArgs args, InvokeOptions options)
public static Output<GetEndpointResult> getEndpoint(GetEndpointArgs args, InvokeOptions options)
fn::invoke:
function: gcp:agentregistry/getEndpoint:getEndpoint
arguments:
# arguments dictionarydata "gcp_agentregistry_get_endpoint" "name" {
# arguments
}The following arguments are supported:
- Location string
- The location of the resource.
- Endpoint
Id string - The unique identifier for the Endpoint. This or
filtermust be set. - Filter string
- A filter string that identifies a unique Endpoint. This or
endpointIdmust be set. - Project string
- The project in which the resource belongs. If it is not provided, the provider project is used.
- Location string
- The location of the resource.
- Endpoint
Id string - The unique identifier for the Endpoint. This or
filtermust be set. - Filter string
- A filter string that identifies a unique Endpoint. This or
endpointIdmust be set. - Project string
- The project in which the resource belongs. If it is not provided, the provider project is used.
- location string
- The location of the resource.
- endpoint_
id string - The unique identifier for the Endpoint. This or
filtermust be set. - filter string
- A filter string that identifies a unique Endpoint. This or
endpointIdmust be set. - project string
- The project in which the resource belongs. If it is not provided, the provider project is used.
- location String
- The location of the resource.
- endpoint
Id String - The unique identifier for the Endpoint. This or
filtermust be set. - filter String
- A filter string that identifies a unique Endpoint. This or
endpointIdmust be set. - project String
- The project in which the resource belongs. If it is not provided, the provider project is used.
- location string
- The location of the resource.
- endpoint
Id string - The unique identifier for the Endpoint. This or
filtermust be set. - filter string
- A filter string that identifies a unique Endpoint. This or
endpointIdmust be set. - project string
- The project in which the resource belongs. If it is not provided, the provider project is used.
- location str
- The location of the resource.
- endpoint_
id str - The unique identifier for the Endpoint. This or
filtermust be set. - filter str
- A filter string that identifies a unique Endpoint. This or
endpointIdmust be set. - project str
- The project in which the resource belongs. If it is not provided, the provider project is used.
- location String
- The location of the resource.
- endpoint
Id String - The unique identifier for the Endpoint. This or
filtermust be set. - filter String
- A filter string that identifies a unique Endpoint. This or
endpointIdmust be set. - project String
- The project in which the resource belongs. If it is not provided, the provider project is used.
getEndpoint Result
The following output properties are available:
- Attributes Dictionary<string, string>
- Attributes of the Endpoint.
- Create
Time string - Create time.
- Description string
- The description of the Endpoint.
- Display
Name string - The display name of the Endpoint.
- Endpoint
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Interfaces
List<Get
Endpoint Interface> - The connection details for the Endpoint.
- Location string
- Project string
- Update
Time string - Update time.
- Urn string
- The URN of the Endpoint.
- Filter string
- Attributes map[string]string
- Attributes of the Endpoint.
- Create
Time string - Create time.
- Description string
- The description of the Endpoint.
- Display
Name string - The display name of the Endpoint.
- Endpoint
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Interfaces
[]Get
Endpoint Interface - The connection details for the Endpoint.
- Location string
- Project string
- Update
Time string - Update time.
- Urn string
- The URN of the Endpoint.
- Filter string
- attributes map(string)
- Attributes of the Endpoint.
- create_
time string - Create time.
- description string
- The description of the Endpoint.
- display_
name string - The display name of the Endpoint.
- endpoint_
id string - id string
- The provider-assigned unique ID for this managed resource.
- interfaces list(object)
- The connection details for the Endpoint.
- location string
- project string
- update_
time string - Update time.
- urn string
- The URN of the Endpoint.
- filter string
- attributes Map<String,String>
- Attributes of the Endpoint.
- create
Time String - Create time.
- description String
- The description of the Endpoint.
- display
Name String - The display name of the Endpoint.
- endpoint
Id String - id String
- The provider-assigned unique ID for this managed resource.
- interfaces
List<Get
Endpoint Interface> - The connection details for the Endpoint.
- location String
- project String
- update
Time String - Update time.
- urn String
- The URN of the Endpoint.
- filter String
- attributes {[key: string]: string}
- Attributes of the Endpoint.
- create
Time string - Create time.
- description string
- The description of the Endpoint.
- display
Name string - The display name of the Endpoint.
- endpoint
Id string - id string
- The provider-assigned unique ID for this managed resource.
- interfaces
Get
Endpoint Interface[] - The connection details for the Endpoint.
- location string
- project string
- update
Time string - Update time.
- urn string
- The URN of the Endpoint.
- filter string
- attributes Mapping[str, str]
- Attributes of the Endpoint.
- create_
time str - Create time.
- description str
- The description of the Endpoint.
- display_
name str - The display name of the Endpoint.
- endpoint_
id str - id str
- The provider-assigned unique ID for this managed resource.
- interfaces
Sequence[Get
Endpoint Interface] - The connection details for the Endpoint.
- location str
- project str
- update_
time str - Update time.
- urn str
- The URN of the Endpoint.
- filter str
- attributes Map<String>
- Attributes of the Endpoint.
- create
Time String - Create time.
- description String
- The description of the Endpoint.
- display
Name String - The display name of the Endpoint.
- endpoint
Id String - id String
- The provider-assigned unique ID for this managed resource.
- interfaces List<Property Map>
- The connection details for the Endpoint.
- location String
- project String
- update
Time String - Update time.
- urn String
- The URN of the Endpoint.
- filter String
Supporting Types
GetEndpointInterface
- Protocol
Binding string - The protocol binding of the interface.
- Url string
- The destination URL.
- Protocol
Binding string - The protocol binding of the interface.
- Url string
- The destination URL.
- protocol_
binding string - The protocol binding of the interface.
- url string
- The destination URL.
- protocol
Binding String - The protocol binding of the interface.
- url String
- The destination URL.
- protocol
Binding string - The protocol binding of the interface.
- url string
- The destination URL.
- protocol_
binding str - The protocol binding of the interface.
- url str
- The destination URL.
- protocol
Binding String - The protocol binding of the interface.
- url String
- The destination URL.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
Viewing docs for Google Cloud v9.32.1
published on Wednesday, Jul 29, 2026 by Pulumi
published on Wednesday, Jul 29, 2026 by Pulumi