ApiKeyState class

Input properties used for looking up and filtering ApiKey resources.

Constructors

ApiKeyState({Input<String?>? deletionPolicy, Input<String?>? displayName, Input<String?>? keyString, Input<String?>? name, Input<String?>? project, Input<ApiKeyRestrictions?>? restrictions, Input<String?>? serviceAccountEmail, Input<String?>? uid})
Creates a new ApiKeyState. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". displayName Human-readable display name of this API key. Modifiable by user. keyString Output only. An encrypted and signed value held by this key. This field can be accessed only through the GetKeyString method. name The resource name of the key. The name must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the name must match the regular expression: a-z?. project The project for the resource restrictions Key restrictions. serviceAccountEmail The email of the service account the key is bound to. If this field is specified, the key is a service account bound key and auth enabled. See Documentation for more details. uid Output only. Unique id in UUID4 format.
const
ApiKeyState.fromMap(Map<String, dynamic> map)
factory

Properties

deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
displayName → Input<String?>?
Human-readable display name of this API key. Modifiable by user.
final
hashCode → int
The hash code for this object.
no setterinherited
keyString → Input<String?>?
Output only. An encrypted and signed value held by this key. This field can be accessed only through the GetKeyString method.
final
name → Input<String?>?
The resource name of the key. The name must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. In another word, the name must match the regular expression: a-z?.
final
project → Input<String?>?
The project for the resource
final
restrictions → Input<ApiKeyRestrictions?>?
Key restrictions.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceAccountEmail → Input<String?>?
The email of the service account the key is bound to. If this field is specified, the key is a service account bound key and auth enabled. See Documentation for more details.
final
uid → Input<String?>?
Output only. Unique id in UUID4 format.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited