ImportJob class
Create a new ImportJob within a KeyRing. ImportJob.import_method is required. 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.
Constructors
- ImportJob(String name, {ImportJobArgs? args, CustomResourceOptions? options})
-
Creates a new ImportJob.
nameThe Pulumi resource name.argsArguments used to configure this ImportJob. The set of arguments for ImportJob.optionsResource options controlling this resource's behavior.
Properties
-
attestation
↔ Output<
KeyOperationAttestationResponse> -
Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen ImportMethod is one with a protection level of HSM.
latefinal
-
childResources
→ Set<
Resource> -
finalinherited
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
createTime
↔ Output<
String> -
The time at which this ImportJob was created.
latefinal
-
expireEventTime
↔ Output<
String> -
The time this ImportJob expired. Only present if state is EXPIRED.
latefinal
-
expireTime
↔ Output<
String> -
The time at which this ImportJob is scheduled for expiration and can no longer be used to import key material.
latefinal
-
generateTime
↔ Output<
String> -
The time this ImportJob's key material was generated.
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
↔ Output<
String> -
getter/setter pairinherited
-
importJobId
↔ Output<
String> -
Required. It must be unique within a KeyRing and match the regular expression
[a-zA-Z0-9_-]{1,63}latefinal -
importMethod
↔ Output<
String> -
Immutable. The wrapping method to be used for incoming key material.
latefinal
- isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
keyRingId
↔ Output<
String> -
latefinal
-
location
↔ Output<
String> -
latefinal
-
name
↔ Output<
String> -
The resource name for this ImportJob in the format
projects/*/locations/*/keyRings/*/importJobs/*.latefinal -
project
↔ Output<
String> -
latefinal
-
protectionLevel
↔ Output<
String> -
Immutable. The protection level of the ImportJob. This must match the protection_level of the version_template on the CryptoKey you attempt to import into.
latefinal
-
publicKey
↔ Output<
WrappingPublicKeyResponse> -
The public key with which to wrap key material prior to import. Only returned if state is ACTIVE.
latefinal
-
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
↔ Output<
String> -
The current state of the ImportJob, indicating if it can be used.
latefinal
-
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
urn
↔ Output<
String> -
latefinalinherited
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited