intersight.SearchSuggestItem
Explore with Pulumi AI
This resource is used to search for objects matching a criteria in the endpoint.
Create SearchSuggestItem Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SearchSuggestItem(name: string, args?: SearchSuggestItemArgs, opts?: CustomResourceOptions);
@overload
def SearchSuggestItem(resource_name: str,
args: Optional[SearchSuggestItemArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def SearchSuggestItem(resource_name: str,
opts: Optional[ResourceOptions] = None,
additional_properties: Optional[str] = None,
search_suggest_item_id: Optional[str] = None)
func NewSearchSuggestItem(ctx *Context, name string, args *SearchSuggestItemArgs, opts ...ResourceOption) (*SearchSuggestItem, error)
public SearchSuggestItem(string name, SearchSuggestItemArgs? args = null, CustomResourceOptions? opts = null)
public SearchSuggestItem(String name, SearchSuggestItemArgs args)
public SearchSuggestItem(String name, SearchSuggestItemArgs args, CustomResourceOptions options)
type: intersight:SearchSuggestItem
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 SearchSuggestItemArgs
- 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 SearchSuggestItemArgs
- 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 SearchSuggestItemArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SearchSuggestItemArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SearchSuggestItemArgs
- 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 searchSuggestItemResource = new Intersight.SearchSuggestItem("searchSuggestItemResource", new()
{
AdditionalProperties = "string",
SearchSuggestItemId = "string",
});
example, err := intersight.NewSearchSuggestItem(ctx, "searchSuggestItemResource", &intersight.SearchSuggestItemArgs{
AdditionalProperties: pulumi.String("string"),
SearchSuggestItemId: pulumi.String("string"),
})
var searchSuggestItemResource = new SearchSuggestItem("searchSuggestItemResource", SearchSuggestItemArgs.builder()
.additionalProperties("string")
.searchSuggestItemId("string")
.build());
search_suggest_item_resource = intersight.SearchSuggestItem("searchSuggestItemResource",
additional_properties="string",
search_suggest_item_id="string")
const searchSuggestItemResource = new intersight.SearchSuggestItem("searchSuggestItemResource", {
additionalProperties: "string",
searchSuggestItemId: "string",
});
type: intersight:SearchSuggestItem
properties:
additionalProperties: string
searchSuggestItemId: string
SearchSuggestItem 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 SearchSuggestItem resource accepts the following input properties:
- Additional
Properties string - Search
Suggest stringItem Id
- Additional
Properties string - Search
Suggest stringItem Id
- additional
Properties String - search
Suggest StringItem Id
- additional
Properties string - search
Suggest stringItem Id
- additional
Properties String - search
Suggest StringItem Id
Outputs
All input properties are implicitly available as output properties. Additionally, the SearchSuggestItem resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing SearchSuggestItem Resource
Get an existing SearchSuggestItem 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?: SearchSuggestItemState, opts?: CustomResourceOptions): SearchSuggestItem
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
additional_properties: Optional[str] = None,
search_suggest_item_id: Optional[str] = None) -> SearchSuggestItem
func GetSearchSuggestItem(ctx *Context, name string, id IDInput, state *SearchSuggestItemState, opts ...ResourceOption) (*SearchSuggestItem, error)
public static SearchSuggestItem Get(string name, Input<string> id, SearchSuggestItemState? state, CustomResourceOptions? opts = null)
public static SearchSuggestItem get(String name, Output<String> id, SearchSuggestItemState state, CustomResourceOptions options)
resources: _: type: intersight:SearchSuggestItem 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.
- Additional
Properties string - Search
Suggest stringItem Id
- Additional
Properties string - Search
Suggest stringItem Id
- additional
Properties String - search
Suggest StringItem Id
- additional
Properties string - search
Suggest stringItem Id
- additional
Properties String - search
Suggest StringItem Id
Import
intersight_search_suggest_item
can be imported using the Moid of the object, e.g.
$ pulumi import intersight:index/searchSuggestItem:SearchSuggestItem example 1234567890987654321abcde
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- intersight ciscodevnet/terraform-provider-intersight
- License
- Notes
- This Pulumi package is based on the
intersight
Terraform Provider.