1. Packages
  2. Google Cloud Native
  3. API Docs
  4. apigeeregistry
  5. apigeeregistry/v1
  6. getInstance

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.apigeeregistry/v1.getInstance

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

    Gets details of a single Instance.

    Using getInstance

    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 getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
    function getInstanceOutput(args: GetInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstanceResult>
    def get_instance(instance_id: Optional[str] = None,
                     location: Optional[str] = None,
                     project: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetInstanceResult
    def get_instance_output(instance_id: Optional[pulumi.Input[str]] = None,
                     location: Optional[pulumi.Input[str]] = None,
                     project: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetInstanceResult]
    func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
    func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput

    > Note: This function is named LookupInstance in the Go SDK.

    public static class GetInstance 
    {
        public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
        public static Output<GetInstanceResult> Invoke(GetInstanceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:apigeeregistry/v1:getInstance
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    Location string
    Project string
    InstanceId string
    Location string
    Project string
    instanceId String
    location String
    project String
    instanceId string
    location string
    project string
    instanceId String
    location String
    project String

    getInstance Result

    The following output properties are available:

    Build Pulumi.GoogleNative.ApigeeRegistry.V1.Outputs.BuildResponse
    Build info of the Instance if it's in ACTIVE state.
    Config Pulumi.GoogleNative.ApigeeRegistry.V1.Outputs.ConfigResponse
    Config of the Instance.
    CreateTime string
    Creation timestamp.
    Name string
    Format: projects/*/locations/*/instance. Currently only locations/global is supported.
    State string
    The current state of the Instance.
    StateMessage string
    Extra information of Instance.State if the state is FAILED.
    UpdateTime string
    Last update timestamp.
    Build BuildResponse
    Build info of the Instance if it's in ACTIVE state.
    Config ConfigResponse
    Config of the Instance.
    CreateTime string
    Creation timestamp.
    Name string
    Format: projects/*/locations/*/instance. Currently only locations/global is supported.
    State string
    The current state of the Instance.
    StateMessage string
    Extra information of Instance.State if the state is FAILED.
    UpdateTime string
    Last update timestamp.
    build BuildResponse
    Build info of the Instance if it's in ACTIVE state.
    config ConfigResponse
    Config of the Instance.
    createTime String
    Creation timestamp.
    name String
    Format: projects/*/locations/*/instance. Currently only locations/global is supported.
    state String
    The current state of the Instance.
    stateMessage String
    Extra information of Instance.State if the state is FAILED.
    updateTime String
    Last update timestamp.
    build BuildResponse
    Build info of the Instance if it's in ACTIVE state.
    config ConfigResponse
    Config of the Instance.
    createTime string
    Creation timestamp.
    name string
    Format: projects/*/locations/*/instance. Currently only locations/global is supported.
    state string
    The current state of the Instance.
    stateMessage string
    Extra information of Instance.State if the state is FAILED.
    updateTime string
    Last update timestamp.
    build BuildResponse
    Build info of the Instance if it's in ACTIVE state.
    config ConfigResponse
    Config of the Instance.
    create_time str
    Creation timestamp.
    name str
    Format: projects/*/locations/*/instance. Currently only locations/global is supported.
    state str
    The current state of the Instance.
    state_message str
    Extra information of Instance.State if the state is FAILED.
    update_time str
    Last update timestamp.
    build Property Map
    Build info of the Instance if it's in ACTIVE state.
    config Property Map
    Config of the Instance.
    createTime String
    Creation timestamp.
    name String
    Format: projects/*/locations/*/instance. Currently only locations/global is supported.
    state String
    The current state of the Instance.
    stateMessage String
    Extra information of Instance.State if the state is FAILED.
    updateTime String
    Last update timestamp.

    Supporting Types

    BuildResponse

    CommitId string
    Commit ID of the latest commit in the build.
    CommitTime string
    Commit time of the latest commit in the build.
    Repo string
    Path of the open source repository: github.com/apigee/registry.
    CommitId string
    Commit ID of the latest commit in the build.
    CommitTime string
    Commit time of the latest commit in the build.
    Repo string
    Path of the open source repository: github.com/apigee/registry.
    commitId String
    Commit ID of the latest commit in the build.
    commitTime String
    Commit time of the latest commit in the build.
    repo String
    Path of the open source repository: github.com/apigee/registry.
    commitId string
    Commit ID of the latest commit in the build.
    commitTime string
    Commit time of the latest commit in the build.
    repo string
    Path of the open source repository: github.com/apigee/registry.
    commit_id str
    Commit ID of the latest commit in the build.
    commit_time str
    Commit time of the latest commit in the build.
    repo str
    Path of the open source repository: github.com/apigee/registry.
    commitId String
    Commit ID of the latest commit in the build.
    commitTime String
    Commit time of the latest commit in the build.
    repo String
    Path of the open source repository: github.com/apigee/registry.

    ConfigResponse

    CmekKeyName string
    The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where the location must match InstanceConfig.location.
    Location string
    The GCP location where the Instance resides.
    CmekKeyName string
    The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where the location must match InstanceConfig.location.
    Location string
    The GCP location where the Instance resides.
    cmekKeyName String
    The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where the location must match InstanceConfig.location.
    location String
    The GCP location where the Instance resides.
    cmekKeyName string
    The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where the location must match InstanceConfig.location.
    location string
    The GCP location where the Instance resides.
    cmek_key_name str
    The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where the location must match InstanceConfig.location.
    location str
    The GCP location where the Instance resides.
    cmekKeyName String
    The Customer Managed Encryption Key (CMEK) used for data encryption. The CMEK name should follow the format of projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+), where the location must match InstanceConfig.location.
    location String
    The GCP location where the Instance resides.

    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