Using getSearch
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSearch(args: GetSearchArgs, opts?: InvokeOptions): Promise<GetSearchResult>
function getSearchOutput(args: GetSearchOutputArgs, opts?: InvokeOptions): Output<GetSearchResult>def get_search(attach_title_to_relation: Optional[bool] = None,
exclude_calculated_properties: Optional[bool] = None,
excludes: Optional[Sequence[str]] = None,
includes: Optional[Sequence[str]] = None,
query: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSearchResult
def get_search_output(attach_title_to_relation: Optional[pulumi.Input[bool]] = None,
exclude_calculated_properties: Optional[pulumi.Input[bool]] = None,
excludes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
includes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
query: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSearchResult]func GetSearch(ctx *Context, args *GetSearchArgs, opts ...InvokeOption) (*GetSearchResult, error)
func GetSearchOutput(ctx *Context, args *GetSearchOutputArgs, opts ...InvokeOption) GetSearchResultOutput> Note: This function is named GetSearch in the Go SDK.
public static class GetSearch
{
public static Task<GetSearchResult> InvokeAsync(GetSearchArgs args, InvokeOptions? opts = null)
public static Output<GetSearchResult> Invoke(GetSearchInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSearchResult> getSearch(GetSearchArgs args, InvokeOptions options)
public static Output<GetSearchResult> getSearch(GetSearchArgs args, InvokeOptions options)
fn::invoke:
function: port:index/getSearch:getSearch
arguments:
# arguments dictionaryThe following arguments are supported:
- Query string
- Attach
Title boolTo Relation - Exclude
Calculated boolProperties - Excludes List<string>
- Includes List<string>
- Query string
- Attach
Title boolTo Relation - Exclude
Calculated boolProperties - Excludes []string
- Includes []string
- query String
- attach
Title BooleanTo Relation - exclude
Calculated BooleanProperties - excludes List<String>
- includes List<String>
- query string
- attach
Title booleanTo Relation - exclude
Calculated booleanProperties - excludes string[]
- includes string[]
- query str
- attach_
title_ boolto_ relation - exclude_
calculated_ boolproperties - excludes Sequence[str]
- includes Sequence[str]
- query String
- attach
Title BooleanTo Relation - exclude
Calculated BooleanProperties - excludes List<String>
- includes List<String>
getSearch Result
The following output properties are available:
- Entities
List<port_
labs. Port. Outputs. Get Search Entity> - Id string
- Matching
Blueprints List<string> - Query string
- Attach
Title boolTo Relation - Exclude
Calculated boolProperties - Excludes List<string>
- Includes List<string>
- Entities
[]Get
Search Entity - Id string
- Matching
Blueprints []string - Query string
- Attach
Title boolTo Relation - Exclude
Calculated boolProperties - Excludes []string
- Includes []string
- entities
List<Get
Search Entity> - id String
- matching
Blueprints List<String> - query String
- attach
Title BooleanTo Relation - exclude
Calculated BooleanProperties - excludes List<String>
- includes List<String>
- entities
Get
Search Entity[] - id string
- matching
Blueprints string[] - query string
- attach
Title booleanTo Relation - exclude
Calculated booleanProperties - excludes string[]
- includes string[]
- entities
Sequence[Get
Search Entity] - id str
- matching_
blueprints Sequence[str] - query str
- attach_
title_ boolto_ relation - exclude_
calculated_ boolproperties - excludes Sequence[str]
- includes Sequence[str]
- entities List<Property Map>
- id String
- matching
Blueprints List<String> - query String
- attach
Title BooleanTo Relation - exclude
Calculated BooleanProperties - excludes List<String>
- includes List<String>
Supporting Types
GetSearchEntity
- Blueprint string
- The blueprint identifier the entity relates to
- Created
At string - The creation date of the entity
- Created
By string - The creator of the entity
- Icon string
- The icon of the entity
- Identifier string
- The identifier of the entity
- Properties
port_
labs. Port. Inputs. Get Search Entity Properties - The properties of the entity
- Relations
port_
labs. Port. Inputs. Get Search Entity Relations - The relations of the entity
- Run
Id string - The runID of the action run that created the entity
- Scorecards
Dictionary<string, port_
labs. Port. Inputs. Get Search Entity Scorecards> - The scorecards of the entity
- Teams List<string>
- The teams the entity belongs to
- Title string
- The title of the entity
- Updated
At string - The last update date of the entity
- Updated
By string - The last updater of the entity
- Blueprint string
- The blueprint identifier the entity relates to
- Created
At string - The creation date of the entity
- Created
By string - The creator of the entity
- Icon string
- The icon of the entity
- Identifier string
- The identifier of the entity
- Properties
Get
Search Entity Properties - The properties of the entity
- Relations
Get
Search Entity Relations - The relations of the entity
- Run
Id string - The runID of the action run that created the entity
- Scorecards
map[string]Get
Search Entity Scorecards - The scorecards of the entity
- Teams []string
- The teams the entity belongs to
- Title string
- The title of the entity
- Updated
At string - The last update date of the entity
- Updated
By string - The last updater of the entity
- blueprint String
- The blueprint identifier the entity relates to
- created
At String - The creation date of the entity
- created
By String - The creator of the entity
- icon String
- The icon of the entity
- identifier String
- The identifier of the entity
- properties
Get
Search Entity Properties - The properties of the entity
- relations
Get
Search Entity Relations - The relations of the entity
- run
Id String - The runID of the action run that created the entity
- scorecards
Map<String,Get
Search Entity Scorecards> - The scorecards of the entity
- teams List<String>
- The teams the entity belongs to
- title String
- The title of the entity
- updated
At String - The last update date of the entity
- updated
By String - The last updater of the entity
- blueprint string
- The blueprint identifier the entity relates to
- created
At string - The creation date of the entity
- created
By string - The creator of the entity
- icon string
- The icon of the entity
- identifier string
- The identifier of the entity
- properties
Get
Search Entity Properties - The properties of the entity
- relations
Get
Search Entity Relations - The relations of the entity
- run
Id string - The runID of the action run that created the entity
- scorecards
{[key: string]: Get
Search Entity Scorecards} - The scorecards of the entity
- teams string[]
- The teams the entity belongs to
- title string
- The title of the entity
- updated
At string - The last update date of the entity
- updated
By string - The last updater of the entity
- blueprint str
- The blueprint identifier the entity relates to
- created_
at str - The creation date of the entity
- created_
by str - The creator of the entity
- icon str
- The icon of the entity
- identifier str
- The identifier of the entity
- properties
Get
Search Entity Properties - The properties of the entity
- relations
Get
Search Entity Relations - The relations of the entity
- run_
id str - The runID of the action run that created the entity
- scorecards
Mapping[str, Get
Search Entity Scorecards] - The scorecards of the entity
- teams Sequence[str]
- The teams the entity belongs to
- title str
- The title of the entity
- updated_
at str - The last update date of the entity
- updated_
by str - The last updater of the entity
- blueprint String
- The blueprint identifier the entity relates to
- created
At String - The creation date of the entity
- created
By String - The creator of the entity
- icon String
- The icon of the entity
- identifier String
- The identifier of the entity
- properties Property Map
- The properties of the entity
- relations Property Map
- The relations of the entity
- run
Id String - The runID of the action run that created the entity
- scorecards Map<Property Map>
- The scorecards of the entity
- teams List<String>
- The teams the entity belongs to
- title String
- The title of the entity
- updated
At String - The last update date of the entity
- updated
By String - The last updater of the entity
GetSearchEntityProperties
- Array
Props port_labs. Port. Inputs. Get Search Entity Properties Array Props - The array properties of the entity
- Boolean
Props Dictionary<string, bool> - The bool properties of the entity
- Number
Props Dictionary<string, double> - The number properties of the entity
- Object
Props Dictionary<string, string> - The object properties of the entity
- String
Props Dictionary<string, string> - The string properties of the entity
- Array
Props GetSearch Entity Properties Array Props - The array properties of the entity
- Boolean
Props map[string]bool - The bool properties of the entity
- Number
Props map[string]float64 - The number properties of the entity
- Object
Props map[string]string - The object properties of the entity
- String
Props map[string]string - The string properties of the entity
- array
Props GetSearch Entity Properties Array Props - The array properties of the entity
- boolean
Props Map<String,Boolean> - The bool properties of the entity
- number
Props Map<String,Double> - The number properties of the entity
- object
Props Map<String,String> - The object properties of the entity
- string
Props Map<String,String> - The string properties of the entity
- array
Props GetSearch Entity Properties Array Props - The array properties of the entity
- boolean
Props {[key: string]: boolean} - The bool properties of the entity
- number
Props {[key: string]: number} - The number properties of the entity
- object
Props {[key: string]: string} - The object properties of the entity
- string
Props {[key: string]: string} - The string properties of the entity
- array_
props GetSearch Entity Properties Array Props - The array properties of the entity
- boolean_
props Mapping[str, bool] - The bool properties of the entity
- number_
props Mapping[str, float] - The number properties of the entity
- object_
props Mapping[str, str] - The object properties of the entity
- string_
props Mapping[str, str] - The string properties of the entity
- array
Props Property Map - The array properties of the entity
- boolean
Props Map<Boolean> - The bool properties of the entity
- number
Props Map<Number> - The number properties of the entity
- object
Props Map<String> - The object properties of the entity
- string
Props Map<String> - The string properties of the entity
GetSearchEntityPropertiesArrayProps
- Boolean
Items Dictionary<string, ImmutableArray<bool>> - Number
Items Dictionary<string, ImmutableArray<double>> - Object
Items Dictionary<string, ImmutableArray<string>> - String
Items Dictionary<string, ImmutableArray<string>>
- Boolean
Items map[string][]bool - Number
Items map[string][]float64 - Object
Items map[string][]string - String
Items map[string][]string
- boolean
Items Map<String,List<Boolean>> - number
Items Map<String,List<Double>> - object
Items Map<String,List<String>> - string
Items Map<String,List<String>>
- boolean
Items {[key: string]: boolean[]} - number
Items {[key: string]: number[]} - object
Items {[key: string]: string[]} - string
Items {[key: string]: string[]}
- boolean_
items Mapping[str, Sequence[bool]] - number_
items Mapping[str, Sequence[float]] - object_
items Mapping[str, Sequence[str]] - string_
items Mapping[str, Sequence[str]]
- boolean
Items Map<List<Boolean>> - number
Items Map<List<Number>> - object
Items Map<List<String>> - string
Items Map<List<String>>
GetSearchEntityRelations
- Many
Relations Dictionary<string, ImmutableArray<string>> - The many relation of the entity
- Single
Relations Dictionary<string, string> - The single relation of the entity
- Many
Relations map[string][]string - The many relation of the entity
- Single
Relations map[string]string - The single relation of the entity
- many
Relations Map<String,List<String>> - The many relation of the entity
- single
Relations Map<String,String> - The single relation of the entity
- many
Relations {[key: string]: string[]} - The many relation of the entity
- single
Relations {[key: string]: string} - The single relation of the entity
- many_
relations Mapping[str, Sequence[str]] - The many relation of the entity
- single_
relations Mapping[str, str] - The single relation of the entity
- many
Relations Map<List<String>> - The many relation of the entity
- single
Relations Map<String> - The single relation of the entity
GetSearchEntityScorecards
- level String
- rules List<Property Map>
GetSearchEntityScorecardsRule
- Identifier string
- Level string
- Status string
- Identifier string
- Level string
- Status string
- identifier String
- level String
- status String
- identifier string
- level string
- status string
- identifier str
- level str
- status str
- identifier String
- level String
- status String
Package Details
- Repository
- port port-labs/pulumi-port
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
port-labsTerraform Provider.
