Google Cloud Native is in preview. Google Cloud Classic is fully supported.
published on Wednesday, Nov 29, 2023 by Pulumi
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
published on Wednesday, Nov 29, 2023 by Pulumi
Gets a History. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History does not exist
Using getHistory
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 getHistory(args: GetHistoryArgs, opts?: InvokeOptions): Promise<GetHistoryResult>
function getHistoryOutput(args: GetHistoryOutputArgs, opts?: InvokeOptions): Output<GetHistoryResult>def get_history(history_id: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHistoryResult
def get_history_output(history_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHistoryResult]func LookupHistory(ctx *Context, args *LookupHistoryArgs, opts ...InvokeOption) (*LookupHistoryResult, error)
func LookupHistoryOutput(ctx *Context, args *LookupHistoryOutputArgs, opts ...InvokeOption) LookupHistoryResultOutput> Note: This function is named LookupHistory in the Go SDK.
public static class GetHistory
{
public static Task<GetHistoryResult> InvokeAsync(GetHistoryArgs args, InvokeOptions? opts = null)
public static Output<GetHistoryResult> Invoke(GetHistoryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetHistoryResult> getHistory(GetHistoryArgs args, InvokeOptions options)
public static Output<GetHistoryResult> getHistory(GetHistoryArgs args, InvokeOptions options)
fn::invoke:
function: google-native:toolresults/v1beta3:getHistory
arguments:
# arguments dictionaryThe following arguments are supported:
- history_
id str - project str
getHistory Result
The following output properties are available:
- Display
Name string - A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional
- History
Id string - A unique identifier within a project for this History. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create request: never set
- Name string
- A name to uniquely identify a history within a project. Maximum of 200 characters. - In response always set - In create request: always set
- Test
Platform string - The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.
- Display
Name string - A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional
- History
Id string - A unique identifier within a project for this History. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create request: never set
- Name string
- A name to uniquely identify a history within a project. Maximum of 200 characters. - In response always set - In create request: always set
- Test
Platform string - The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.
- display
Name String - A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional
- history
Id String - A unique identifier within a project for this History. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create request: never set
- name String
- A name to uniquely identify a history within a project. Maximum of 200 characters. - In response always set - In create request: always set
- test
Platform String - The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.
- display
Name string - A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional
- history
Id string - A unique identifier within a project for this History. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create request: never set
- name string
- A name to uniquely identify a history within a project. Maximum of 200 characters. - In response always set - In create request: always set
- test
Platform string - The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.
- display_
name str - A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional
- history_
id str - A unique identifier within a project for this History. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create request: never set
- name str
- A name to uniquely identify a history within a project. Maximum of 200 characters. - In response always set - In create request: always set
- test_
platform str - The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.
- display
Name String - A short human-readable (plain text) name to display in the UI. Maximum of 100 characters. - In response: present if set during create. - In create request: optional
- history
Id String - A unique identifier within a project for this History. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create request: never set
- name String
- A name to uniquely identify a history within a project. Maximum of 200 characters. - In response always set - In create request: always set
- test
Platform String - The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
published on Wednesday, Nov 29, 2023 by Pulumi
