LicenseComputeV1 constructor

LicenseComputeV1(
  1. String name, {
  2. LicenseComputeV1Args? args,
  3. CustomResourceOptions? options,
})

Creates a new LicenseComputeV1. name The Pulumi resource name. args Arguments used to configure this LicenseComputeV1. The set of arguments for License. options Resource options controlling this resource's behavior.

Implementation

LicenseComputeV1(
  String name, {
  LicenseComputeV1Args? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:compute/v1: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<LicenseResourceRequirementsResponseComputeV1>('resourceRequirements', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return LicenseResourceRequirementsResponseComputeV1.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  selfLink = registerOutput<String>('selfLink');
  transferable = registerOutput<bool>('transferable');
}