LicenseConfig constructor

LicenseConfig(
  1. String name, {
  2. LicenseConfigArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

LicenseConfig(
  String name, {
  LicenseConfigArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:discoveryengine/licenseConfig:LicenseConfig',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
      ) {
  autoRenew = registerOutput<bool?>('autoRenew');
  endDate = registerOutput<LicenseConfigEndDate?>('endDate', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return LicenseConfigEndDate.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  freeTrial = registerOutput<bool?>('freeTrial');
  licenseConfigId = registerOutput<String>('licenseConfigId');
  licenseCount = registerOutput<int>('licenseCount');
  location = registerOutput<String>('location');
  this.name = registerOutput<String>('name');
  project = registerOutput<String>('project');
  startDate = registerOutput<LicenseConfigStartDate>('startDate', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return LicenseConfigStartDate.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  subscriptionTerm = registerOutput<String>('subscriptionTerm');
  subscriptionTier = registerOutput<String>('subscriptionTier');
}