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.datastore/v1.getIndex
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 an index.
Using getIndex
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 getIndex(args: GetIndexArgs, opts?: InvokeOptions): Promise<GetIndexResult>
function getIndexOutput(args: GetIndexOutputArgs, opts?: InvokeOptions): Output<GetIndexResult>
def get_index(index_id: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIndexResult
def get_index_output(index_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIndexResult]
func LookupIndex(ctx *Context, args *LookupIndexArgs, opts ...InvokeOption) (*LookupIndexResult, error)
func LookupIndexOutput(ctx *Context, args *LookupIndexOutputArgs, opts ...InvokeOption) LookupIndexResultOutput
> Note: This function is named LookupIndex
in the Go SDK.
public static class GetIndex
{
public static Task<GetIndexResult> InvokeAsync(GetIndexArgs args, InvokeOptions? opts = null)
public static Output<GetIndexResult> Invoke(GetIndexInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIndexResult> getIndex(GetIndexArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:datastore/v1:getIndex
arguments:
# arguments dictionary
The following arguments are supported:
getIndex Result
The following output properties are available:
- Ancestor string
- The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.
- Index
Id string - The resource ID of the index.
- Kind string
- The entity kind to which this index applies.
- Project string
- Project ID.
- Properties
List<Pulumi.
Google Native. Datastore. V1. Outputs. Google Datastore Admin V1Indexed Property Response> - An ordered sequence of property names and their index attributes. Requires: * A maximum of 100 properties.
- State string
- The state of the index.
- Ancestor string
- The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.
- Index
Id string - The resource ID of the index.
- Kind string
- The entity kind to which this index applies.
- Project string
- Project ID.
- Properties
[]Google
Datastore Admin V1Indexed Property Response - An ordered sequence of property names and their index attributes. Requires: * A maximum of 100 properties.
- State string
- The state of the index.
- ancestor String
- The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.
- index
Id String - The resource ID of the index.
- kind String
- The entity kind to which this index applies.
- project String
- Project ID.
- properties
List<Google
Datastore Admin V1Indexed Property Response> - An ordered sequence of property names and their index attributes. Requires: * A maximum of 100 properties.
- state String
- The state of the index.
- ancestor string
- The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.
- index
Id string - The resource ID of the index.
- kind string
- The entity kind to which this index applies.
- project string
- Project ID.
- properties
Google
Datastore Admin V1Indexed Property Response[] - An ordered sequence of property names and their index attributes. Requires: * A maximum of 100 properties.
- state string
- The state of the index.
- ancestor str
- The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.
- index_
id str - The resource ID of the index.
- kind str
- The entity kind to which this index applies.
- project str
- Project ID.
- properties
Sequence[Google
Datastore Admin V1Indexed Property Response] - An ordered sequence of property names and their index attributes. Requires: * A maximum of 100 properties.
- state str
- The state of the index.
- ancestor String
- The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.
- index
Id String - The resource ID of the index.
- kind String
- The entity kind to which this index applies.
- project String
- Project ID.
- properties List<Property Map>
- An ordered sequence of property names and their index attributes. Requires: * A maximum of 100 properties.
- state String
- The state of the index.
Supporting Types
GoogleDatastoreAdminV1IndexedPropertyResponse
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