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.remotebuildexecution/v1alpha.getInstance
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
Returns the specified 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,
                 project: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(instance_id: 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)
public static Output<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:remotebuildexecution/v1alpha:getInstance
  arguments:
    # arguments dictionaryThe following arguments are supported:
- InstanceId string
- Project string
- InstanceId string
- Project string
- instanceId String
- project String
- instanceId string
- project string
- instance_id str
- project str
- instanceId String
- project String
getInstance Result
The following output properties are available:
- FeaturePolicy Pulumi.Google Native. Remote Build Execution. V1Alpha. Outputs. Google Devtools Remotebuildexecution Admin V1alpha Feature Policy Response 
- The policy to define whether or not RBE features can be used or how they can be used.
- Location string
- The location is a GCP region. Currently only us-central1is supported.
- LoggingEnabled bool
- Whether stack driver logging is enabled for the instance.
- Name string
- Instance resource name formatted as: projects/[PROJECT_ID]/instances/[INSTANCE_ID]. Name should not be populated when creating an instance since it is provided in theinstance_idfield.
- State string
- State of the instance.
- FeaturePolicy GoogleDevtools Remotebuildexecution Admin V1alpha Feature Policy Response 
- The policy to define whether or not RBE features can be used or how they can be used.
- Location string
- The location is a GCP region. Currently only us-central1is supported.
- LoggingEnabled bool
- Whether stack driver logging is enabled for the instance.
- Name string
- Instance resource name formatted as: projects/[PROJECT_ID]/instances/[INSTANCE_ID]. Name should not be populated when creating an instance since it is provided in theinstance_idfield.
- State string
- State of the instance.
- featurePolicy GoogleDevtools Remotebuildexecution Admin V1alpha Feature Policy Response 
- The policy to define whether or not RBE features can be used or how they can be used.
- location String
- The location is a GCP region. Currently only us-central1is supported.
- loggingEnabled Boolean
- Whether stack driver logging is enabled for the instance.
- name String
- Instance resource name formatted as: projects/[PROJECT_ID]/instances/[INSTANCE_ID]. Name should not be populated when creating an instance since it is provided in theinstance_idfield.
- state String
- State of the instance.
- featurePolicy GoogleDevtools Remotebuildexecution Admin V1alpha Feature Policy Response 
- The policy to define whether or not RBE features can be used or how they can be used.
- location string
- The location is a GCP region. Currently only us-central1is supported.
- loggingEnabled boolean
- Whether stack driver logging is enabled for the instance.
- name string
- Instance resource name formatted as: projects/[PROJECT_ID]/instances/[INSTANCE_ID]. Name should not be populated when creating an instance since it is provided in theinstance_idfield.
- state string
- State of the instance.
- feature_policy GoogleDevtools Remotebuildexecution Admin V1alpha Feature Policy Response 
- The policy to define whether or not RBE features can be used or how they can be used.
- location str
- The location is a GCP region. Currently only us-central1is supported.
- logging_enabled bool
- Whether stack driver logging is enabled for the instance.
- name str
- Instance resource name formatted as: projects/[PROJECT_ID]/instances/[INSTANCE_ID]. Name should not be populated when creating an instance since it is provided in theinstance_idfield.
- state str
- State of the instance.
- featurePolicy Property Map
- The policy to define whether or not RBE features can be used or how they can be used.
- location String
- The location is a GCP region. Currently only us-central1is supported.
- loggingEnabled Boolean
- Whether stack driver logging is enabled for the instance.
- name String
- Instance resource name formatted as: projects/[PROJECT_ID]/instances/[INSTANCE_ID]. Name should not be populated when creating an instance since it is provided in theinstance_idfield.
- state String
- State of the instance.
Supporting Types
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse        
- AllowedValues List<string>
- A list of acceptable values. Only effective when the policy is RESTRICTED.
- Policy string
- The policy of the feature.
- AllowedValues []string
- A list of acceptable values. Only effective when the policy is RESTRICTED.
- Policy string
- The policy of the feature.
- allowedValues List<String>
- A list of acceptable values. Only effective when the policy is RESTRICTED.
- policy String
- The policy of the feature.
- allowedValues string[]
- A list of acceptable values. Only effective when the policy is RESTRICTED.
- policy string
- The policy of the feature.
- allowed_values Sequence[str]
- A list of acceptable values. Only effective when the policy is RESTRICTED.
- policy str
- The policy of the feature.
- allowedValues List<String>
- A list of acceptable values. Only effective when the policy is RESTRICTED.
- policy String
- The policy of the feature.
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyResponse       
- ContainerImage Pulumi.Sources Google Native. Remote Build Execution. V1Alpha. Inputs. Google Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Which container image sources are allowed. Currently only RBE-supported registry (gcr.io) is allowed. One can allow all repositories under a project or one specific repository only. E.g. container_image_sources { policy: RESTRICTED allowed_values: [ "gcr.io/project-foo", "gcr.io/project-bar/repo-baz", ] } will allow any repositories under "gcr.io/project-foo" plus the repository "gcr.io/project-bar/repo-baz". Default (UNSPECIFIED) is equivalent to any source is allowed.
- DockerAdd Pulumi.Capabilities Google Native. Remote Build Execution. V1Alpha. Inputs. Google Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerAddCapabilities can be used or what capabilities are allowed.
- DockerChroot Pulumi.Path Google Native. Remote Build Execution. V1Alpha. Inputs. Google Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerChrootPath can be used.
- DockerNetwork Pulumi.Google Native. Remote Build Execution. V1Alpha. Inputs. Google Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerNetwork can be used or what network modes are allowed. E.g. one may allow offvalue only viaallowed_values.
- DockerPrivileged Pulumi.Google Native. Remote Build Execution. V1Alpha. Inputs. Google Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerPrivileged can be used.
- DockerRun Pulumi.As Root Google Native. Remote Build Execution. V1Alpha. Inputs. Google Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerRunAsRoot can be used.
- DockerRuntime Pulumi.Google Native. Remote Build Execution. V1Alpha. Inputs. Google Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerRuntime is allowed to be set or what runtimes are allowed. Note linux_isolation takes precedence, and if set, docker_runtime values may be rejected if they are incompatible with the selected isolation.
- DockerSibling Pulumi.Containers Google Native. Remote Build Execution. V1Alpha. Inputs. Google Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerSiblingContainers can be used.
- LinuxIsolation string
- linux_isolation allows overriding the docker runtime used for containers started on Linux.
- ContainerImage GoogleSources Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Which container image sources are allowed. Currently only RBE-supported registry (gcr.io) is allowed. One can allow all repositories under a project or one specific repository only. E.g. container_image_sources { policy: RESTRICTED allowed_values: [ "gcr.io/project-foo", "gcr.io/project-bar/repo-baz", ] } will allow any repositories under "gcr.io/project-foo" plus the repository "gcr.io/project-bar/repo-baz". Default (UNSPECIFIED) is equivalent to any source is allowed.
- DockerAdd GoogleCapabilities Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerAddCapabilities can be used or what capabilities are allowed.
- DockerChroot GooglePath Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerChrootPath can be used.
- DockerNetwork GoogleDevtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerNetwork can be used or what network modes are allowed. E.g. one may allow offvalue only viaallowed_values.
- DockerPrivileged GoogleDevtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerPrivileged can be used.
- DockerRun GoogleAs Root Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerRunAsRoot can be used.
- DockerRuntime GoogleDevtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerRuntime is allowed to be set or what runtimes are allowed. Note linux_isolation takes precedence, and if set, docker_runtime values may be rejected if they are incompatible with the selected isolation.
- DockerSibling GoogleContainers Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerSiblingContainers can be used.
- LinuxIsolation string
- linux_isolation allows overriding the docker runtime used for containers started on Linux.
- containerImage GoogleSources Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Which container image sources are allowed. Currently only RBE-supported registry (gcr.io) is allowed. One can allow all repositories under a project or one specific repository only. E.g. container_image_sources { policy: RESTRICTED allowed_values: [ "gcr.io/project-foo", "gcr.io/project-bar/repo-baz", ] } will allow any repositories under "gcr.io/project-foo" plus the repository "gcr.io/project-bar/repo-baz". Default (UNSPECIFIED) is equivalent to any source is allowed.
- dockerAdd GoogleCapabilities Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerAddCapabilities can be used or what capabilities are allowed.
- dockerChroot GooglePath Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerChrootPath can be used.
- dockerNetwork GoogleDevtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerNetwork can be used or what network modes are allowed. E.g. one may allow offvalue only viaallowed_values.
- dockerPrivileged GoogleDevtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerPrivileged can be used.
- dockerRun GoogleAs Root Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerRunAsRoot can be used.
- dockerRuntime GoogleDevtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerRuntime is allowed to be set or what runtimes are allowed. Note linux_isolation takes precedence, and if set, docker_runtime values may be rejected if they are incompatible with the selected isolation.
- dockerSibling GoogleContainers Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerSiblingContainers can be used.
- linuxIsolation String
- linux_isolation allows overriding the docker runtime used for containers started on Linux.
- containerImage GoogleSources Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Which container image sources are allowed. Currently only RBE-supported registry (gcr.io) is allowed. One can allow all repositories under a project or one specific repository only. E.g. container_image_sources { policy: RESTRICTED allowed_values: [ "gcr.io/project-foo", "gcr.io/project-bar/repo-baz", ] } will allow any repositories under "gcr.io/project-foo" plus the repository "gcr.io/project-bar/repo-baz". Default (UNSPECIFIED) is equivalent to any source is allowed.
- dockerAdd GoogleCapabilities Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerAddCapabilities can be used or what capabilities are allowed.
- dockerChroot GooglePath Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerChrootPath can be used.
- dockerNetwork GoogleDevtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerNetwork can be used or what network modes are allowed. E.g. one may allow offvalue only viaallowed_values.
- dockerPrivileged GoogleDevtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerPrivileged can be used.
- dockerRun GoogleAs Root Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerRunAsRoot can be used.
- dockerRuntime GoogleDevtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerRuntime is allowed to be set or what runtimes are allowed. Note linux_isolation takes precedence, and if set, docker_runtime values may be rejected if they are incompatible with the selected isolation.
- dockerSibling GoogleContainers Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerSiblingContainers can be used.
- linuxIsolation string
- linux_isolation allows overriding the docker runtime used for containers started on Linux.
- container_image_ Googlesources Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Which container image sources are allowed. Currently only RBE-supported registry (gcr.io) is allowed. One can allow all repositories under a project or one specific repository only. E.g. container_image_sources { policy: RESTRICTED allowed_values: [ "gcr.io/project-foo", "gcr.io/project-bar/repo-baz", ] } will allow any repositories under "gcr.io/project-foo" plus the repository "gcr.io/project-bar/repo-baz". Default (UNSPECIFIED) is equivalent to any source is allowed.
- docker_add_ Googlecapabilities Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerAddCapabilities can be used or what capabilities are allowed.
- docker_chroot_ Googlepath Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerChrootPath can be used.
- docker_network GoogleDevtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerNetwork can be used or what network modes are allowed. E.g. one may allow offvalue only viaallowed_values.
- docker_privileged GoogleDevtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerPrivileged can be used.
- docker_run_ Googleas_ root Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerRunAsRoot can be used.
- docker_runtime GoogleDevtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerRuntime is allowed to be set or what runtimes are allowed. Note linux_isolation takes precedence, and if set, docker_runtime values may be rejected if they are incompatible with the selected isolation.
- docker_sibling_ Googlecontainers Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response 
- Whether dockerSiblingContainers can be used.
- linux_isolation str
- linux_isolation allows overriding the docker runtime used for containers started on Linux.
- containerImage Property MapSources 
- Which container image sources are allowed. Currently only RBE-supported registry (gcr.io) is allowed. One can allow all repositories under a project or one specific repository only. E.g. container_image_sources { policy: RESTRICTED allowed_values: [ "gcr.io/project-foo", "gcr.io/project-bar/repo-baz", ] } will allow any repositories under "gcr.io/project-foo" plus the repository "gcr.io/project-bar/repo-baz". Default (UNSPECIFIED) is equivalent to any source is allowed.
- dockerAdd Property MapCapabilities 
- Whether dockerAddCapabilities can be used or what capabilities are allowed.
- dockerChroot Property MapPath 
- Whether dockerChrootPath can be used.
- dockerNetwork Property Map
- Whether dockerNetwork can be used or what network modes are allowed. E.g. one may allow offvalue only viaallowed_values.
- dockerPrivileged Property Map
- Whether dockerPrivileged can be used.
- dockerRun Property MapAs Root 
- Whether dockerRunAsRoot can be used.
- dockerRuntime Property Map
- Whether dockerRuntime is allowed to be set or what runtimes are allowed. Note linux_isolation takes precedence, and if set, docker_runtime values may be rejected if they are incompatible with the selected isolation.
- dockerSibling Property MapContainers 
- Whether dockerSiblingContainers can be used.
- linuxIsolation String
- linux_isolation allows overriding the docker runtime used for containers started on Linux.
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