Google Native

v0.27.0 published on Friday, Oct 21, 2022 by Pulumi

History

Creates a History. The returned History will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing project does not exist Note - this resource’s API doesn’t support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Create History Resource

new History(name: string, args?: HistoryArgs, opts?: CustomResourceOptions);
@overload
def History(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            display_name: Optional[str] = None,
            history_id: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            request_id: Optional[str] = None,
            test_platform: Optional[HistoryTestPlatform] = None)
@overload
def History(resource_name: str,
            args: Optional[HistoryArgs] = None,
            opts: Optional[ResourceOptions] = None)
func NewHistory(ctx *Context, name string, args *HistoryArgs, opts ...ResourceOption) (*History, error)
public History(string name, HistoryArgs? args = null, CustomResourceOptions? opts = null)
public History(String name, HistoryArgs args)
public History(String name, HistoryArgs args, CustomResourceOptions options)
type: google-native:toolresults/v1beta3:History
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args HistoryArgs
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 HistoryArgs
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 HistoryArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args HistoryArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args HistoryArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

History Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The History resource accepts the following input properties:

DisplayName 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

HistoryId 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

Project string
RequestId string

A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.

TestPlatform Pulumi.GoogleNative.ToolResults.V1Beta3.HistoryTestPlatform

The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.

DisplayName 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

HistoryId 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

Project string
RequestId string

A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.

TestPlatform HistoryTestPlatform

The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.

displayName 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

historyId 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

project String
requestId String

A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.

testPlatform HistoryTestPlatform

The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.

displayName 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

historyId 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

project string
requestId string

A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.

testPlatform HistoryTestPlatform

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

project str
request_id str

A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.

test_platform HistoryTestPlatform

The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.

displayName 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

historyId 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

project String
requestId String

A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended.

testPlatform "unknownPlatform" | "android" | "ios"

The platform of the test history. - In response: always set. Returns the platform of the last execution if unknown.

Outputs

All input properties are implicitly available as output properties. Additionally, the History 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.

Supporting Types

HistoryTestPlatform

UnknownPlatform
unknownPlatform
Android
android
Ios
ios
HistoryTestPlatformUnknownPlatform
unknownPlatform
HistoryTestPlatformAndroid
android
HistoryTestPlatformIos
ios
UnknownPlatform
unknownPlatform
Android
android
Ios
ios
UnknownPlatform
unknownPlatform
Android
android
Ios
ios
UNKNOWN_PLATFORM
unknownPlatform
ANDROID
android
IOS
ios
"unknownPlatform"
unknownPlatform
"android"
android
"ios"
ios

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0