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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:remotebuildexecution/v1alpha:getInstance
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Id string - Project string
- Instance
Id string - Project string
- instance
Id String - project String
- instance
Id string - project string
- instance_
id str - project str
- instance
Id String - project String
getInstance Result
The following output properties are available:
- Feature
Policy 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-central1
is supported. - Logging
Enabled 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_id
field. - 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 string
- The location is a GCP region. Currently only
us-central1
is supported. - Logging
Enabled 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_id
field. - 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 String
- The location is a GCP region. Currently only
us-central1
is supported. - logging
Enabled 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_id
field. - 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 string
- The location is a GCP region. Currently only
us-central1
is supported. - logging
Enabled 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_id
field. - 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-central1
is 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_id
field. - state str
- State of the instance.
- feature
Policy 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-central1
is supported. - logging
Enabled 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_id
field. - state String
- State of the instance.
Supporting Types
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyFeatureResponse
- Allowed
Values List<string> - A list of acceptable values. Only effective when the policy is
RESTRICTED
. - Policy string
- The policy of the feature.
- Allowed
Values []string - A list of acceptable values. Only effective when the policy is
RESTRICTED
. - Policy string
- The policy of the feature.
- allowed
Values List<String> - A list of acceptable values. Only effective when the policy is
RESTRICTED
. - policy String
- The policy of the feature.
- allowed
Values 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.
- allowed
Values List<String> - A list of acceptable values. Only effective when the policy is
RESTRICTED
. - policy String
- The policy of the feature.
GoogleDevtoolsRemotebuildexecutionAdminV1alphaFeaturePolicyResponse
- Container
Image 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.
- Docker
Add 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.
- Docker
Chroot Pulumi.Path Google Native. Remote Build Execution. V1Alpha. Inputs. Google Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response - Whether dockerChrootPath can be used.
- Docker
Network 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
off
value only viaallowed_values
. - Docker
Privileged Pulumi.Google Native. Remote Build Execution. V1Alpha. Inputs. Google Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response - Whether dockerPrivileged can be used.
- Docker
Run Pulumi.As Root Google Native. Remote Build Execution. V1Alpha. Inputs. Google Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response - Whether dockerRunAsRoot can be used.
- Docker
Runtime 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.
- Docker
Sibling Pulumi.Containers Google Native. Remote Build Execution. V1Alpha. Inputs. Google Devtools Remotebuildexecution Admin V1alpha Feature Policy Feature Response - Whether dockerSiblingContainers can be used.
- Linux
Isolation 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
off
value 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 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
off
value 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 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
off
value 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 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
off
value 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.
- container
Image 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.
- docker
Add Property MapCapabilities - Whether dockerAddCapabilities can be used or what capabilities are allowed.
- docker
Chroot Property MapPath - Whether dockerChrootPath can be used.
- docker
Network Property Map - Whether dockerNetwork can be used or what network modes are allowed. E.g. one may allow
off
value only viaallowed_values
. - docker
Privileged Property Map - Whether dockerPrivileged can be used.
- docker
Run Property MapAs Root - Whether dockerRunAsRoot can be used.
- docker
Runtime 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.
- docker
Sibling Property MapContainers - Whether dockerSiblingContainers can be used.
- linux
Isolation 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