ServiceAccountPatchCoreV1 constructor

ServiceAccountPatchCoreV1(
  1. String name, {
  2. ServiceAccountPatchArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

ServiceAccountPatchCoreV1(
  String name, {
  ServiceAccountPatchArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'kubernetes:core/v1:ServiceAccountPatch',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  apiVersion = registerOutput<String?>('apiVersion');
  automountServiceAccountToken = registerOutput<bool?>('automountServiceAccountToken');
  imagePullSecrets = registerOutput<List<Map<String, dynamic>>?>('imagePullSecrets');
  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>()); });
  secrets = registerOutput<List<Map<String, dynamic>>?>('secrets');
}