ResourceQuotaPatchCoreV1 constructor

ResourceQuotaPatchCoreV1(
  1. String name, {
  2. ResourceQuotaPatchArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

ResourceQuotaPatchCoreV1(
  String name, {
  ResourceQuotaPatchArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'kubernetes:core/v1:ResourceQuotaPatch',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  apiVersion = registerOutput<String?>('apiVersion');
  kind = registerOutput<String?>('kind');
  metadata = registerOutput<ObjectMetaPatch?>('metadata', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ObjectMetaPatch.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  spec = registerOutput<ResourceQuotaSpecPatch?>('spec', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ResourceQuotaSpecPatch.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  status = registerOutput<ResourceQuotaStatusPatch?>('status', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ResourceQuotaStatusPatch.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}