License constructor
License(
- String name, {
- LicenseArgs? args,
- CustomResourceOptions? options,
Creates a new License.
name The Pulumi resource name.
args Arguments used to configure this License. The set of arguments for License.
options Resource options controlling this resource's behavior.
Implementation
License(
String name, {
LicenseArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:compute/alpha:License',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
chargesUseFee = registerOutput<bool>('chargesUseFee');
creationTimestamp = registerOutput<String>('creationTimestamp');
description = registerOutput<String>('description');
kind = registerOutput<String>('kind');
licenseCode = registerOutput<String>('licenseCode');
this.name = registerOutput<String>('name');
project = registerOutput<String>('project');
requestId = registerOutput<String?>('requestId');
resourceRequirements = registerOutput<LicenseResourceRequirementsResponse>('resourceRequirements', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return LicenseResourceRequirementsResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
selfLink = registerOutput<String>('selfLink');
selfLinkWithId = registerOutput<String>('selfLinkWithId');
transferable = registerOutput<bool>('transferable');
}