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/v2.getEntity
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
Gets a single entity row matching the entity type and entity id specified in the request.
Using getEntity
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 getEntity(args: GetEntityArgs, opts?: InvokeOptions): Promise<GetEntityResult>
function getEntityOutput(args: GetEntityOutputArgs, opts?: InvokeOptions): Output<GetEntityResult>
def get_entity(connection_id: Optional[str] = None,
entity_id: Optional[str] = None,
entity_type_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEntityResult
def get_entity_output(connection_id: Optional[pulumi.Input[str]] = None,
entity_id: Optional[pulumi.Input[str]] = None,
entity_type_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEntityResult]
func LookupEntity(ctx *Context, args *LookupEntityArgs, opts ...InvokeOption) (*LookupEntityResult, error)
func LookupEntityOutput(ctx *Context, args *LookupEntityOutputArgs, opts ...InvokeOption) LookupEntityResultOutput
> Note: This function is named LookupEntity
in the Go SDK.
public static class GetEntity
{
public static Task<GetEntityResult> InvokeAsync(GetEntityArgs args, InvokeOptions? opts = null)
public static Output<GetEntityResult> Invoke(GetEntityInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEntityResult> getEntity(GetEntityArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:connectors/v2:getEntity
arguments:
# arguments dictionary
The following arguments are supported:
- Connection
Id string - Entity
Id string - Entity
Type stringId - Location string
- Project string
- Connection
Id string - Entity
Id string - Entity
Type stringId - Location string
- Project string
- connection
Id String - entity
Id String - entity
Type StringId - location String
- project String
- connection
Id string - entity
Id string - entity
Type stringId - location string
- project string
- connection_
id str - entity_
id str - entity_
type_ strid - location str
- project str
- connection
Id String - entity
Id String - entity
Type StringId - location String
- project String
getEntity Result
The following output properties are available:
- Fields Dictionary<string, string>
- Fields of the entity. The key is name of the field and the value contains the applicable
google.protobuf.Value
entry for this field. - Name string
- Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}
- Fields map[string]string
- Fields of the entity. The key is name of the field and the value contains the applicable
google.protobuf.Value
entry for this field. - Name string
- Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}
- fields Map<String,String>
- Fields of the entity. The key is name of the field and the value contains the applicable
google.protobuf.Value
entry for this field. - name String
- Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}
- fields {[key: string]: string}
- Fields of the entity. The key is name of the field and the value contains the applicable
google.protobuf.Value
entry for this field. - name string
- Resource name of the Entity. Format: projects/{project}/locations/{location}/connections/{connection}/entityTypes/{type}/entities/{id}
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