ReplicaSetListResource constructor

ReplicaSetListResource(
  1. String name, {
  2. ReplicaSetListAppsV1beta2Args? args,
  3. CustomResourceOptions? options,
})

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

Implementation

ReplicaSetListResource(
  String name, {
  ReplicaSetListAppsV1beta2Args? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'kubernetes:apps/v1beta2:ReplicaSetList',
        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>()); });
}