Represents a serving config which is a singleton resource under engine. A default serving config is automatically provisioned and deleted with its parent engine.
To get more information about ServingConfig, see:
Create ServingConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServingConfig(name: string, args: ServingConfigArgs, opts?: CustomResourceOptions);@overload
def ServingConfig(resource_name: str,
args: ServingConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServingConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
engine_id: Optional[str] = None,
location: Optional[str] = None,
boost_control_ids: Optional[Sequence[str]] = None,
collection_id: Optional[str] = None,
filter_control_ids: Optional[Sequence[str]] = None,
project: Optional[str] = None,
promote_control_ids: Optional[Sequence[str]] = None,
redirect_control_ids: Optional[Sequence[str]] = None,
serving_config_id: Optional[str] = None,
synonyms_control_ids: Optional[Sequence[str]] = None)func NewServingConfig(ctx *Context, name string, args ServingConfigArgs, opts ...ResourceOption) (*ServingConfig, error)public ServingConfig(string name, ServingConfigArgs args, CustomResourceOptions? opts = null)
public ServingConfig(String name, ServingConfigArgs args)
public ServingConfig(String name, ServingConfigArgs args, CustomResourceOptions options)
type: gcp:discoveryengine:ServingConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ServingConfigArgs
- 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 ServingConfigArgs
- 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 ServingConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServingConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServingConfigArgs
- 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 servingConfigResource = new Gcp.DiscoveryEngine.ServingConfig("servingConfigResource", new()
{
EngineId = "string",
Location = "string",
BoostControlIds = new[]
{
"string",
},
CollectionId = "string",
FilterControlIds = new[]
{
"string",
},
Project = "string",
PromoteControlIds = new[]
{
"string",
},
RedirectControlIds = new[]
{
"string",
},
ServingConfigId = "string",
SynonymsControlIds = new[]
{
"string",
},
});
example, err := discoveryengine.NewServingConfig(ctx, "servingConfigResource", &discoveryengine.ServingConfigArgs{
EngineId: pulumi.String("string"),
Location: pulumi.String("string"),
BoostControlIds: pulumi.StringArray{
pulumi.String("string"),
},
CollectionId: pulumi.String("string"),
FilterControlIds: pulumi.StringArray{
pulumi.String("string"),
},
Project: pulumi.String("string"),
PromoteControlIds: pulumi.StringArray{
pulumi.String("string"),
},
RedirectControlIds: pulumi.StringArray{
pulumi.String("string"),
},
ServingConfigId: pulumi.String("string"),
SynonymsControlIds: pulumi.StringArray{
pulumi.String("string"),
},
})
var servingConfigResource = new ServingConfig("servingConfigResource", ServingConfigArgs.builder()
.engineId("string")
.location("string")
.boostControlIds("string")
.collectionId("string")
.filterControlIds("string")
.project("string")
.promoteControlIds("string")
.redirectControlIds("string")
.servingConfigId("string")
.synonymsControlIds("string")
.build());
serving_config_resource = gcp.discoveryengine.ServingConfig("servingConfigResource",
engine_id="string",
location="string",
boost_control_ids=["string"],
collection_id="string",
filter_control_ids=["string"],
project="string",
promote_control_ids=["string"],
redirect_control_ids=["string"],
serving_config_id="string",
synonyms_control_ids=["string"])
const servingConfigResource = new gcp.discoveryengine.ServingConfig("servingConfigResource", {
engineId: "string",
location: "string",
boostControlIds: ["string"],
collectionId: "string",
filterControlIds: ["string"],
project: "string",
promoteControlIds: ["string"],
redirectControlIds: ["string"],
servingConfigId: "string",
synonymsControlIds: ["string"],
});
type: gcp:discoveryengine:ServingConfig
properties:
boostControlIds:
- string
collectionId: string
engineId: string
filterControlIds:
- string
location: string
project: string
promoteControlIds:
- string
redirectControlIds:
- string
servingConfigId: string
synonymsControlIds:
- string
ServingConfig 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 ServingConfig resource accepts the following input properties:
- Engine
Id string - The ID of the engine associated with the serving config.
- Location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- Boost
Control List<string>Ids - The resource IDs of the boost controls to be applied.
- Collection
Id string - The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
- Filter
Control List<string>Ids - The resource IDs of the filter controls to be applied.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Promote
Control List<string>Ids - The resource IDs of the promote controls to be applied.
- Redirect
Control List<string>Ids - The resource IDs of the redirect controls to be applied.
- Serving
Config stringId - 'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
- Synonyms
Control List<string>Ids - The resource IDs of the synonyms controls to be applied.
- Engine
Id string - The ID of the engine associated with the serving config.
- Location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- Boost
Control []stringIds - The resource IDs of the boost controls to be applied.
- Collection
Id string - The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
- Filter
Control []stringIds - The resource IDs of the filter controls to be applied.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Promote
Control []stringIds - The resource IDs of the promote controls to be applied.
- Redirect
Control []stringIds - The resource IDs of the redirect controls to be applied.
- Serving
Config stringId - 'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
- Synonyms
Control []stringIds - The resource IDs of the synonyms controls to be applied.
- engine
Id String - The ID of the engine associated with the serving config.
- location String
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- boost
Control List<String>Ids - The resource IDs of the boost controls to be applied.
- collection
Id String - The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
- filter
Control List<String>Ids - The resource IDs of the filter controls to be applied.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- promote
Control List<String>Ids - The resource IDs of the promote controls to be applied.
- redirect
Control List<String>Ids - The resource IDs of the redirect controls to be applied.
- serving
Config StringId - 'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
- synonyms
Control List<String>Ids - The resource IDs of the synonyms controls to be applied.
- engine
Id string - The ID of the engine associated with the serving config.
- location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- boost
Control string[]Ids - The resource IDs of the boost controls to be applied.
- collection
Id string - The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
- filter
Control string[]Ids - The resource IDs of the filter controls to be applied.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- promote
Control string[]Ids - The resource IDs of the promote controls to be applied.
- redirect
Control string[]Ids - The resource IDs of the redirect controls to be applied.
- serving
Config stringId - 'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
- synonyms
Control string[]Ids - The resource IDs of the synonyms controls to be applied.
- engine_
id str - The ID of the engine associated with the serving config.
- location str
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- boost_
control_ Sequence[str]ids - The resource IDs of the boost controls to be applied.
- collection_
id str - The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
- filter_
control_ Sequence[str]ids - The resource IDs of the filter controls to be applied.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- promote_
control_ Sequence[str]ids - The resource IDs of the promote controls to be applied.
- redirect_
control_ Sequence[str]ids - The resource IDs of the redirect controls to be applied.
- serving_
config_ strid - 'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
- synonyms_
control_ Sequence[str]ids - The resource IDs of the synonyms controls to be applied.
- engine
Id String - The ID of the engine associated with the serving config.
- location String
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- boost
Control List<String>Ids - The resource IDs of the boost controls to be applied.
- collection
Id String - The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
- filter
Control List<String>Ids - The resource IDs of the filter controls to be applied.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- promote
Control List<String>Ids - The resource IDs of the promote controls to be applied.
- redirect
Control List<String>Ids - The resource IDs of the redirect controls to be applied.
- serving
Config StringId - 'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
- synonyms
Control List<String>Ids - The resource IDs of the synonyms controls to be applied.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServingConfig resource produces the following output properties:
Look up Existing ServingConfig Resource
Get an existing ServingConfig 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?: ServingConfigState, opts?: CustomResourceOptions): ServingConfig@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
boost_control_ids: Optional[Sequence[str]] = None,
collection_id: Optional[str] = None,
engine_id: Optional[str] = None,
filter_control_ids: Optional[Sequence[str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
promote_control_ids: Optional[Sequence[str]] = None,
redirect_control_ids: Optional[Sequence[str]] = None,
serving_config_id: Optional[str] = None,
synonyms_control_ids: Optional[Sequence[str]] = None) -> ServingConfigfunc GetServingConfig(ctx *Context, name string, id IDInput, state *ServingConfigState, opts ...ResourceOption) (*ServingConfig, error)public static ServingConfig Get(string name, Input<string> id, ServingConfigState? state, CustomResourceOptions? opts = null)public static ServingConfig get(String name, Output<String> id, ServingConfigState state, CustomResourceOptions options)resources: _: type: gcp:discoveryengine:ServingConfig get: 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.
- Boost
Control List<string>Ids - The resource IDs of the boost controls to be applied.
- Collection
Id string - The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
- Engine
Id string - The ID of the engine associated with the serving config.
- Filter
Control List<string>Ids - The resource IDs of the filter controls to be applied.
- Location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- Name string
- The unique full resource name of the serving config. Values are of the format
projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Promote
Control List<string>Ids - The resource IDs of the promote controls to be applied.
- Redirect
Control List<string>Ids - The resource IDs of the redirect controls to be applied.
- Serving
Config stringId - 'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
- Synonyms
Control List<string>Ids - The resource IDs of the synonyms controls to be applied.
- Boost
Control []stringIds - The resource IDs of the boost controls to be applied.
- Collection
Id string - The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
- Engine
Id string - The ID of the engine associated with the serving config.
- Filter
Control []stringIds - The resource IDs of the filter controls to be applied.
- Location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- Name string
- The unique full resource name of the serving config. Values are of the format
projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Promote
Control []stringIds - The resource IDs of the promote controls to be applied.
- Redirect
Control []stringIds - The resource IDs of the redirect controls to be applied.
- Serving
Config stringId - 'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
- Synonyms
Control []stringIds - The resource IDs of the synonyms controls to be applied.
- boost
Control List<String>Ids - The resource IDs of the boost controls to be applied.
- collection
Id String - The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
- engine
Id String - The ID of the engine associated with the serving config.
- filter
Control List<String>Ids - The resource IDs of the filter controls to be applied.
- location String
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- name String
- The unique full resource name of the serving config. Values are of the format
projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- promote
Control List<String>Ids - The resource IDs of the promote controls to be applied.
- redirect
Control List<String>Ids - The resource IDs of the redirect controls to be applied.
- serving
Config StringId - 'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
- synonyms
Control List<String>Ids - The resource IDs of the synonyms controls to be applied.
- boost
Control string[]Ids - The resource IDs of the boost controls to be applied.
- collection
Id string - The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
- engine
Id string - The ID of the engine associated with the serving config.
- filter
Control string[]Ids - The resource IDs of the filter controls to be applied.
- location string
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- name string
- The unique full resource name of the serving config. Values are of the format
projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}. - project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- promote
Control string[]Ids - The resource IDs of the promote controls to be applied.
- redirect
Control string[]Ids - The resource IDs of the redirect controls to be applied.
- serving
Config stringId - 'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
- synonyms
Control string[]Ids - The resource IDs of the synonyms controls to be applied.
- boost_
control_ Sequence[str]ids - The resource IDs of the boost controls to be applied.
- collection_
id str - The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
- engine_
id str - The ID of the engine associated with the serving config.
- filter_
control_ Sequence[str]ids - The resource IDs of the filter controls to be applied.
- location str
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- name str
- The unique full resource name of the serving config. Values are of the format
projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}. - project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- promote_
control_ Sequence[str]ids - The resource IDs of the promote controls to be applied.
- redirect_
control_ Sequence[str]ids - The resource IDs of the redirect controls to be applied.
- serving_
config_ strid - 'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
- synonyms_
control_ Sequence[str]ids - The resource IDs of the synonyms controls to be applied.
- boost
Control List<String>Ids - The resource IDs of the boost controls to be applied.
- collection
Id String - The collection ID. Currently only accepts <span pulumi-lang-nodejs=""defaultCollection"" pulumi-lang-dotnet=""DefaultCollection"" pulumi-lang-go=""defaultCollection"" pulumi-lang-python=""default_collection"" pulumi-lang-yaml=""defaultCollection"" pulumi-lang-java=""defaultCollection"">"default_collection".
- engine
Id String - The ID of the engine associated with the serving config.
- filter
Control List<String>Ids - The resource IDs of the filter controls to be applied.
- location String
- The geographic location where the data store should reside. The value can only be one of "global", "us" and "eu".
- name String
- The unique full resource name of the serving config. Values are of the format
projects/{project}/locations/{location}/collections/{collection_id}/engines/{engine_id}/servingConfigs/{serving_config_id}. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- promote
Control List<String>Ids - The resource IDs of the promote controls to be applied.
- redirect
Control List<String>Ids - The resource IDs of the redirect controls to be applied.
- serving
Config StringId - 'The unique ID of the serving config. Currently only accepts <span pulumi-lang-nodejs=""defaultSearch"" pulumi-lang-dotnet=""DefaultSearch"" pulumi-lang-go=""defaultSearch"" pulumi-lang-python=""default_search"" pulumi-lang-yaml=""defaultSearch"" pulumi-lang-java=""defaultSearch"">"default_search".'
- synonyms
Control List<String>Ids - The resource IDs of the synonyms controls to be applied.
Import
ServingConfig can be imported using any of these accepted formats:
projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/engines/{{engine_id}}/servingConfigs/{{serving_config_id}}{{project}}/{{location}}/{{collection_id}}/{{engine_id}}/{{serving_config_id}}{{location}}/{{collection_id}}/{{engine_id}}/{{serving_config_id}}
When using the pulumi import command, ServingConfig can be imported using one of the formats above. For example:
$ pulumi import gcp:discoveryengine/servingConfig:ServingConfig default projects/{{project}}/locations/{{location}}/collections/{{collection_id}}/engines/{{engine_id}}/servingConfigs/{{serving_config_id}}
$ pulumi import gcp:discoveryengine/servingConfig:ServingConfig default {{project}}/{{location}}/{{collection_id}}/{{engine_id}}/{{serving_config_id}}
$ pulumi import gcp:discoveryengine/servingConfig:ServingConfig default {{location}}/{{collection_id}}/{{engine_id}}/{{serving_config_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.
