StatefulSetListAppsV1beta2Resource constructor

StatefulSetListAppsV1beta2Resource(
  1. String name, {
  2. StatefulSetListAppsV1beta2Args? args,
  3. CustomResourceOptions? options,
})

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

Implementation

StatefulSetListAppsV1beta2Resource(
  String name, {
  StatefulSetListAppsV1beta2Args? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'kubernetes:apps/v1beta2:StatefulSetList',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  apiVersion = registerOutput<String>('apiVersion');
  items = registerOutput<List<Map<String, dynamic>>>('items');
  kind = registerOutput<String>('kind');
  metadata = registerOutput<ListMeta>('metadata', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ListMeta.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}