published on Tuesday, Jun 9, 2026 by Pulumi
published on Tuesday, Jun 9, 2026 by Pulumi
DiscoveryClient represents an on-premise discovery agent that scans infrastructure and uploads discovery data to Migration Center.
Example Usage
Migration Center Discovery Client Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const _default = new gcp.migrationcenter.Source("default", {
location: "us-central1",
sourceId: "source-test",
type: "SOURCE_TYPE_DISCOVERY_CLIENT",
});
const defaultAccount = new gcp.serviceaccount.Account("default", {
accountId: "sa-test",
displayName: "Service Account for Discovery Client",
});
const default2 = new gcp.serviceaccount.Account("default_2", {
accountId: "sa-test-two",
displayName: "Second Service Account for Discovery Client",
});
const defaultDiscoveryClient = new gcp.migrationcenter.DiscoveryClient("default", {
location: "us-central1",
discoveryClientId: "discovery-client-test",
source: _default.id,
serviceAccount: defaultAccount.email,
displayName: "Terraform integration test display",
description: "Terraform integration test description",
ttl: "86400s",
labels: {
my_key: "value",
second_key: "second_value",
},
});
import pulumi
import pulumi_gcp as gcp
default = gcp.migrationcenter.Source("default",
location="us-central1",
source_id="source-test",
type="SOURCE_TYPE_DISCOVERY_CLIENT")
default_account = gcp.serviceaccount.Account("default",
account_id="sa-test",
display_name="Service Account for Discovery Client")
default2 = gcp.serviceaccount.Account("default_2",
account_id="sa-test-two",
display_name="Second Service Account for Discovery Client")
default_discovery_client = gcp.migrationcenter.DiscoveryClient("default",
location="us-central1",
discovery_client_id="discovery-client-test",
source=default.id,
service_account=default_account.email,
display_name="Terraform integration test display",
description="Terraform integration test description",
ttl="86400s",
labels={
"my_key": "value",
"second_key": "second_value",
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/migrationcenter"
"github.com/pulumi/pulumi-gcp/sdk/v9/go/gcp/serviceaccount"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := migrationcenter.NewSource(ctx, "default", &migrationcenter.SourceArgs{
Location: pulumi.String("us-central1"),
SourceId: pulumi.String("source-test"),
Type: pulumi.String("SOURCE_TYPE_DISCOVERY_CLIENT"),
})
if err != nil {
return err
}
defaultAccount, err := serviceaccount.NewAccount(ctx, "default", &serviceaccount.AccountArgs{
AccountId: pulumi.String("sa-test"),
DisplayName: pulumi.String("Service Account for Discovery Client"),
})
if err != nil {
return err
}
_, err = serviceaccount.NewAccount(ctx, "default_2", &serviceaccount.AccountArgs{
AccountId: pulumi.String("sa-test-two"),
DisplayName: pulumi.String("Second Service Account for Discovery Client"),
})
if err != nil {
return err
}
_, err = migrationcenter.NewDiscoveryClient(ctx, "default", &migrationcenter.DiscoveryClientArgs{
Location: pulumi.String("us-central1"),
DiscoveryClientId: pulumi.String("discovery-client-test"),
Source: _default.ID(),
ServiceAccount: defaultAccount.Email,
DisplayName: pulumi.String("Terraform integration test display"),
Description: pulumi.String("Terraform integration test description"),
Ttl: pulumi.String("86400s"),
Labels: pulumi.StringMap{
"my_key": pulumi.String("value"),
"second_key": pulumi.String("second_value"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var @default = new Gcp.MigrationCenter.Source("default", new()
{
Location = "us-central1",
SourceId = "source-test",
Type = "SOURCE_TYPE_DISCOVERY_CLIENT",
});
var defaultAccount = new Gcp.ServiceAccount.Account("default", new()
{
AccountId = "sa-test",
DisplayName = "Service Account for Discovery Client",
});
var default2 = new Gcp.ServiceAccount.Account("default_2", new()
{
AccountId = "sa-test-two",
DisplayName = "Second Service Account for Discovery Client",
});
var defaultDiscoveryClient = new Gcp.MigrationCenter.DiscoveryClient("default", new()
{
Location = "us-central1",
DiscoveryClientId = "discovery-client-test",
Source = @default.Id,
ServiceAccount = defaultAccount.Email,
DisplayName = "Terraform integration test display",
Description = "Terraform integration test description",
Ttl = "86400s",
Labels =
{
{ "my_key", "value" },
{ "second_key", "second_value" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.migrationcenter.Source;
import com.pulumi.gcp.migrationcenter.SourceArgs;
import com.pulumi.gcp.serviceaccount.Account;
import com.pulumi.gcp.serviceaccount.AccountArgs;
import com.pulumi.gcp.migrationcenter.DiscoveryClient;
import com.pulumi.gcp.migrationcenter.DiscoveryClientArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new Source("default", SourceArgs.builder()
.location("us-central1")
.sourceId("source-test")
.type("SOURCE_TYPE_DISCOVERY_CLIENT")
.build());
var defaultAccount = new Account("defaultAccount", AccountArgs.builder()
.accountId("sa-test")
.displayName("Service Account for Discovery Client")
.build());
var default2 = new Account("default2", AccountArgs.builder()
.accountId("sa-test-two")
.displayName("Second Service Account for Discovery Client")
.build());
var defaultDiscoveryClient = new DiscoveryClient("defaultDiscoveryClient", DiscoveryClientArgs.builder()
.location("us-central1")
.discoveryClientId("discovery-client-test")
.source(default_.id())
.serviceAccount(defaultAccount.email())
.displayName("Terraform integration test display")
.description("Terraform integration test description")
.ttl("86400s")
.labels(Map.ofEntries(
Map.entry("my_key", "value"),
Map.entry("second_key", "second_value")
))
.build());
}
}
resources:
default:
type: gcp:migrationcenter:Source
properties:
location: us-central1
sourceId: source-test
type: SOURCE_TYPE_DISCOVERY_CLIENT
defaultAccount:
type: gcp:serviceaccount:Account
name: default
properties:
accountId: sa-test
displayName: Service Account for Discovery Client
default2:
type: gcp:serviceaccount:Account
name: default_2
properties:
accountId: sa-test-two
displayName: Second Service Account for Discovery Client
defaultDiscoveryClient:
type: gcp:migrationcenter:DiscoveryClient
name: default
properties:
location: us-central1
discoveryClientId: discovery-client-test
source: ${default.id}
serviceAccount: ${defaultAccount.email}
displayName: Terraform integration test display
description: Terraform integration test description
ttl: 86400s
labels:
my_key: value
second_key: second_value
pulumi {
required_providers {
gcp = {
source = "pulumi/gcp"
}
}
}
resource "gcp_migrationcenter_source" "default" {
location = "us-central1"
source_id = "source-test"
type = "SOURCE_TYPE_DISCOVERY_CLIENT"
}
resource "gcp_serviceaccount_account" "default" {
account_id = "sa-test"
display_name = "Service Account for Discovery Client"
}
resource "gcp_serviceaccount_account" "default_2" {
account_id = "sa-test-two"
display_name = "Second Service Account for Discovery Client"
}
resource "gcp_migrationcenter_discoveryclient" "default" {
location = "us-central1"
discovery_client_id = "discovery-client-test"
source = gcp_migrationcenter_source.default.id
service_account = gcp_serviceaccount_account.default.email
display_name = "Terraform integration test display"
description = "Terraform integration test description"
ttl = "86400s"
labels = {
"my_key" = "value"
"second_key" = "second_value"
}
}
Create DiscoveryClient Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DiscoveryClient(name: string, args: DiscoveryClientArgs, opts?: CustomResourceOptions);@overload
def DiscoveryClient(resource_name: str,
args: DiscoveryClientArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DiscoveryClient(resource_name: str,
opts: Optional[ResourceOptions] = None,
discovery_client_id: Optional[str] = None,
location: Optional[str] = None,
service_account: Optional[str] = None,
source: Optional[str] = None,
deletion_policy: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
expire_time: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
project: Optional[str] = None,
ttl: Optional[str] = None)func NewDiscoveryClient(ctx *Context, name string, args DiscoveryClientArgs, opts ...ResourceOption) (*DiscoveryClient, error)public DiscoveryClient(string name, DiscoveryClientArgs args, CustomResourceOptions? opts = null)
public DiscoveryClient(String name, DiscoveryClientArgs args)
public DiscoveryClient(String name, DiscoveryClientArgs args, CustomResourceOptions options)
type: gcp:migrationcenter:DiscoveryClient
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "gcp_migrationcenter_discoveryclient" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args DiscoveryClientArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DiscoveryClientArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DiscoveryClientArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DiscoveryClientArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DiscoveryClientArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var discoveryClientResource = new Gcp.MigrationCenter.DiscoveryClient("discoveryClientResource", new()
{
DiscoveryClientId = "string",
Location = "string",
ServiceAccount = "string",
Source = "string",
DeletionPolicy = "string",
Description = "string",
DisplayName = "string",
ExpireTime = "string",
Labels =
{
{ "string", "string" },
},
Project = "string",
Ttl = "string",
});
example, err := migrationcenter.NewDiscoveryClient(ctx, "discoveryClientResource", &migrationcenter.DiscoveryClientArgs{
DiscoveryClientId: pulumi.String("string"),
Location: pulumi.String("string"),
ServiceAccount: pulumi.String("string"),
Source: pulumi.String("string"),
DeletionPolicy: pulumi.String("string"),
Description: pulumi.String("string"),
DisplayName: pulumi.String("string"),
ExpireTime: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Project: pulumi.String("string"),
Ttl: pulumi.String("string"),
})
resource "gcp_migrationcenter_discoveryclient" "discoveryClientResource" {
discovery_client_id = "string"
location = "string"
service_account = "string"
source = "string"
deletion_policy = "string"
description = "string"
display_name = "string"
expire_time = "string"
labels = {
"string" = "string"
}
project = "string"
ttl = "string"
}
var discoveryClientResource = new DiscoveryClient("discoveryClientResource", DiscoveryClientArgs.builder()
.discoveryClientId("string")
.location("string")
.serviceAccount("string")
.source("string")
.deletionPolicy("string")
.description("string")
.displayName("string")
.expireTime("string")
.labels(Map.of("string", "string"))
.project("string")
.ttl("string")
.build());
discovery_client_resource = gcp.migrationcenter.DiscoveryClient("discoveryClientResource",
discovery_client_id="string",
location="string",
service_account="string",
source="string",
deletion_policy="string",
description="string",
display_name="string",
expire_time="string",
labels={
"string": "string",
},
project="string",
ttl="string")
const discoveryClientResource = new gcp.migrationcenter.DiscoveryClient("discoveryClientResource", {
discoveryClientId: "string",
location: "string",
serviceAccount: "string",
source: "string",
deletionPolicy: "string",
description: "string",
displayName: "string",
expireTime: "string",
labels: {
string: "string",
},
project: "string",
ttl: "string",
});
type: gcp:migrationcenter:DiscoveryClient
properties:
deletionPolicy: string
description: string
discoveryClientId: string
displayName: string
expireTime: string
labels:
string: string
location: string
project: string
serviceAccount: string
source: string
ttl: string
DiscoveryClient Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DiscoveryClient resource accepts the following input properties:
- Discovery
Client stringId - User specified ID for the discovery client. It will become the last
component of the discovery client name. The ID must be unique within the
project, is restricted to lower-cased letters and has a maximum length of
63 characters. The ID must match the regular expression:
a-z?. - Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Service
Account string - Service account used by the discovery client for various operation.
- Source string
- Full name of the source object associated with this discovery client.
- Deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- Description string
- Free text description. Maximum length is 1000 characters.
- Display
Name string - Free text display name. Maximum length is 63 characters.
- Expire
Time string - Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
- Labels Dictionary<string, string>
- Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Ttl string
- Input only. Client time-to-live. If specified, the backend will not accept new
frames after this time.
This field is input only. The derived expiration time is provided as
output through the
expireTimefield.
- Discovery
Client stringId - User specified ID for the discovery client. It will become the last
component of the discovery client name. The ID must be unique within the
project, is restricted to lower-cased letters and has a maximum length of
63 characters. The ID must match the regular expression:
a-z?. - Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Service
Account string - Service account used by the discovery client for various operation.
- Source string
- Full name of the source object associated with this discovery client.
- Deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- Description string
- Free text description. Maximum length is 1000 characters.
- Display
Name string - Free text display name. Maximum length is 63 characters.
- Expire
Time string - Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
- Labels map[string]string
- Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Ttl string
- Input only. Client time-to-live. If specified, the backend will not accept new
frames after this time.
This field is input only. The derived expiration time is provided as
output through the
expireTimefield.
- discovery_
client_ stringid - User specified ID for the discovery client. It will become the last
component of the discovery client name. The ID must be unique within the
project, is restricted to lower-cased letters and has a maximum length of
63 characters. The ID must match the regular expression:
a-z?. - location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - service_
account string - Service account used by the discovery client for various operation.
- source string
- Full name of the source object associated with this discovery client.
- deletion_
policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description string
- Free text description. Maximum length is 1000 characters.
- display_
name string - Free text display name. Maximum length is 63 characters.
- expire_
time string - Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
- labels map(string)
- Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource. - project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ttl string
- Input only. Client time-to-live. If specified, the backend will not accept new
frames after this time.
This field is input only. The derived expiration time is provided as
output through the
expireTimefield.
- discovery
Client StringId - User specified ID for the discovery client. It will become the last
component of the discovery client name. The ID must be unique within the
project, is restricted to lower-cased letters and has a maximum length of
63 characters. The ID must match the regular expression:
a-z?. - location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - service
Account String - Service account used by the discovery client for various operation.
- source String
- Full name of the source object associated with this discovery client.
- deletion
Policy String - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description String
- Free text description. Maximum length is 1000 characters.
- display
Name String - Free text display name. Maximum length is 63 characters.
- expire
Time String - Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
- labels Map<String,String>
- Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ttl String
- Input only. Client time-to-live. If specified, the backend will not accept new
frames after this time.
This field is input only. The derived expiration time is provided as
output through the
expireTimefield.
- discovery
Client stringId - User specified ID for the discovery client. It will become the last
component of the discovery client name. The ID must be unique within the
project, is restricted to lower-cased letters and has a maximum length of
63 characters. The ID must match the regular expression:
a-z?. - location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - service
Account string - Service account used by the discovery client for various operation.
- source string
- Full name of the source object associated with this discovery client.
- deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description string
- Free text description. Maximum length is 1000 characters.
- display
Name string - Free text display name. Maximum length is 63 characters.
- expire
Time string - Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
- labels {[key: string]: string}
- Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource. - project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ttl string
- Input only. Client time-to-live. If specified, the backend will not accept new
frames after this time.
This field is input only. The derived expiration time is provided as
output through the
expireTimefield.
- discovery_
client_ strid - User specified ID for the discovery client. It will become the last
component of the discovery client name. The ID must be unique within the
project, is restricted to lower-cased letters and has a maximum length of
63 characters. The ID must match the regular expression:
a-z?. - location str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - service_
account str - Service account used by the discovery client for various operation.
- source str
- Full name of the source object associated with this discovery client.
- deletion_
policy str - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description str
- Free text description. Maximum length is 1000 characters.
- display_
name str - Free text display name. Maximum length is 63 characters.
- expire_
time str - Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
- labels Mapping[str, str]
- Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource. - project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ttl str
- Input only. Client time-to-live. If specified, the backend will not accept new
frames after this time.
This field is input only. The derived expiration time is provided as
output through the
expireTimefield.
- discovery
Client StringId - User specified ID for the discovery client. It will become the last
component of the discovery client name. The ID must be unique within the
project, is restricted to lower-cased letters and has a maximum length of
63 characters. The ID must match the regular expression:
a-z?. - location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - service
Account String - Service account used by the discovery client for various operation.
- source String
- Full name of the source object associated with this discovery client.
- deletion
Policy String - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description String
- Free text description. Maximum length is 1000 characters.
- display
Name String - Free text display name. Maximum length is 63 characters.
- expire
Time String - Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
- labels Map<String>
- Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ttl String
- Input only. Client time-to-live. If specified, the backend will not accept new
frames after this time.
This field is input only. The derived expiration time is provided as
output through the
expireTimefield.
Outputs
All input properties are implicitly available as output properties. Additionally, the DiscoveryClient resource produces the following output properties:
- Create
Time string - Time when the discovery client was first created.
- Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Errors
List<Discovery
Client Error> - Errors affecting client functionality. Structure is documented below.
- Heartbeat
Time string - Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. Full name of this discovery client.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Signals
Endpoint string - This field is intended for internal use.
- State string
- Current state of the discovery client. Possible values: ACTIVE OFFLINE DEGRADED EXPIRED
- Update
Time string - Time when the discovery client was last updated. This value is not updated
by heartbeats, to view the last heartbeat time please refer to the
heartbeatTimefield. - Version string
- Client version, as reported in recent heartbeat.
- Create
Time string - Time when the discovery client was first created.
- Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Errors
[]Discovery
Client Error - Errors affecting client functionality. Structure is documented below.
- Heartbeat
Time string - Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Identifier. Full name of this discovery client.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Signals
Endpoint string - This field is intended for internal use.
- State string
- Current state of the discovery client. Possible values: ACTIVE OFFLINE DEGRADED EXPIRED
- Update
Time string - Time when the discovery client was last updated. This value is not updated
by heartbeats, to view the last heartbeat time please refer to the
heartbeatTimefield. - Version string
- Client version, as reported in recent heartbeat.
- create_
time string - Time when the discovery client was first created.
- effective_
labels map(string) - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- errors list(object)
- Errors affecting client functionality. Structure is documented below.
- heartbeat_
time string - Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Identifier. Full name of this discovery client.
- pulumi_
labels map(string) - The combination of labels configured directly on the resource and default labels configured on the provider.
- signals_
endpoint string - This field is intended for internal use.
- state string
- Current state of the discovery client. Possible values: ACTIVE OFFLINE DEGRADED EXPIRED
- update_
time string - Time when the discovery client was last updated. This value is not updated
by heartbeats, to view the last heartbeat time please refer to the
heartbeatTimefield. - version string
- Client version, as reported in recent heartbeat.
- create
Time String - Time when the discovery client was first created.
- effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- errors
List<Discovery
Client Error> - Errors affecting client functionality. Structure is documented below.
- heartbeat
Time String - Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. Full name of this discovery client.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- signals
Endpoint String - This field is intended for internal use.
- state String
- Current state of the discovery client. Possible values: ACTIVE OFFLINE DEGRADED EXPIRED
- update
Time String - Time when the discovery client was last updated. This value is not updated
by heartbeats, to view the last heartbeat time please refer to the
heartbeatTimefield. - version String
- Client version, as reported in recent heartbeat.
- create
Time string - Time when the discovery client was first created.
- effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- errors
Discovery
Client Error[] - Errors affecting client functionality. Structure is documented below.
- heartbeat
Time string - Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Identifier. Full name of this discovery client.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- signals
Endpoint string - This field is intended for internal use.
- state string
- Current state of the discovery client. Possible values: ACTIVE OFFLINE DEGRADED EXPIRED
- update
Time string - Time when the discovery client was last updated. This value is not updated
by heartbeats, to view the last heartbeat time please refer to the
heartbeatTimefield. - version string
- Client version, as reported in recent heartbeat.
- create_
time str - Time when the discovery client was first created.
- effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- errors
Sequence[Discovery
Client Error] - Errors affecting client functionality. Structure is documented below.
- heartbeat_
time str - Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Identifier. Full name of this discovery client.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- signals_
endpoint str - This field is intended for internal use.
- state str
- Current state of the discovery client. Possible values: ACTIVE OFFLINE DEGRADED EXPIRED
- update_
time str - Time when the discovery client was last updated. This value is not updated
by heartbeats, to view the last heartbeat time please refer to the
heartbeatTimefield. - version str
- Client version, as reported in recent heartbeat.
- create
Time String - Time when the discovery client was first created.
- effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- errors List<Property Map>
- Errors affecting client functionality. Structure is documented below.
- heartbeat
Time String - Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Identifier. Full name of this discovery client.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- signals
Endpoint String - This field is intended for internal use.
- state String
- Current state of the discovery client. Possible values: ACTIVE OFFLINE DEGRADED EXPIRED
- update
Time String - Time when the discovery client was last updated. This value is not updated
by heartbeats, to view the last heartbeat time please refer to the
heartbeatTimefield. - version String
- Client version, as reported in recent heartbeat.
Look up Existing DiscoveryClient Resource
Get an existing DiscoveryClient resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DiscoveryClientState, opts?: CustomResourceOptions): DiscoveryClient@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
deletion_policy: Optional[str] = None,
description: Optional[str] = None,
discovery_client_id: Optional[str] = None,
display_name: Optional[str] = None,
effective_labels: Optional[Mapping[str, str]] = None,
errors: Optional[Sequence[DiscoveryClientErrorArgs]] = None,
expire_time: Optional[str] = None,
heartbeat_time: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
pulumi_labels: Optional[Mapping[str, str]] = None,
service_account: Optional[str] = None,
signals_endpoint: Optional[str] = None,
source: Optional[str] = None,
state: Optional[str] = None,
ttl: Optional[str] = None,
update_time: Optional[str] = None,
version: Optional[str] = None) -> DiscoveryClientfunc GetDiscoveryClient(ctx *Context, name string, id IDInput, state *DiscoveryClientState, opts ...ResourceOption) (*DiscoveryClient, error)public static DiscoveryClient Get(string name, Input<string> id, DiscoveryClientState? state, CustomResourceOptions? opts = null)public static DiscoveryClient get(String name, Output<String> id, DiscoveryClientState state, CustomResourceOptions options)resources: _: type: gcp:migrationcenter:DiscoveryClient get: id: ${id}import {
to = gcp_migrationcenter_discoveryclient.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Create
Time string - Time when the discovery client was first created.
- Deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- Description string
- Free text description. Maximum length is 1000 characters.
- Discovery
Client stringId - User specified ID for the discovery client. It will become the last
component of the discovery client name. The ID must be unique within the
project, is restricted to lower-cased letters and has a maximum length of
63 characters. The ID must match the regular expression:
a-z?. - Display
Name string - Free text display name. Maximum length is 63 characters.
- Effective
Labels Dictionary<string, string> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Errors
List<Discovery
Client Error> - Errors affecting client functionality. Structure is documented below.
- Expire
Time string - Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
- Heartbeat
Time string - Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
- Labels Dictionary<string, string>
- Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource. - Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Name string
- Identifier. Full name of this discovery client.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Pulumi
Labels Dictionary<string, string> - The combination of labels configured directly on the resource and default labels configured on the provider.
- Service
Account string - Service account used by the discovery client for various operation.
- Signals
Endpoint string - This field is intended for internal use.
- Source string
- Full name of the source object associated with this discovery client.
- State string
- Current state of the discovery client. Possible values: ACTIVE OFFLINE DEGRADED EXPIRED
- Ttl string
- Input only. Client time-to-live. If specified, the backend will not accept new
frames after this time.
This field is input only. The derived expiration time is provided as
output through the
expireTimefield. - Update
Time string - Time when the discovery client was last updated. This value is not updated
by heartbeats, to view the last heartbeat time please refer to the
heartbeatTimefield. - Version string
- Client version, as reported in recent heartbeat.
- Create
Time string - Time when the discovery client was first created.
- Deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- Description string
- Free text description. Maximum length is 1000 characters.
- Discovery
Client stringId - User specified ID for the discovery client. It will become the last
component of the discovery client name. The ID must be unique within the
project, is restricted to lower-cased letters and has a maximum length of
63 characters. The ID must match the regular expression:
a-z?. - Display
Name string - Free text display name. Maximum length is 63 characters.
- Effective
Labels map[string]string - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Errors
[]Discovery
Client Error Args - Errors affecting client functionality. Structure is documented below.
- Expire
Time string - Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
- Heartbeat
Time string - Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
- Labels map[string]string
- Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource. - Location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - Name string
- Identifier. Full name of this discovery client.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Pulumi
Labels map[string]string - The combination of labels configured directly on the resource and default labels configured on the provider.
- Service
Account string - Service account used by the discovery client for various operation.
- Signals
Endpoint string - This field is intended for internal use.
- Source string
- Full name of the source object associated with this discovery client.
- State string
- Current state of the discovery client. Possible values: ACTIVE OFFLINE DEGRADED EXPIRED
- Ttl string
- Input only. Client time-to-live. If specified, the backend will not accept new
frames after this time.
This field is input only. The derived expiration time is provided as
output through the
expireTimefield. - Update
Time string - Time when the discovery client was last updated. This value is not updated
by heartbeats, to view the last heartbeat time please refer to the
heartbeatTimefield. - Version string
- Client version, as reported in recent heartbeat.
- create_
time string - Time when the discovery client was first created.
- deletion_
policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description string
- Free text description. Maximum length is 1000 characters.
- discovery_
client_ stringid - User specified ID for the discovery client. It will become the last
component of the discovery client name. The ID must be unique within the
project, is restricted to lower-cased letters and has a maximum length of
63 characters. The ID must match the regular expression:
a-z?. - display_
name string - Free text display name. Maximum length is 63 characters.
- effective_
labels map(string) - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- errors list(object)
- Errors affecting client functionality. Structure is documented below.
- expire_
time string - Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
- heartbeat_
time string - Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
- labels map(string)
- Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource. - location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name string
- Identifier. Full name of this discovery client.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi_
labels map(string) - The combination of labels configured directly on the resource and default labels configured on the provider.
- service_
account string - Service account used by the discovery client for various operation.
- signals_
endpoint string - This field is intended for internal use.
- source string
- Full name of the source object associated with this discovery client.
- state string
- Current state of the discovery client. Possible values: ACTIVE OFFLINE DEGRADED EXPIRED
- ttl string
- Input only. Client time-to-live. If specified, the backend will not accept new
frames after this time.
This field is input only. The derived expiration time is provided as
output through the
expireTimefield. - update_
time string - Time when the discovery client was last updated. This value is not updated
by heartbeats, to view the last heartbeat time please refer to the
heartbeatTimefield. - version string
- Client version, as reported in recent heartbeat.
- create
Time String - Time when the discovery client was first created.
- deletion
Policy String - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description String
- Free text description. Maximum length is 1000 characters.
- discovery
Client StringId - User specified ID for the discovery client. It will become the last
component of the discovery client name. The ID must be unique within the
project, is restricted to lower-cased letters and has a maximum length of
63 characters. The ID must match the regular expression:
a-z?. - display
Name String - Free text display name. Maximum length is 63 characters.
- effective
Labels Map<String,String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- errors
List<Discovery
Client Error> - Errors affecting client functionality. Structure is documented below.
- expire
Time String - Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
- heartbeat
Time String - Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
- labels Map<String,String>
- Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource. - location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name String
- Identifier. Full name of this discovery client.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels Map<String,String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- service
Account String - Service account used by the discovery client for various operation.
- signals
Endpoint String - This field is intended for internal use.
- source String
- Full name of the source object associated with this discovery client.
- state String
- Current state of the discovery client. Possible values: ACTIVE OFFLINE DEGRADED EXPIRED
- ttl String
- Input only. Client time-to-live. If specified, the backend will not accept new
frames after this time.
This field is input only. The derived expiration time is provided as
output through the
expireTimefield. - update
Time String - Time when the discovery client was last updated. This value is not updated
by heartbeats, to view the last heartbeat time please refer to the
heartbeatTimefield. - version String
- Client version, as reported in recent heartbeat.
- create
Time string - Time when the discovery client was first created.
- deletion
Policy string - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description string
- Free text description. Maximum length is 1000 characters.
- discovery
Client stringId - User specified ID for the discovery client. It will become the last
component of the discovery client name. The ID must be unique within the
project, is restricted to lower-cased letters and has a maximum length of
63 characters. The ID must match the regular expression:
a-z?. - display
Name string - Free text display name. Maximum length is 63 characters.
- effective
Labels {[key: string]: string} - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- errors
Discovery
Client Error[] - Errors affecting client functionality. Structure is documented below.
- expire
Time string - Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
- heartbeat
Time string - Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
- labels {[key: string]: string}
- Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource. - location string
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name string
- Identifier. Full name of this discovery client.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels {[key: string]: string} - The combination of labels configured directly on the resource and default labels configured on the provider.
- service
Account string - Service account used by the discovery client for various operation.
- signals
Endpoint string - This field is intended for internal use.
- source string
- Full name of the source object associated with this discovery client.
- state string
- Current state of the discovery client. Possible values: ACTIVE OFFLINE DEGRADED EXPIRED
- ttl string
- Input only. Client time-to-live. If specified, the backend will not accept new
frames after this time.
This field is input only. The derived expiration time is provided as
output through the
expireTimefield. - update
Time string - Time when the discovery client was last updated. This value is not updated
by heartbeats, to view the last heartbeat time please refer to the
heartbeatTimefield. - version string
- Client version, as reported in recent heartbeat.
- create_
time str - Time when the discovery client was first created.
- deletion_
policy str - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description str
- Free text description. Maximum length is 1000 characters.
- discovery_
client_ strid - User specified ID for the discovery client. It will become the last
component of the discovery client name. The ID must be unique within the
project, is restricted to lower-cased letters and has a maximum length of
63 characters. The ID must match the regular expression:
a-z?. - display_
name str - Free text display name. Maximum length is 63 characters.
- effective_
labels Mapping[str, str] - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- errors
Sequence[Discovery
Client Error Args] - Errors affecting client functionality. Structure is documented below.
- expire_
time str - Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
- heartbeat_
time str - Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
- labels Mapping[str, str]
- Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource. - location str
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name str
- Identifier. Full name of this discovery client.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi_
labels Mapping[str, str] - The combination of labels configured directly on the resource and default labels configured on the provider.
- service_
account str - Service account used by the discovery client for various operation.
- signals_
endpoint str - This field is intended for internal use.
- source str
- Full name of the source object associated with this discovery client.
- state str
- Current state of the discovery client. Possible values: ACTIVE OFFLINE DEGRADED EXPIRED
- ttl str
- Input only. Client time-to-live. If specified, the backend will not accept new
frames after this time.
This field is input only. The derived expiration time is provided as
output through the
expireTimefield. - update_
time str - Time when the discovery client was last updated. This value is not updated
by heartbeats, to view the last heartbeat time please refer to the
heartbeatTimefield. - version str
- Client version, as reported in recent heartbeat.
- create
Time String - Time when the discovery client was first created.
- deletion
Policy String - Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
- description String
- Free text description. Maximum length is 1000 characters.
- discovery
Client StringId - User specified ID for the discovery client. It will become the last
component of the discovery client name. The ID must be unique within the
project, is restricted to lower-cased letters and has a maximum length of
63 characters. The ID must match the regular expression:
a-z?. - display
Name String - Free text display name. Maximum length is 63 characters.
- effective
Labels Map<String> - All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- errors List<Property Map>
- Errors affecting client functionality. Structure is documented below.
- expire
Time String - Client expiration time in UTC. If specified, the backend will not accept new frames after this time.
- heartbeat
Time String - Last heartbeat time. Healthy clients are expected to send heartbeats regularly (normally every few minutes).
- labels Map<String>
- Labels as key value pairs.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource. - location String
- Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. - name String
- Identifier. Full name of this discovery client.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi
Labels Map<String> - The combination of labels configured directly on the resource and default labels configured on the provider.
- service
Account String - Service account used by the discovery client for various operation.
- signals
Endpoint String - This field is intended for internal use.
- source String
- Full name of the source object associated with this discovery client.
- state String
- Current state of the discovery client. Possible values: ACTIVE OFFLINE DEGRADED EXPIRED
- ttl String
- Input only. Client time-to-live. If specified, the backend will not accept new
frames after this time.
This field is input only. The derived expiration time is provided as
output through the
expireTimefield. - update
Time String - Time when the discovery client was last updated. This value is not updated
by heartbeats, to view the last heartbeat time please refer to the
heartbeatTimefield. - version String
- Client version, as reported in recent heartbeat.
Supporting Types
DiscoveryClientError, DiscoveryClientErrorArgs
- Code int
- (Output) The status code, which should be an enum value of google.rpc.Code.
- Details
List<Discovery
Client Error Detail> - (Output) A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- Code int
- (Output) The status code, which should be an enum value of google.rpc.Code.
- Details
[]Discovery
Client Error Detail - (Output) A list of messages that carry the error details. There is a common set of message types for APIs to use.
- Message string
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code number
- (Output) The status code, which should be an enum value of google.rpc.Code.
- details list(object)
- (Output) A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message string
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Integer
- (Output) The status code, which should be an enum value of google.rpc.Code.
- details
List<Discovery
Client Error Detail> - (Output) A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code number
- (Output) The status code, which should be an enum value of google.rpc.Code.
- details
Discovery
Client Error Detail[] - (Output) A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message string
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code int
- (Output) The status code, which should be an enum value of google.rpc.Code.
- details
Sequence[Discovery
Client Error Detail] - (Output) A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message str
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
- code Number
- (Output) The status code, which should be an enum value of google.rpc.Code.
- details List<Property Map>
- (Output) A list of messages that carry the error details. There is a common set of message types for APIs to use.
- message String
- (Output) A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
Import
DiscoveryClient can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/discoveryClients/{{discovery_client_id}}{{project}}/{{location}}/{{discovery_client_id}}{{location}}/{{discovery_client_id}}
When using the pulumi import command, DiscoveryClient can be imported using one of the formats above. For example:
$ pulumi import gcp:migrationcenter/discoveryClient:DiscoveryClient default projects/{{project}}/locations/{{location}}/discoveryClients/{{discovery_client_id}}
$ pulumi import gcp:migrationcenter/discoveryClient:DiscoveryClient default {{project}}/{{location}}/{{discovery_client_id}}
$ pulumi import gcp:migrationcenter/discoveryClient:DiscoveryClient default {{location}}/{{discovery_client_id}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.
published on Tuesday, Jun 9, 2026 by Pulumi